You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2008/03/13 15:19:46 UTC
[jira] Commented: (AXIS2-3605)
MessageContextBuilder.createFaultEnvelope ignores AxisFault.faultNode set
by AxisFault constructor
[ 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