Wrong local name for SOAPFaultSubCode
-------------------------------------

                 Key: WSCOMMONS-397
                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-397
             Project: WS-Commons
          Issue Type: Bug
          Components: AXIOM
            Reporter: Laurent CHARTIER


When using "soapFactory.createSOAPFaultSubCode()" method, a wrong local name is 
used for the Subcode element.

I find a wrong constructor, I think:

package org.apache.axiom.soap.impl.llom
class SOAPFaultSubCodeImpl

protected SOAPFaultSubCodeImpl(OMNamespace ns, SOAPFactory factory) {
        super(SOAP12Constants.SOAP_FAULT_VALUE_LOCAL_NAME, ns, factory);
}

Shouldn't this constructor use SOAP12Constants.SOAP_FAULT_SUB_CODE_LOCAL_NAME 
instead?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to