You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org> on 2005/07/22 11:52:46 UTC

[jira] Commented: (AXISCPP-754) Server sends wrong xml for fualts.

    [ http://issues.apache.org/jira/browse/AXISCPP-754?page=comments#action_12316456 ] 

Dushshantha Chandradasa commented on AXISCPP-754:
-------------------------------------------------

<?xml version='1.0' encoding='utf-8' ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>Requested service is not registerd at the server</faultstring>
<faultactor>server name:listen port</faultactor>
<detail><appSpecific><detail>AxisWsddException:Requested service not found</detail>
</appSpecific></detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


above is a SOAP message for a service call for which the service is not registered at the server. We can find some problems in the xml stream in the following line.

<detail><appSpecific><detail>AxisWsddException:Requested service not found</detail>
</appSpecific></detail>
 
Here we can find another  <detail> tag inside a <detail> tag.


> Server sends wrong xml for fualts.
> ----------------------------------
>
>          Key: AXISCPP-754
>          URL: http://issues.apache.org/jira/browse/AXISCPP-754
>      Project: Axis-C++
>         Type: Bug
>   Components: Serialization
>  Environment: All
>     Reporter: Dushshantha Chandradasa
>     Assignee: Dushshantha Chandradasa

>
> Server sends the following SOAP message in which no definition for the namespace ns1 when there is a SOAP fault. 
> <?xml version='1.0' encoding='utf-8' ?> 
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
> <SOAP-ENV:Body> 
> <SOAP-ENV:Fault> 
> <faultcode>AxisC++ Faultcode</faultcode> 
> <faultstring>Custom Out of bound exception</faultstring> 
> <faultactor>server name:listen port</faultactor> 
> <detail><appSpecific><DivByZeroStruct><ns1:varString>Division by zero exception</ns1:varString> 
> <ns1:varInt>1</ns1:varInt> 
> <ns1:varFloat>10.520000</ns1:varFloat> 
> </DivByZeroStruct> 
> </appSpecific></detail> 
> </SOAP-ENV:Fault> 
> </SOAP-ENV:Body> 
> </SOAP-ENV:Envelope> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira