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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to