StAX events generated by a faultCode element of a SOAP11 Envelope is incorrect
------------------------------------------------------------------------------

                 Key: WSCOMMONS-104
                 URL: http://issues.apache.org/jira/browse/WSCOMMONS-104
             Project: WS-Commons
          Issue Type: Bug
          Components: AXIOM
            Reporter: Ruchith Udayanga Fernando
            Priority: Critical


A SOAP11 SOAPEnvelope carrying a SOAP Fault returns incorrect events for 
"faultcode". It returns events such that the local name is "Code". This is 
because the OMelement representing fault code has the local name "Code" and it 
also holds a "Value" first child (as in SOAP 12). 

This is because the 
org.apache.axiom.soap.impl.builder.SOAP11BuilderHelper#handleEvent() creates 
"Value" element and adds it into the "Code" element. 

The SOAP11FaultCodeImpl holds local name "Code" since its parent class 
SOAPFaultCodeImpl, sets the local name to code.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to