It seems to be a lib from SUN? I'am not sure but take a look at the API
Package org.apache.axis.encoding.ser. There you can see which serializers
for the collection classes are supported. I had not see a se-/deserializer
for set. Supported are HashMap, Vector... 

AXIS only do not need any se-/deserialzer if it's a simple java base type:
String, int , boolean ...... If you are using some Collections classes you
have to define how AXIS must map the from Java==>XML and XML==>Java.

Hope it helps.
Ferruh


-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 28. Juni 2005 22:41
An: [email protected]
Betreff: wsdl2java and java.util.Set

I'm using wsdl2java to generate client-side ws stubs using JDK 1.5.  One 
of my javabeans contains java.util.Set property (needed for Hibernate). 
The generated binding stub class contains the following related code:

qName = new 
javax.xml.namespace.QName("http://java.sun.com/jax-rpc-ri/internal";, "set");
            cachedSerQNames.add(qName);
            cls = com.sun.java.jax_rpc_ri.internal.Set.class;
            cachedSerClasses.add(cls);
            cachedSerFactories.add(beansf);
            cachedDeserFactories.add(beandf);

Problem is, com.sun.java.jax_rpc_ri.internal.* is nowhere to be found. 
Where can I find that package?
I read JAX-RPC documentation, and it states that java.util.Set is a 
supported type. Why the need for this cls at all?

thanks,
-nikita

Reply via email to