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 "Glen Daniels (JIRA)" <ji...@apache.org> on 2007/06/07 06:01:32 UTC

[jira] Reopened: (AXIS2-2753) AxisFault uses the wrong namespace to get the faultCode in method initializeValues(...)

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

Glen Daniels reopened AXIS2-2753:
---------------------------------


spoke too soon. :(  The fix is right, but DOOM's fault code handling doesn't deal with this API correctly, so JAXWS broke after my checkin.  Reverting, will fix this correctly (in DOOM) tomorrow AM.


> 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