axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Atanacio Reyes <arey...@yahoo.com>
Subject Known exception
Date Sat, 08 Apr 2006 18:04:43 GMT
Hi.

I'm trying to deploy the calculator example, and on 
client side, I have the next error.

Exception: Cannot deserialize the requested element.

the request soap message is:

POST /axis/calculator HTTP/1.1
Host: localhost:80
Content-Type: text/xml; charset=UTF-8
SOAPAction: "Calculator#add"
Content-Length: 405


<?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:add
xmlns:ns1="http://localhost/axis/Calculator">
                        <in0
xsi:type="xsd:int">20</in0>
                        <in1
xsi:type="xsd:int">20</in1>
                </ns1:add>
        </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

And the response from simple_axis_server is:

HTTP/1.1 200 OK
Server: Apache Axis C++/1.6.a
Connection: close
Content-Length: 345
Content-Type: text/xml

<?xml version='1.0' encoding='utf-8' ?>
<SOAP-ENV:Envelope>
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Unknown exception</faultstring>
<faultactor>areyes:80</faultactor>
<detail><appSpecific>Unknown Exception has
occurred</appSpecific>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message