I'm getting the below exception while accessing a restful web service
[SOAPException: faultCode=SOAP-ENV:Client; msg=No Serializer found to serialize a 'org.apache.soap.rpc.Parameter' using encoding style 'http://schemas.xmlsoap.org/soap/envelope/'.; targetException=java.lang.IllegalArgumentException: No Serializer found to serialize a 'org.apache.soap.rpc.Parameter' using encoding style 'http://schemas.xmlsoap.org/soap/envelope/'.]
When a client attempts to invoke a SOAP method which returns a complex type (for example, JavaBean), and WebSphere attempts to serialize the complex return type as part of the output of a SOAP call, this error occurs: java.lang.IllegalArgumentException: No Serializer found to serialize a ''org.apache.soap.rpc.Parameter'' using encoding style ''null''. ....
This is a bug in the soap.jar 2.2 code shipped with WebSphere Application Server zOS v4.01. The bug has been fixed and shipped in both soap.jar 2.3, as well as workstation ...
I hope it helps.
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Joined: Jul 09, 2001
One question - do you really need a complexType for the resetPACKETCABLEDevice and resetPACKETCABLEDeviceResponse strings?
Joined: Aug 08, 2008
Thank you Dan.
I have not used a complex type here. Argument as well as the return type are String. I tried axis2 client as well as jaxrpc client to access the web service. Used the latest version of soap jar. Also the service provides both rest as well as normal url's to access the service. I tried both url's and failed