axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-3605) MessageContextBuilder.createFaultEnvelope ignores AxisFault.faultNode set by AxisFault constructor
Date Thu, 13 Mar 2008 14:19:46 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-3605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578305#action_12578305
] 

Davanum Srinivas commented on AXIS2-3605:
-----------------------------------------

Matthias,

could you please submit a quick patch?

thanks,
dims

> MessageContextBuilder.createFaultEnvelope ignores AxisFault.faultNode set by AxisFault
constructor
> --------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3605
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3605
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.3
>         Environment: JRE 1.4.2
>            Reporter: Matthias Weber
>
> The constructor AxisFault(QName faultCode, String faultReason, String faultNode, String
faultRole, OMElement faultDetail) sets the private field faultNode. MessageContextBuilder
ignores this:
>         Object faultNode = context.getProperty(SOAP12Constants.SOAP_FAULT_NODE_LOCAL_NAME);
>         if (faultNode != null) {
>             fault.getNode().setText((String) faultNode);
>         } else if (axisFault != null) {
>             if (axisFault.getFaultNodeElement() != null) {
>                 fault.setNode(axisFault.getFaultNodeElement());
>             }
>         }
> Only soapFaultNode is evaluated.

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