What data types are SOAP serializable
xmail123_at_yahoo.com
Date: 06/18/04
- Next message: Frank Hileman: "Re: Visual Studio 2003 .. frustrations"
- Previous message: xmail123_at_yahoo.com: "What data types are SOAP serializable?"
- Next in thread: Sahil Malik: "Re: What data types are SOAP serializable"
- Reply: Sahil Malik: "Re: What data types are SOAP serializable"
- Reply: Mickey Williams: "Re: What data types are SOAP serializable"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 18 Jun 2004 00:15:53 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: Frank Hileman: "Re: Visual Studio 2003 .. frustrations"
- Previous message: xmail123_at_yahoo.com: "What data types are SOAP serializable?"
- Next in thread: Sahil Malik: "Re: What data types are SOAP serializable"
- Reply: Sahil Malik: "Re: What data types are SOAP serializable"
- Reply: Mickey Williams: "Re: What data types are SOAP serializable"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|