|
Hi Folks,
I'm trying to have a soap client call a message type service (running in an AXIS 1.0 server). I receive the following exception:
javax.servlet.ServletException: No Deserializer found to deserialize a ':RETURN' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'. at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471) ...
Using TCPMon here are the messages:
REQUEST: POST /axis/services/MessageService HTTP/1.0 Host: myhost Content-Type: text/xml; charset=utf-8 Content-Length: 407 SOAPAction: "" <?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"> <SOAP-ENV:Body> <ns1:getEmployeeDetailList xmlns:ns1="http://myhost.com:7001/axis/services/MessageService"> </ns1:getEmployeeDetailList> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
RESPONSE: HTTP/1.0 200 OK Date: Wed, 30 Oct 2002 13:16:36 GMT Server: WebLogic WebLogic Server 7.0 SP1 Mon Sep 9 22:46:58 PDT 2002 206753 Content-Type: text/xml; charset=utf-8 Connection: Close <?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><RESPONSE><RETURN><TYPE></TYPE><ID></ID><NUMBER>000</NUMBER><MESSAGE></MESSAGE><LOG_NO></LOG_NO><LOG_MSG_NO>000000</LOG_MSG_NO><MESSAGE_V1></MESSAGE_V1><MESSAGE_V2></MESSAGE_V2><MESSAGE_V3></MESSAGE_V3><MESSAGE_V4></MESSAGE_V4></RETURN><ADDRESS><item><EMPLOYEENO>00000005</EMPLOYEENO><SUBTYPE>1</SUBTYPE><OBJECTID></OBJECTID><LOCKINDIC></LOCKINDIC><VALIDEND>Fri Dec 31 00:00:00 MST 9999</VALIDEND><VALIDBEGIN>Wed May 23 00:00:00 MDT 2001</VALIDBEGIN><RECORDNR>000</RECORDNR><ADDRESSTYPE>1</ADDRESSTYPE><NAMEOFADDRESSTYPE>Permanent residence</NAMEOFADDRESSTYPE><CONAME>123456</CONAME><STREETANDHOUSENO>55645 Woodshire Blvd.</STREETANDHOUSENO><SCNDADDRESSLINE></SCNDADDRESSLINE><CITY>San Diego</CITY><DISTRICT></DISTRICT><POSTALCODECITY>94564</POSTALCODECITY><STATE>CA</STATE><NAMEOFSTATE>California</NAMEOFSTATE><COUNTRY>US</COUNTRY><NAMEOFCOUNTRY>USA</NAMEOFCOUNTRY><TELEPHONENUMBER>9251111111</TELEPHONENUMBER></item></ADDRESS></RESPONSE> </soapenv:Body> </soapenv:Envelope>
Notice: 1) xsd & xsi versions are different 2) SOAP-ENV vs soapenv I’m not sure if anything here contributes to my error. I’d think that SOAP and AXIS would be interoperable though…
Anyone got a resolution to this?
TIA, Martin
|
