You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2008/03/12 23:02:46 UTC
[jira] Resolved: (AXIS2-3231) SOAPFault question. Missing
faultString
[ https://issues.apache.org/jira/browse/AXIS2-3231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas resolved AXIS2-3231.
-------------------------------------
Resolution: Cannot Reproduce
> SOAPFault question. Missing faultString
> ---------------------------------------
>
> Key: AXIS2-3231
> URL: https://issues.apache.org/jira/browse/AXIS2-3231
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Affects Versions: 1.2
> Reporter: james chan
>
> When an error is thrown from the server, the following is created right before an AxisFault is thrown:
>
> <soapenv:Fault xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
> <faultcode xmlns:m="http://someuri.org">m:FaultException</faultcode>
> <faultstring>Test my exception</faultstring>
> <detail>Not sure why this is not working<Exception>java.lang.NullPointerException
> ...
> ...
> ...
> </detail>
> </soapenv:Fault>
>
> However, this is what the client sees on the response object via TCPMON:
>
> <soapenv:Body>
> <soapenv:Fault>
> <faultcode xmlns:m="http://someuri.org">soapenv:Client</faultcode>
> <faultstring>unknown</faultstring>
> <detail>Not sure why this is not working<Exception>java.lang.NullPointerException
> ...
> ...
> ...
> </detail>
> </soapenv:Fault>
> </soapenv:Body>
>
>
> Question:
> 1) Why is the text within <faultcode> tag lost? Why does it not read m:FaultException? Why does it read soapenv:Client?
> 2) Simiarly, why do I lose the text within <faultstring>? Why is the text "unknown" seen rather than "Test my exception"?
>
> I would really appreciate any help you can offer. Thanks
>
>
>
> Axis version: Axis 2.0 version 1.2
> Java version: Java 1.5
> Client: C# NET 2.0 WSE 3.0
> Server: JBoss Application server 4.0.5GA
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org