|
Web service "uploadProductAdditionalViewImages" fails with java
exceptions complaing about Unsupported Java type.
org.xml.sax.SAXException: Unsupported Java type:
java.nio.DirectByteBuffer
at
org.apache.xmlrpc.serializer.MapSerializer.writeValue(MapSerializer.jav
a:75)
at
org.apache.xmlrpc.serializer.MapSerializer.writeEntry(MapSerializer.jav
a:67)
at
org.apache.xmlrpc.serializer.MapSerializer.writeData(MapSerializer.java
:84)
at
org.apache.xmlrpc.serializer.MapSerializer.write(MapSerializer.java:91)
at
org.apache.xmlrpc.serializer.XmlRpcWriter.writeValue(XmlRpcWriter.java:
175)
at
org.apache.xmlrpc.serializer.XmlRpcWriter.write(XmlRpcWriter.java:80)
at
org.apache.xmlrpc.client.XmlRpcStreamTransport$ReqWriterImpl.write(XmlR
pcStreamTransport.java:70)
at
org.apache.xmlrpc.client.XmlRpcHttpTransport$ByteArrayReqWriter.<init>(
XmlRpcHttpTransport.java:45)
at
org.apache.xmlrpc.client.XmlRpcHttpTransport.newReqWriter(XmlRpcHttpTra
nsport.java:155)
at
org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStream
Transport.java:150)
at
org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTran
sport.java:143)
at
org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHt
tpTransport.java:69)
at
org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.
java:56)
at
org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167)
at
org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:137)
at
org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:126).
However, web service definition clearly mentions that images are of
java.nio.ByteBuffer type.I have used various available methods to
create ByteBuffer but they allfail to run successfully. Has anyone used
the webservice without these errors?
--
Regards,
Parminder S. Lehal
|