You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Laurent CHARTIER (JIRA)" <ji...@apache.org> on 2008/10/07 10:31:44 UTC

[jira] Created: (WSCOMMONS-397) Wrong local name for SOAPFaultSubCode

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.


[jira] Resolved: (WSCOMMONS-397) Wrong local name for SOAPFaultSubCode

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSCOMMONS-397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved WSCOMMONS-397.
---------------------------------------

    Resolution: Fixed

Fixed in trunk. Thanks for spotting this mistake.

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