You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Nicholas Taylor <Ni...@stilo.com> on 2001/05/01 11:46:14 UTC

Serialization error

I'm getting this error following a "call.invoke(...)":

Error: [SOAPException: faultCode=SOAP-ENV:Client; msg=No Serializer found to
serialize a 'org.apache.soap.rpc.Parameter' using encoding style 'null'.;
targetException=java.lang.IllegalArgumentException: No Serializer found to
serialize a 'org.apache.soap.rpc.Parameter' using encoding style 'null'.]

I'm putting one parameter into the call along the lines of the following:

Vector params = new Vector();
String str = "test";
params.addElement(new Parameter("test", String.class, str, null));
call.setParams(params);
call.invoke(url, "");

I've looked at the sample code and can no difference in that to my code. Can
anyone give me any clues?

BTW i'm using SOAP 2.1

Cheers
Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org