I'm using AXIS as a client to access a web service implemented with gSoap. If a call fails, the web service returns a SOAP fault message containing an error message in the "detail" part (see below). How can I access that message?
The "detail" part is just a string; there are no further tags. I have browsed through the source code of AXIS and I believe it simply ignored character data within the detail tags. And there only mechanism to plug-in your own handler depends on a tag appearing after the detail tag. Is this correct? Or is there a way to access the detail message? If not, couldn't the SOAPFaultDetailBuilder be enhanced to make the message in the detail part available? <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=http://www.w3.org/2001/XMLSchema xmlns:ns="urn:aaa-bbb-search"> <SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Fault> <faultcode>SOAP-ENV:Server</faultcode> <faultstring>err.073</faultstring> <detail>The name "Victor" was not found.</detail> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Regards, Manuel Bleichenbacher Calanda Technology AG Weinbergstrasse 149 8006 Zurich, Switzerland Tel: +41-1-360 20 52 [EMAIL PROTECTED]
