Hi,
   This is exactly what u need to do along with you need to define the encoding style as "LITERAL" i mean to say while calling the service method which contains this ArrayList u need to specify this
//<code for call>
 Call call = new Call();
 call.setEncodingStyleURI(Constants.NS_URI_LITERAL_XML);
//</code for call>
 
ArrayList is not defined in the list of encoding style of W3C so you need to do this. 
 
Naveen
 
----- Original Message -----
From: Ami Jani
Sent: Friday, November 30, 2001 5:59 PM
To: [EMAIL PROTECTED]
Subject: RE: Serialization Exception
 
Hi there,
        There is no serializer availabe for serializing ArrayList .You
need to implement your own Serializer Bean for this.
        All you have to do is write 2 Java programs : A serializer  and
a deserializer.
        And register your Bean Serializer with SOAPMappingRegistry.
        Hope this helps.
Ami

-----Original Message-----
From: Vinod Soni [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 30, 2001 5:34 PM
To: Soap User
Subject: Serialization Exception


Can anyone help me with the following exception ?

[SOAPException: faultCode=SOAP-ENV:Client; msg=No Serializer found to
serialize a 'java.util.ArrayList' using encoding style
'http://schemas.xmlsoap.org/soap/encoding/'.;
targetException=java.lang.IllegalArgumentException: No Serializer found
to serialize a 'java.util.ArrayList' using encoding style
'http://schemas.xmlsoap.org/soap/encoding/'.]



Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com

Reply via email to