Bug 3483 - xsd:anyType not serialized correctly
: xsd:anyType not serialized correctly
Status: NEW
: Java WS Core
: 4.0.0
: PC Linux
: P3 normal
: ---
Assigned To:
  Show dependency treegraph
Reported: 2005-06-14 17:12 by
Modified: 2008-03-28 06:18 (History)



You need to log in before you can comment on or make changes to this bug.

Description From 2005-06-14 17:12:45
xsd:anyType elements are sent over the wire as of type

<xsd:complexType name="messageType">
       <xsd:element name="type" type="tns:descriptorType"/>
       <xsd:element name="messageID" type="xsd:string"/>
       <xsd:element name="referenceID" type="xsd:string" nillable="true"/>
       <xsd:element name="payload" type="xsd:anyType" nillable="true"/>

SOAP: (Client sets a java.lang.String object as payload)
<message xmlns="http://www.globus.org/namespaces/2005/06/WSPeer">
    <type xmlns="">CONNECT</type>
    <messageID xmlns="">56E8D9E0-DD16-11D9-B964-D3DC482A8318</messageID>
    <referenceID xsi:nil="true" xmlns=""/>
    <payload xsi:type="ns1:QueryExpressionDialect" xmlns=""
xmlns:ns1="http://www.globus.org/foobar">HELLO WORLD</payload>

This results in an exception:
<faultstring>org.xml.sax.SAXException: No deserializer for

Temporary workaround (gawor@mcs.anl.gov) is to remove the mapping for
QueryExpressionDialect from $GLOBUS_LOCATION/client-config.wsdd. But, this
mapping is used by other services.
------- Comment #1 From 2007-09-12 16:40:42 -------
Reassigning to current wsrf developer to close/fix as appropriate
------- Comment #2 From 2008-03-28 06:18:14 -------
Changing the $GLOBUS_LOCATION/client-config.wsdd did not work for me, but
removing the mapping from
$GLOBUS_LOCATION/etc/globus_wsrf_core/server-config.wsdd did the trick.