0 Replies Latest reply on Aug 14, 2007 4:44 AM by Raju Koganty

    xs:anyType not being deserialized properly

    Raju Koganty Newbie

      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.

      Thanks.