You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Johannes Fiala <so...@fwd.at> on 2003/01/24 11:46:36 UTC

No Serializer for java.util.TreeSet??

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