axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Fremantle <pzf...@gmail.com>
Subject [AXIS2] Too little information on fault
Date Mon, 19 Sep 2005 10:30:36 GMT
Folks

If I send an incorrect request to the XMethods (Glue-based) Stock Quote 
service, they send back this response...

<?xml version='1.0' encoding='UTF-8'?>
<soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' 
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='
http://www.w3.org/2001/XMLSchema' xmlns:soapenc='
http://schemas.xmlsoap.org/soap/encoding/' soap:encodingStyle='
http://schemas.xmlsoap.org/soap/encoding/'><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>symbol</faultstring><detail><e:electric-detail
xmlns:e='http://www.themindelectric.com/'><class>
java.lang.NoSuchMethodException</class><message>symbol</message><trace>
java.lang.NoSuchMethodException: symbol
at electric.wsdl.PortType.getOperation(PortType.java:121)
at electric.wsdl.WSDL.getOperation(WSDL.java:169)
// etc
at electric.util.ThreadPool.run(ThreadPool.java:105)
at java.lang.Thread.run(Thread.java:479)
</trace></e:electric-detail></detail></soap:Fault></soap:Body></soap:Envelope>

But all I get in my Java stack trace is:

org.apache.axis2.AxisFault: 
at org.apache.axis2.clientapi.InOutMEPClient.invokeBlocking(
InOutMEPClient.java:191)
at org.apache.axis2.clientapi.Call.invokeBlocking(Call.java:90)
at XMethodsTest.main(XMethodsTest.java:46)

Wouldn't it be useful to have the full SOAP fault information? 

I'll raise a JIRA unless I've got it wrong and there is more info available.

Paul

Mime
View raw message