[ 
http://issues.apache.org/jira/browse/AXIS-1980?page=comments#action_65949 ]
     
Venkat Reddy commented on AXIS-1980:
------------------------------------

Talking about errors while processing headers, SOAP 1.2 doesn't seem to mandate 
use of response headers to carry the error information, except for 
mustUnderstand faults.

"The presence of the Detail element information item has no significance as to 
which parts of the faulty SOAP message were processed."

- Venkat

> Adding fault detail to provide hostname violates soap spec if the fault is in 
> request header
> --------------------------------------------------------------------------------------------
>
>          Key: AXIS-1980
>          URL: http://issues.apache.org/jira/browse/AXIS-1980
>      Project: Axis
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.2RC1, 1.2RC2, 1.2, 1.2RC3
>  Environment: All environments
>     Reporter: Prasad A. Chodavarapu

>
> Starting with Axis 1.2RC1, Axis is adding the hostname to a fault's detail if 
> it is not already present. This violates the soap 1.1 spec in case the fault 
> was generated because of a problem in one of the request headers as opposed 
> to the request body. 
> For example, in my jax-rpc handler, I throw a SOAPFaultException with null 
> detail when a mandatory header is missing/mal-formed. Axis creates a detail 
> by itself and adds a hostname entry to it. This violates the following 
> section of SOAP 1.1:
> Detail "MUST NOT be used to carry information about error information 
> belonging to header entries. Detailed error information belonging to header 
> entries MUST be carried within header entries.
> The absence of the detail element in the Fault element indicates that the 
> fault is not related to processing of the Body element. This can be used to 
> distinguish whether the Body element was processed or not in case of a fault 
> situation."
> This is a major deviation from the spec. Others have reported it as well on 
> mailing lists. See 
> http://archives.devshed.com/m/200411-17138/Axis-12-RC1-Faults-contain-hostname-also-an-XML-error
> Thanks
> prasad

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

Reply via email to