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

Reply via email to