You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by "Trang K. Duong" <du...@nas.nasa.gov> on 2001/05/25 21:02:57 UTC
No Serializer found for Parameter Error
Hi everyone,
I try to write a simple soap client which invokes a service (getTemp) from
xmethods site:
http://xmethods.net/detail.html?id=8
The Parameter is:
Vector params = new Vector();
params.addElement(new Parameter("zipcode", String.class, "94041", null));
call.setParams(params);
But I got the following complain about Parameter needed to be seriabliezed???
SOAP-EXCEPTION ..getFaultCode =
SOAP-ENV:Client
SOAP-EXCEPTION ..getMessage =
No Serializer found to serialize a 'org.apache.soap.rpc.Parameter' using
encoding style 'http://schemas.xmlsoap.org/soap/encoding'.
Please advice. Thank You.
Trang K Duong
duong@nas.nasa.gov
650-604-3989 (P) 650-604-2238 (F)
ELORET - Thermosciences Institute
NASA Ames Research Center
M/S 258-1
Moffett Field, CA 94035-1000
http://www.eloret.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org
Re: No Serializer found for Parameter Error
Posted by "William A. Nagy" <na...@watson.ibm.com>.
>I try to write a simple soap client which invokes a service (getTemp) from
>xmethods site:
> http://xmethods.net/detail.html?id=8
>
>The Parameter is:
> Vector params = new Vector();
> params.addElement(new Parameter("zipcode", String.class, "94041", null));
> call.setParams(params);
>
>But I got the following complain about Parameter needed to be seriabliezed???
>
>SOAP-EXCEPTION ..getFaultCode =
>SOAP-ENV:Client
>SOAP-EXCEPTION ..getMessage =
>No Serializer found to serialize a 'org.apache.soap.rpc.Parameter' using
>encoding style 'http://schemas.xmlsoap.org/soap/encoding'.
You're missing the trailing slash on the encoding style. It should be
'http://schemas.xmlsoap.org/soap/encoding/'.
-Bill
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org
Re: No Serializer found for Parameter Error
Posted by "William A. Nagy" <na...@watson.ibm.com>.
>I try to write a simple soap client which invokes a service (getTemp) from
>xmethods site:
> http://xmethods.net/detail.html?id=8
>
>The Parameter is:
> Vector params = new Vector();
> params.addElement(new Parameter("zipcode", String.class, "94041", null));
> call.setParams(params);
>
>But I got the following complain about Parameter needed to be seriabliezed???
>
>SOAP-EXCEPTION ..getFaultCode =
>SOAP-ENV:Client
>SOAP-EXCEPTION ..getMessage =
>No Serializer found to serialize a 'org.apache.soap.rpc.Parameter' using
>encoding style 'http://schemas.xmlsoap.org/soap/encoding'.
You're missing the trailing slash on the encoding style. It should be
'http://schemas.xmlsoap.org/soap/encoding/'.
-Bill
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org
RE: No Serializer found for Parameter Error
Posted by "Matthew J. Duftler" <du...@watson.ibm.com>.
Hi Trang,
The URI for SOAP-ENC is: http://schemas.xmlsoap.org/soap/encoding/
Note the trailing slash.
Thanks,
-Matt
> -----Original Message-----
> From: Trang K. Duong [mailto:duong@nas.nasa.gov]
> Sent: Friday, May 25, 2001 3:03 PM
> To: soap-user@xml.apache.org
> Subject: No Serializer found for Parameter Error
>
>
> Hi everyone,
>
> I try to write a simple soap client which invokes a service
> (getTemp) from
> xmethods site:
> http://xmethods.net/detail.html?id=8
>
> The Parameter is:
> Vector params = new Vector();
> params.addElement(new Parameter("zipcode", String.class,
> "94041", null));
> call.setParams(params);
>
> But I got the following complain about Parameter needed to be
> seriabliezed???
>
> SOAP-EXCEPTION ..getFaultCode =
> SOAP-ENV:Client
> SOAP-EXCEPTION ..getMessage =
> No Serializer found to serialize a 'org.apache.soap.rpc.Parameter' using
> encoding style 'http://schemas.xmlsoap.org/soap/encoding'.
>
> Please advice. Thank You.
>
>
> Trang K Duong
> duong@nas.nasa.gov
>
>
> 650-604-3989 (P) 650-604-2238 (F)
> ELORET - Thermosciences Institute
> NASA Ames Research Center
> M/S 258-1
> Moffett Field, CA 94035-1000
> http://www.eloret.com/
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org
RE: No Serializer found for Parameter Error
Posted by "Matthew J. Duftler" <du...@watson.ibm.com>.
Hi Trang,
The URI for SOAP-ENC is: http://schemas.xmlsoap.org/soap/encoding/
Note the trailing slash.
Thanks,
-Matt
> -----Original Message-----
> From: Trang K. Duong [mailto:duong@nas.nasa.gov]
> Sent: Friday, May 25, 2001 3:03 PM
> To: soap-user@xml.apache.org
> Subject: No Serializer found for Parameter Error
>
>
> Hi everyone,
>
> I try to write a simple soap client which invokes a service
> (getTemp) from
> xmethods site:
> http://xmethods.net/detail.html?id=8
>
> The Parameter is:
> Vector params = new Vector();
> params.addElement(new Parameter("zipcode", String.class,
> "94041", null));
> call.setParams(params);
>
> But I got the following complain about Parameter needed to be
> seriabliezed???
>
> SOAP-EXCEPTION ..getFaultCode =
> SOAP-ENV:Client
> SOAP-EXCEPTION ..getMessage =
> No Serializer found to serialize a 'org.apache.soap.rpc.Parameter' using
> encoding style 'http://schemas.xmlsoap.org/soap/encoding'.
>
> Please advice. Thank You.
>
>
> Trang K Duong
> duong@nas.nasa.gov
>
>
> 650-604-3989 (P) 650-604-2238 (F)
> ELORET - Thermosciences Institute
> NASA Ames Research Center
> M/S 258-1
> Moffett Field, CA 94035-1000
> http://www.eloret.com/
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org