axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Mirad <mmi...@gmail.com>
Subject AxisException 72: Cannot deserialize the requested element
Date Tue, 13 Dec 2005 20:41:45 GMT
Hi, I'm trying to get the response from the server but the axis call fail
when invoke this line from the stub generated by the WSDL2Ws tool:

if(AXIS_SUCCESS == m_pCall->checkMessage("Gestor.testResponse",
"http://bsg.com.ar/gestor/wsdl/
")

I'm invoking the "test" method from the WSDL that returns the concatenation
of 2 string receives a method params. Although, I'm tracing the route of
both messages, request and response, and the server is responding.  Here are
the messages.

Request SOAP message :
============================================================
 POST /gestor/services/urn:ServiceRequestHandler HTTP/1.1
Host: 127.0.0.1:1234
Content-Type: text/xml; charset=UTF-8
SOAPAction: "urn:ServiceRequestHandler"
Content-Length: 431

<?xml version='1.0' encoding='utf-8' ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<ns1:test xmlns:ns1="http://bsg.com.ar/gestor/wsdl/">
<param1 xsi:type="xsd:string">param1</param1>
<param2 xsi:type="xsd:string">param2</param2>
</ns1:test>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
============================================================

Response
============================================================
HTTP/1.1 200 OK
Content-Type: text/xml;charset=utf-8
Transfer-Encoding: chunked
Date: Tue, 13 Dec 2005 19:36:29 GMT
Server: Apache-Coyote/1.1

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <ns1:testResponse soapenv:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="
http://bsg.com.ar/gestor/wsdl/">
   <ns1:testReturn xsi:type="xsd:string">param1param2</ns1:testReturn>
  </ns1:testResponse>
 </soapenv:Body>
</soapenv:Envelope>
============================================================

Can anybody help me with this ???

Thanks,

__
Martin Mirad



 <mmirad@gmail.com>

Mime
View raw message