SOAP 1.2 two-way message with a duplicate To header.
----------------------------------------------------

                 Key: AXIS2-3625
                 URL: https://issues.apache.org/jira/browse/AXIS2-3625
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
            Reporter: Deepal Jayasinghe
            Priority: Blocker


Test1240 - 
http://www.w3.org/2002/ws/addr/testsuite/documents/echo/soap12/duplicateToFault.xml
============================================
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";> 
<soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing";> 
<wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action> 
<wsa:RelatesTo>urn:uuid:46ff26a3-89d1-493d-bef3-ba7b54a954b1</wsa:RelatesTo> 
</soapenv:Header> <soapenv:Body> <soapenv:Fault> <soapenv:Code> 
<soapenv:Value>soapenv:Sender</soapenv:Value> <soapenv:Subcode> 
<soapenv:Value>wsa:InvalidAddressingHeader</soapenv:Value> <soapenv:Subcode> 
<soapenv:Value>wsa:InvalidCardinality</soapenv:Value> </soapenv:Subcode> 
</soapenv:Subcode> </soapenv:Code> <soapenv:Reason> <soapenv:Text 
xml:lang="en-US">A header representing a Message Addressing Property is not 
valid and the message cannot be processed</soapenv:Text> </soapenv:Reason> 
<soapenv:Detail> <wsa:ProblemHeaderQName 
xmlns:wsa="http://www.w3.org/2005/08/addressing";>wsa:To</wsa:ProblemHeaderQName>
 </soapenv:Detail> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope>
 Test1241
Test1242
Test1243

Test1244 - 
http://www.w3.org/2002/ws/addr/testsuite/documents/echo/soap12/duplicateMessageIDFault.xml
===========================================
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";> 
<soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing";> 
<wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action> 
</soapenv:Header> <soapenv:Body> <soapenv:Fault> <soapenv:Code> 
<soapenv:Value>soapenv:Sender</soapenv:Value> <soapenv:Subcode> 
<soapenv:Value>wsa:InvalidAddressingHeader</soapenv:Value> <soapenv:Subcode> 
<soapenv:Value>wsa:InvalidCardinality</soapenv:Value> </soapenv:Subcode> 
</soapenv:Subcode> </soapenv:Code> <soapenv:Reason> <soapenv:Text 
xml:lang="en-US">A header representing a Message Addressing Property is not 
valid and the message cannot be processed</soapenv:Text> </soapenv:Reason> 
<soapenv:Detail> <wsa:ProblemHeaderQName 
xmlns:wsa="http://www.w3.org/2005/08/addressing";>wsa:MessageID</wsa:ProblemHeaderQName>
 </soapenv:Detail> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope>

TEST1246 - 
http://www.w3.org/2002/ws/addr/testsuite/documents/echo/soap12/duplicateToFault-1.xml
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";> 
<soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing";> 
<wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action> 
<wsa:RelatesTo>urn:uuid:030a0981-df0e-4e61-8409-603387a67439</wsa:RelatesTo> 
</soapenv:Header> <soapenv:Body> <soapenv:Fault> <soapenv:Code> 
<soapenv:Value>soapenv:Sender</soapenv:Value> <soapenv:Subcode> 
<soapenv:Value>wsa:InvalidAddressingHeader</soapenv:Value> <soapenv:Subcode> 
<soapenv:Value>wsa:InvalidCardinality</soapenv:Value> </soapenv:Subcode> 
</soapenv:Subcode> </soapenv:Code> <soapenv:Reason> <soapenv:Text 
xml:lang="en-US">A header representing a Message Addressing Property is not 
valid and the message cannot be processed</soapenv:Text> </soapenv:Reason> 
<soapenv:Detail> <wsa:ProblemHeaderQName 
xmlns:wsa="http://www.w3.org/2005/08/addressing";>wsa:To</wsa:ProblemHeaderQName>
 </soapenv:Detail> </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