axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Daniels (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-2753) AxisFault uses the wrong namespace to get the faultCode in method initializeValues(...)
Date Thu, 07 Jun 2007 22:03:27 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Glen Daniels resolved AXIS2-2753.
---------------------------------

    Resolution: Fixed

OK, this time for sure. :)  All tests pass - sorry about the DOOM false alarm (although there
is still some cleanup that needs to happen in there too).

> AxisFault uses the wrong namespace to get the faultCode in method initializeValues(...)
> ---------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2753
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2753
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.2
>            Reporter: Wolfgang Moestl
>            Assignee: Glen Daniels
>            Priority: Minor
>             Fix For: nightly
>
>
> AxisFault.java, Method initializeValues(...) lines 205 to 222:
>         if (soapFaultCode != null) {
>             if(soapFaultReason.getNamespace() != null && 
>                     soapFaultReason.getNamespace().getNamespaceURI().equals(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI))
{
>                 faultCode = soapFaultCode.getValue().getTextAsQName();
>             } else {
>                 faultCode = soapFaultCode.getTextAsQName();
>             }
>             SOAPFaultSubCode subCode = soapFaultCode.getSubCode();
>             if (subCode != null) {
>                 if (faultSubCodes == null) faultSubCodes = new ArrayList();
>                 while (subCode != null) {
>                     faultSubCodes.add(subCode.getValue().getTextAsQName());
>                     subCode = subCode.getSubCode();
>                 }
>             }
>         }
> Line 206 and 207: why is the namespace of the soapFaultReason used in order to get the
faultCode?
> Shouldn't the namespace of soapFaultCode be used instead? ( soapFaultCode.getNamespace()
)

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