WSWS3084E: SimpleDeserializer

Discussion in 'XML' started by ocean2005@hotmail.it, Nov 18, 2005.

  1. Guest

    Hello, I'am trying to generate a SOAP call from a wsdl file but I
    receive this error message:

    org.xml.sax.SAXException: WSWS3084E: Error: SimpleDeserializer
    encountered a child element, which is NOT expected, in something it was
    trying to deserialize. To see the message containing the parsing error
    in the log, either enable web service engine tracing or set
    MessageContext.setHighFidelity(true).

    Follow my code:

    SOAP CALL:

    <SOAP-ENV:Envelope
    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:si="http://soapinterop.org/xsd"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <ns1:getTemperature
    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:ns1="http://testuri.org">
    <Request>
    <Requester xsi:type="xsd:string">Appl</Requester>
    <RequesterData xsi:type="xsd:string">Appl</RequesterData>
    <Data xsi:type="xsd:string">AAA</Data>
    <Applications>
    <appl xsi:type="xsd:string"/>
    <appl xsi:type="xsd:string"/>
    <appl xsi:type="xsd:string"/>
    </Applications>
    </Request>
    </ns1:getTemperature>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>


    WSDL:

    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://test.com"
    xmlns:impl="http://test.com" xmlns:intf="http://test.com"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <wsdl:types>
    <schema elementFormDefault="qualified"
    targetNamespace="http://test.com"
    xmlns="http://www.w3.org/2001/XMLSchema" xmlns:impl="http://test.com"
    xmlns:intf="http://test.com"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <element name="getTemperature">
    <complexType>
    <sequence>
    <element name="xmlRequest" nillable="true" type="xsd:string"/>
    </sequence>
    </complexType>
    </element>
    <element name="getTemperatureResponse">
    <complexType>
    <sequence>
    <element name="getTemperatureReturn" nillable="true"
    type="xsd:string"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    </wsdl:types>

    <wsdl:message name="getTemperatureRequest">
    <wsdl:part element="intf:getTemperature" name="parameters"/>
    </wsdl:message>

    <wsdl:message name="getTemperatureResponse">
    <wsdl:part element="intf:getTemperatureResponse"
    name="parameters"/>
    </wsdl:message>

    <wsdl:portType name="WS">
    <wsdl:eek:peration name="getTemperature">
    <wsdl:input message="intf:getTemperatureRequest"
    name="getTemperatureRequest"/>
    <wsdl:eek:utput message="intf:getTemperatureResponse"
    name="getTemperatureResponse"/>
    </wsdl:eek:peration>
    </wsdl:portType>

    <wsdl:binding name="WSSoapBinding" type="intf:WS">
    <wsdlsoap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:eek:peration name="getTemperature">
    <wsdlsoap:eek:peration soapAction=""/>
    <wsdl:input name="getTemperatureRequest">
    <wsdlsoap:body use="literal"/>
    </wsdl:input>
    <wsdl:eek:utput name="getTemperatureResponse">
    <wsdlsoap:body use="literal"/>
    </wsdl:eek:utput>
    </wsdl:eek:peration>
    </wsdl:binding>

    <wsdl:service name="WSService">
    <wsdl:port binding="intf:WSSoapBinding" name="WS">
    <wsdlsoap:address
    location="http://localhost:9080/WebServices/services/WS"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    , Nov 18, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JayC
    Replies:
    1
    Views:
    8,331
    hbetts3
    Jan 5, 2005
  2. Replies:
    0
    Views:
    1,578
Loading...

Share This Page