axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-3231) SOAPFault question. Missing faultString
Date Mon, 12 Nov 2007 18:35:51 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-3231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541883
] 

Deepal Jayasinghe commented on AXIS2-3231:
------------------------------------------

Did you check with Axis2 1.3 ?

Thanks
Deepal

> 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&#xd;
>        ...
>        ...
>        ...
>        </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&#xd;
>        ...
>        ...
>        ...
>                     </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


Mime
View raw message