What data types are SOAP serializable?
xmail123_at_yahoo.com
Date: 06/18/04
- Next message: Zihong Lu: ".net client + Axis 1.1 server + wrapped param: null result"
- Previous message: Adam J. Schaff: "webservice consumer error 405: Method Not Allowed"
- Next in thread: Dino Chiesa [Microsoft]: "Re: What data types are SOAP serializable?"
- Reply: Dino Chiesa [Microsoft]: "Re: What data types are SOAP serializable?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 18 Jun 2004 00:17:44 GMT
Hi,
As was pointed out whatever you return from a WebMethod needs to be
serializable to SOAP. An ArrayList is not serializable. I will be
needing to return other data types from web methods. Is there a
document, or can some one list those types that are not serializable
and the syntax for converting them?
Thanks
>Whatever you return from a WebMethod needs to be serializable to SOAP. The
>type ArrayList is not serializable to SOAP so it gets converted to an array
>of objects (object[]) which is SOAP serializable (provided the objects in
>the array are SOAP serializable).
>
>> 2. What do I need to do to get an ArrayList on the receiving side? I
>> need to be able to resize the array. An Array can't be resized, the
>> ArrayList can.
>
>ArrayList al = new ArrayList(WSR.ReadHistory(ItemPK));
>
>Regards,
>Sami
- Next message: Zihong Lu: ".net client + Axis 1.1 server + wrapped param: null result"
- Previous message: Adam J. Schaff: "webservice consumer error 405: Method Not Allowed"
- Next in thread: Dino Chiesa [Microsoft]: "Re: What data types are SOAP serializable?"
- Reply: Dino Chiesa [Microsoft]: "Re: What data types are SOAP serializable?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|