Generally, you do not want to use the Parameter type for your parameters.  You instead 
use types that are native to your program.  This includes the simple Java types like 
String, int, etc., some common Java library types, such as Vector, types you define, 
and arrays of all these things.  I cannot think of a case where it is desirable to use 
the Apache Parameter type as a parameter.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.

----- Original Message ----- 
From: "trebor iksrazal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 10, 2003 8:44 AM
Subject: IllegalArgumentException problems with Vector


> I have apache SOAP client and servers working just
> fine with simple java types String, Object and int. I
> can also return Vector from the server to the client. 
> 
> I`m having problems, however, sending a Vector from
> the client to the server. I tried placing String and
> Parameter objects in the Vector, but get the following
> error (with respect to Parameter): 
> 
> 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'.]
> 
> Indeed, I (tried to) set the encoding to various
> apache constants during the java call. 
> 
> Please help, 
> iksrazal
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>

Reply via email to