[jboss-user] [JBossWS] - xs:anyType not being deserialized properly

koganty do-not-reply at jboss.com
Tue Aug 14 04:44:16 EDT 2007

I'm using JBossWS 2.0.0 against JBoss 4.0.5 with JDK1.6.

I have Map data structure that is returned as part of call.
It is a map of String to Object...which translated to xs:string to xs:anyType
in the wsdl.

When I retrieve this object through a Web Service call...
the data comes back fine and all the simple types are deserialized properly.
The complex types just show up a ElementNSImpl objects.
I see the SOAP message even comes back properly...with correct xsi:type.

ip<value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ipAddress">CtILDQ==</ns2:executeSyncRequest3Response></env:Body></env:Envelope>

Do I need to do anything specific/customizations for these objects to be deserialized into the right objects?

In the case above, wsdl does contain a mapping for ipAddress but why is it not being converted to one when it is returned as part of this Map.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073873#4073873

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073873

More information about the jboss-user mailing list