[ 
https://issues.apache.org/jira/browse/WSCOMMONS-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541720
 ] 

Christian Gasser commented on WSCOMMONS-277:
--------------------------------------------

After having thougth more about the problem, I guess the issue goes further: 
It looks like that the soap11 fault subelements are missing namespaces in their 
Axiom representation, otherwise retrieving subelements by their Qnames defined 
in SOAP11Constants wouldn't work.

In the SOAP11FaultCodeImpl(SOAPFault parent, SOAPFactory factory) constructor 
super() is called with extractNamespaceFromParent set to false - this could be 
part of the problem.


> Missing namespace in QName's for soap fault subelements in 
> org.apache.axiom.soap.SOAP11Constants
> ------------------------------------------------------------------------------------------------
>
>                 Key: WSCOMMONS-277
>                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-277
>             Project: WS-Commons
>          Issue Type: Bug
>          Components: AXIOM
>            Reporter: Christian Gasser
>
> In SOAP11FaultImpl children are retrieved by their QNames defined in 
> SOAP11Constants, thus AXIOM cannot retrieve soap fault subelements if they 
> are qualified, like in the following example:
> <?xml version="1.0" encoding="UTF-8" ?>
> <soapenv:Envelope     
> xmlns:medcom="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd"; 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>       <soapenv:Body>
>               <soapenv:Fault>
>                       <soapenv:faultcode>Server</soapenv:faultcode>
>                       <soapenv:detail>
>                               
> <medcom:FaultCode>dcc_syntax_error</medcom:FaultCode>
>                       </soapenv:detail>
>                       <soapenv:faultstring>Unknown or unspecified 
> DecouplingModel</soapenv:faultstring>
>               </soapenv:Fault>
>       </soapenv:Body>
> </soapenv:Envelope>

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