Implementing Serializable simply means the class can be serialized 
using Java serialization.  It has nothing to do with Apache SOAP 
serialization.

If you use the nightly build of Apache SOAP, TreeSet will be 
serialized and de-serialized implicitly.  With any other version, you 
will need to write your own serializer (and deserializer).

On 24 Jan 2003 at 11:46, Johannes Fiala wrote:

> 
> 
> Hi there,
> 
> I've added a java.util.TreeSet (available since JDK 1.2) to my 
> classes transferred via SOAP and now I get the following error:
> 
> Generated fault: [Attributes={}] [faultCode=SOAP-ENV:Server] 
> [faultString=java.l
> ang.IllegalArgumentException: No Serializer found to serialize a 
> 'java.util.Tree
> Set' using encoding style 
> 'http://schemas.xmlsoap.org/soap/encoding/'.] [faultAc
> torURI=/Signon/servlet/rpcrouter]
> 
> java.util.TreeSet implements Serializable, so there should be no 
> problem, but there is one!
> 
> How can I update the serializers of Apache SOAP to support 
> java.util.TreeSet?
> 
> thx alot
> johannes


Scott Nichol


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to