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 "Adrian Dick (JIRA)" <ax...@ws.apache.org> on 2005/07/01 11:11:00 UTC

[jira] Commented: (AXISCPP-723) SOAP Fault sent from server has wrong XML

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

Adrian Dick commented on AXISCPP-723:
-------------------------------------

This was introduced as a fix to AXISCPP-706.

However, this means the SOAP fault no longer matches the structure described in the SOAP specs, or a fault described by the customers WSDL.
I think the underlying reason for this is we currently do not support a Fault detail element that is anything other than a Complex type.  My proposed changes to support both SOAP 1.2 and SOAP 1.1 Faults (see http://marc.theaimsgroup.com/?l=axis-c-dev&m=111640463326474&w=2 ) will also introduce the ability for all types of detail element, including complex, arrays and simple types.

> SOAP Fault sent from server has wrong XML
> -----------------------------------------
>
>          Key: AXISCPP-723
>          URL: http://issues.apache.org/jira/browse/AXISCPP-723
>      Project: Axis-C++
>         Type: Bug
>   Components: Server - Engine
>     Versions: 1.5 Final
>     Reporter: Samisa Abeysinghe

>
> When the C++ server throws a SOAP fault, I get the following XML:
> <detail><appSpecific><detail>AxisWsddException:Requested service not found</detail>
> </appSpecific></detail>
> As you can notice, the use of "detail" tag is wrong here.
> Following is the ccomplete SOAP message sent by server:
> HTTP/1.1 200 OK
> Date: Fri, 01 Jul 2005 08:53:35 GMT
> Server: Apache/2.0.49 (Unix)
> Content-Length: 580
> Content-Type: text/xml
> <?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>

-- 
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