Actually, the SOAP Fault is getting mapped to the AxisFault exception, but doesn't contain the SOAP Fault contents in AxisFault exception. The AxisFault contains the org.w3c.dom.DOMException. Does it indicate that there is an issue with the below mentioned SOAP response?
Thanks and Regards, // Rahul ________________________________ From: Rahul Kulkarni [mailto:[email protected]] Sent: Thursday, February 19, 2009 5:58 PM To: [email protected] Subject: Why SOAP fault doesn't get mapped to AxisFault? Hi all, I have a G++ gSoap server and JAVA Axis client configuration. When gSoap server raises SOAP fault using soap_receiver_fault function, JAVA Axis client doesn't map it to AxisFault exception. What could be the reason? The versions being used are gSoap-2.7.9 and Axis-1.2.1. The captured gSoap response looks like this: <SOAP-ENV:Envelope <SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Fault> <faultcode>SOAP-ENV:Server</faultcode> <faultstring>1000000</faultstring> <SOAP-ENV:Detail>accept failed in soap_accept()</SOAP-ENV:Detail> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Thanks and Regards, // Rahul "This email and any files transmitted with it contain confidential, proprietary, privileged information of Symphony Services Corp (India) Pvt. Ltd. and are intended solely for the use of the recipient/s to whom it is addressed. Any unauthorized notifying, copying or distributing of this e-mail, directly or indirectly, and the contents therein in full or part is prohibited by any entity who is not a recipient. Any email received inadvertently or by mistake should be deleted by the entity who is not a recipient thereof. You may be pleased to notify the sender immediately by email and the email should be deleted from your system".
