The current nightly build of Apache SOAP serializes ArrayList automatically.  You 
would need to register a serializer for MyObject.  If it follows the bean pattern, 
just use the BeanSerializer in a mapType call.

If you want to use an earlier version of Apache SOAP, then you must write a serializer 
for ArrayList and call mapType for it as well.

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: "Steve Zhang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 17, 2003 11:18 PM
Subject: do i need to serialize ArrayList


> hello, I'm new to SOAP, I want to pass an ArrayList as a parameter in 
> my SOAP call, it's a ArrayList of MyObject.
>  
> What I need to do is to Create an instance of the OAPMappingRegistry 
> and use the mapTypes stuff in MyObject, is that enough?
>  
> I saw from the docs that Vector is serializable, but it doesn't mention 
> ArrayList, so do I need to do anything extra on ArrayList?
>  
> Thanks a lot !
>  
> Cheng
> 
> 
> ---------------------------------
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard

Reply via email to