Hi,
I have developed a client for an web service.
I try to call methods of the service it gives me the following error on method
The error message is:
org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
<b>
Java Code:</b>
Object xe = call.invoke( new Object [] {confrimationNumber});
<b>Some part of my WSDL file</b>
<element name="getAppointmentsByConfirmation">
<complexType>
<sequence>
<element name="confirmationNumber" type="xsd:string"/>
</sequence>
</complexType>
</element>
<element name="getAppointmentsByConfirmationResponse">
<complexType>
<sequence>
<element name="getAppointmentsByConfirmationReturn" type="tns1:XmlElement"/>
</sequence>
</complexType>
</element>
<wsdl:message name="getAppointmentsByConfirmationRequest">
<wsdl
art element="tns1:getAppointmentsByConfirmation" name="parameters"/>
</wsdl:message>
<wsdl:message name="getAppointmentsByConfirmationResponse">
<wsdl
art element="tns1:getAppointmentsByConfirmationResponse" name="parameters"/>
</wsdl:message>
<wsdl
peration name="getAppointmentsByConfirmation">
<wsdl:input message="impl:getAppointmentsByConfirmationRequest" name="getAppointmentsByConfirmationRequest"/>
<wsdl
utput message="impl:getAppointmentsByConfirmationResponse" name="getAppointmentsByConfirmationResponse"/>
</wsdl
peration>
I have checked with TCPMon that I am recieving the correct response.
Does anyone know what is wrong?
Please help. Many thanks in advance
Bikramjit