473,402 Members | 2,046 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

WSWS3084E: SimpleDeserializer

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:operation name="getTemperature">
<wsdl:input message="intf:getTemperatureRequest"
name="getTemperatureRequest"/>
<wsdl:output message="intf:getTemperatureResponse"
name="getTemperatureResponse"/>
</wsdl:operation>
</wsdl:portType>

<wsdl:binding name="WSSoapBinding" type="intf:WS">
<wsdlsoap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getTemperature">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="getTemperatureRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getTemperatureResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</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 23 '05 #1
0 3206

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Eric Osman | last post by:
If my question sounds ill-formed, please cut me some slack as I'm just getting started with this part of the code. We're trying to do an axis soap interface, that is, talk to a site that already...
2
by: psokulski | last post by:
I have problem with passing parameters for web service. Address for WSDL 'http://www.odfl.com/RateWeb/wsdl/com/odfl/ws/ rateestimate/RateEstimate.wsdl'. Im trying to call calculateRate in wsdl...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.