[ https://issues.apache.org/jira/browse/AXISCPP-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551561 ]
Michael Chen commented on AXISCPP-1035: --------------------------------------- Hi, I found the problem. My client stub was generated way back using 1.6b in which the catch block of each rpc call has not yet use the OtherFaultException. After regenerating the stub, the server exception is caught by outer layer. Please close this issue. Thanks. > Foreign soap server replying HTTP 500 masked by misleading Axis error > --------------------------------------------------------------------- > > Key: AXISCPP-1035 > URL: https://issues.apache.org/jira/browse/AXISCPP-1035 > Project: Axis-C++ > Issue Type: Bug > Components: Transport (axis3) > Affects Versions: 1.6 Final > Environment: Linux (Intel x86) > Reporter: Michael Chen > Assignee: nadir amra > > Axis-CPP 1.6 revision 565851 (trunk as of 08/14/2007): > If a foreign (not Axis) Soap server reply "HTTP 500 Internal server error" > with a proper soap envelop containing the SoapFault, Axis throws a misleading > exception: > AxisSoapException: Cannot deserialize the requested element. > Granted that this foreign server sent back a reply that does not match its > WSDL. However, Axis should not discard the perfectly legitimate SoapFault > message. > The full gdb print out of the HTTP reply from this Soap server (Cisco Call > Manager 6.01) was: > Breakpoint 2, HTTPTransport::readHTTPHeader (this=0x8edfd18) > at /u1/opt/axis-c-trunk/src/transport/axis3/HTTPTransport.cpp:1687 > 1687 if ( m_iResponseHTTPStatusCode != 500 > (gdb) print m_iResponseHTTPStatusCode > $1 = 500 > (gdb) x/6s m_pszRxBuffer > 0x8edfe38: "HTTP/1.1 500 Internal Server Error\r\nServer: > Apache-Coyote/1.1\r\nSet-Cookie: > JSESSIONIDSSO=85CA147A8921D3ABF00646668D4781D9; Path=/\r\nSet-Cookie: > JSESSIONID=8F1F8C66A6208A5638619BF9D6EDE3EC; Path=/CDRonD"... > 0x8edff00: "emandService; Secure\r\nSet-Cookie: > SoapSession.id=-6903603027968102754\r\nContent-Type: > text/xml;charset=utf-8\r\nTransfer-Encoding: chunked\r\nDate: Sat, 14 Apr > 2007 03:26:25 GMT\r\nConnection: close\r\n\r\n217\r\n"... > 0x8edffc8: "<?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/XMLSche"... > 0x8ee0090: > "ma-instance\"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>java.rmi.RemoteException: > No file found within the specified time range</faultstring><detail><"... > 0x8ee0158: "ns1:hostname > xmlns:ns1=\"http://xml.apache.org/axis/\">TSC-CCM1</ns1:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>\r\n" > 0x8ee01e2: "" -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]