W3C home > Mailing lists > Public > public-ws-addressing-eds@w3.org > July to September 2007

2004/ws/addressing/testsuite/submissions/IBM/wsa-fault-tests/soap12 duplicateActionFault.xml,NONE,1.1 duplicateActionRequest.xml,NONE,1.1 duplicateFaultToFault.xml,NONE,1.1 duplicateFaultToRequest.xml,NONE,1.1 duplicateMessageIDFault.xml,NONE,1.1 duplicateMessageIDRequest.xml,NONE,1.1 duplicateReplyToFault.xml,NONE,1.1 duplicateReplyToRequest.xml,NONE,1.1 duplicateToFault.xml,NONE,1.1 duplicateToRequest.xml,NONE,1.1 xpaths.txt,NONE,1.1

From: Philippe Le Hegaret via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 09 Jul 2007 20:33:21 +0000
To: public-ws-addressing-eds@w3.org
Message-Id: <E1I7zv7-0004yD-Ve@lionel-hutz.w3.org>

Update of /sources/public/2004/ws/addressing/testsuite/submissions/IBM/wsa-fault-tests/soap12
In directory hutz:/tmp/cvs-serv18419/submissions/IBM/wsa-fault-tests/soap12

Added Files:
	duplicateActionFault.xml duplicateActionRequest.xml 
	duplicateFaultToFault.xml duplicateFaultToRequest.xml 
	duplicateMessageIDFault.xml duplicateMessageIDRequest.xml 
	duplicateReplyToFault.xml duplicateReplyToRequest.xml 
	duplicateToFault.xml duplicateToRequest.xml xpaths.txt 
Log Message:
Moved from cvs.w3.org

--- NEW FILE: duplicateActionRequest.xml ---
<?xml version='1.0' ?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"
                 xmlns:wsa="http://www.w3.org/2005/08/addressing">
 <soap12:Header>
  <wsa:Action>http://example.org/action/echoIn</wsa:Action>
  <wsa:Action>http://example.org/action/echoIn</wsa:Action>
  <wsa:MessageID>http://message.id/test</wsa:MessageID>
 </soap12:Header>
 <soap12:Body>
  <m:echo xmlns:m="http://example.org/echo">Echo This Text</m:echo>
 </soap12:Body>
</soap12:Envelope>

--- NEW FILE: duplicateToFault.xml ---
<?xml version='1.0' ?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"
 xmlns:wsa="http://www.w3.org/2005/08/addressing">
  <soap12:Header>
    <wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action>
  </soap12:Header>
  <soap12:Body>
    <soap12:Fault>
      <soap12:Code>
        <soap12:Value>soap12:Sender</soap12:Value>
        <soap12:Subcode>
          <soap12:Value>wsa:InvalidAddressingHeader</soap12:Value>
        </soap12:Subcode>
      </soap12:Code>
      <soap12:Reason>
        <soap12:Text xml:lang="en">A header representing a Message Addressing Property is not valid and the message cannot be processed</soap12:Text>
      </soap12:Reason>
      <soap12:Detail>
        <wsa:ProblemHeaderQName>wsa:To</wsa:ProblemHeaderQName>
      </soap12:Detail>   
    </soap12:Fault>
  </soap12:Body>
</soap12:Envelope>

--- NEW FILE: duplicateActionFault.xml ---
<?xml version='1.0' ?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"
 xmlns:wsa="http://www.w3.org/2005/08/addressing">
  <soap12:Header>
    <wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action>
  </soap12:Header>
  <soap12:Body>
    <soap12:Fault>
      <soap12:Code>
        <soap12:Value>soap12:Sender</soap12:Value>
        <soap12:Subcode>
          <soap12:Value>wsa:InvalidAddressingHeader</soap12:Value>
        </soap12:Subcode>
      </soap12:Code>
      <soap12:Reason>
        <soap12:Text xml:lang="en">A header representing a Message Addressing Property is not valid and the message cannot be processed</soap12:Text>
      </soap12:Reason>
      <soap12:Detail>
        <wsa:ProblemHeaderQName>wsa:Action</wsa:ProblemHeaderQName>
      </soap12:Detail>   
    </soap12:Fault>
  </soap12:Body>
</soap12:Envelope>

--- NEW FILE: duplicateToRequest.xml ---
<?xml version='1.0' ?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"
                 xmlns:wsa="http://www.w3.org/2005/08/addressing">
 <soap12:Header>
  <wsa:Action>http://example.org/action/echoIn</wsa:Action>
  <wsa:MessageID>http://message.id/test</wsa:MessageID>
  <wsa:To>http://www.w3.org/2005/08/addressing/anonymous</wsa:To> 
  <wsa:To>http://www.w3.org/2005/08/addressing/anonymous</wsa:To> 
 </soap12:Header>
 <soap12:Body>
  <m:echo xmlns:m="http://example.org/echo">Echo This Text</m:echo>
 </soap12:Body>
</soap12:Envelope>

--- NEW FILE: duplicateFaultToFault.xml ---
<?xml version='1.0' ?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"
 xmlns:wsa="http://www.w3.org/2005/08/addressing">
  <soap12:Header>
    <wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action>
  </soap12:Header>
  <soap12:Body>
    <soap12:Fault>
      <soap12:Code>
        <soap12:Value>soap12:Sender</soap12:Value>
        <soap12:Subcode>
          <soap12:Value>wsa:InvalidAddressingHeader</soap12:Value>
        </soap12:Subcode>
      </soap12:Code>
      <soap12:Reason>
        <soap12:Text xml:lang="en">A header representing a Message Addressing Property is not valid and the message cannot be processed</soap12:Text>
      </soap12:Reason>
      <soap12:Detail>
        <wsa:ProblemHeaderQName>wsa:Fault</wsa:ProblemHeaderQName>
      </soap12:Detail>   
    </soap12:Fault>
  </soap12:Body>
</soap12:Envelope>

--- NEW FILE: duplicateReplyToRequest.xml ---
<?xml version='1.0' ?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"
                 xmlns:wsa="http://www.w3.org/2005/08/addressing">
 <soap12:Header>
  <wsa:Action>http://example.org/action/echoIn</wsa:Action>
  <wsa:MessageID>http://message.id/test</wsa:MessageID>
  <wsa:ReplyTo>
   <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
  </wsa:ReplyTo>
  <wsa:ReplyTo>
   <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
  </wsa:ReplyTo>
 </soap12:Header>
 <soap12:Body>
  <m:echo xmlns:m="http://example.org/echo">Echo This Text</m:echo>
 </soap12:Body>
</soap12:Envelope>

--- NEW FILE: duplicateMessageIDFault.xml ---
<?xml version='1.0' ?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"
 xmlns:wsa="http://www.w3.org/2005/08/addressing">
  <soap12:Header>
    <wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action>
  </soap12:Header>
  <soap12:Body>
    <soap12:Fault>
      <soap12:Code>
        <soap12:Value>soap12:Sender</soap12:Value>
        <soap12:Subcode>
          <soap12:Value>wsa:InvalidAddressingHeader</soap12:Value>
        </soap12:Subcode>
      </soap12:Code>
      <soap12:Reason>
        <soap12:Text xml:lang="en">A header representing a Message Addressing Property is not valid and the message cannot be processed</soap12:Text>
      </soap12:Reason>
      <soap12:Detail>
        <wsa:ProblemHeaderQName>wsa:MessageID</wsa:ProblemHeaderQName>
      </soap12:Detail>   
    </soap12:Fault>
  </soap12:Body>
</soap12:Envelope>

--- NEW FILE: duplicateReplyToFault.xml ---
<?xml version='1.0' ?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"
 xmlns:wsa="http://www.w3.org/2005/08/addressing">
  <soap12:Header>
    <wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action>
  </soap12:Header>
  <soap12:Body>
    <soap12:Fault>
      <soap12:Code>
        <soap12:Value>soap12:Sender</soap12:Value>
        <soap12:Subcode>
          <soap12:Value>wsa:InvalidAddressingHeader</soap12:Value>
        </soap12:Subcode>
      </soap12:Code>
      <soap12:Reason>
        <soap12:Text xml:lang="en">A header representing a Message Addressing Property is not valid and the message cannot be processed</soap12:Text>
      </soap12:Reason>
      <soap12:Detail>
        <wsa:ProblemHeaderQName>wsa:ReplyTo</wsa:ProblemHeaderQName>
      </soap12:Detail>   
    </soap12:Fault>
  </soap12:Body>
</soap12:Envelope>

--- NEW FILE: duplicateFaultToRequest.xml ---
<?xml version='1.0' ?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"
                 xmlns:wsa="http://www.w3.org/2005/08/addressing">
 <soap12:Header>
  <wsa:Action>http://example.org/action/echoIn</wsa:Action>
  <wsa:MessageID>http://message.id/test</wsa:MessageID>
  <wsa:FaultTo>
   <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
  </wsa:FaultTo>
  <wsa:FaultTo>
   <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
  </wsa:FaultTo>
 </soap12:Header>
 <soap12:Body>
  <m:echo xmlns:m="http://example.org/echo">Echo This Text</m:echo>
 </soap12:Body>
</soap12:Envelope>

--- NEW FILE: duplicateMessageIDRequest.xml ---
<?xml version='1.0' ?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"
                 xmlns:wsa="http://www.w3.org/2005/08/addressing">
 <soap12:Header>
  <wsa:Action>http://example.org/action/echoIn</wsa:Action>
  <wsa:MessageID>http://message.id/test</wsa:MessageID>
  <wsa:MessageID>http://message.id/test</wsa:MessageID>
 </soap12:Header>
 <soap12:Body>
  <m:echo xmlns:m="http://example.org/echo">Echo This Text</m:echo>
 </soap12:Body>
</soap12:Envelope>

--- NEW FILE: xpaths.txt ---
SOAP 1.2
Duplicate wsa:To

Request
count(/soap12:Envelope/soap12:Header/wsa:To) {int} 2

Response

/soap12:Envelope/soap12:Header/wsa:Action {match} http://www.w3.org/2005/08/addressing/fault
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Code/soap12:Value {qname} soap12:Sender
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Code/soap12:Subcode/soap12:Value {qname} wsa:InvalidAddressingHeader
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Reason/soap12:Text {match} "A header representing a Message Addressing Property is not valid and the message cannot be processed"

either
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Detail/wsa:ProblemHeaderQName {qname} wsa:To
or
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Detail/wsa:ProblemHeader/wsa:To {match} http://www.w3.org/2005/08/addressing/anonymous

Duplicate wsa:Action

Request
count(/soap12:Envelope/soap12:Header/wsa:Action) {int} 2

Response

/soap12:Envelope/soap12:Header/wsa:Action {match} http://www.w3.org/2005/08/addressing/fault
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Code/soap12:Value {qname} soap12:Sender
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Code/soap12:Subcode/soap12:Value {qname} wsa:InvalidAddressingHeader
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Reason/soap12:Text {match} "A header representing a Message Addressing Property is not valid and the message cannot be processed"

either
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Detail/wsa:ProblemHeaderQName {qname} wsa:Action
or
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Detail/wsa:ProblemHeader/wsa:Action {match} http://example.org/action/echoIn

Duplicate wsa:MessageID

Request
count(/soap12:Envelope/soap12:Header/wsa:MessageID) {int} 2

Response

/soap12:Envelope/soap12:Header/wsa:Action {match} http://www.w3.org/2005/08/addressing/fault
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Code/soap12:Value {qname} soap12:Sender
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Code/soap12:Subcode/soap12:Value {qname} wsa:InvalidAddressingHeader
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Reason/soap12:Text {match} "A header representing a Message Addressing Property is not valid and the message cannot be processed"

either
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Detail/wsa:ProblemHeaderQName {qname} wsa:MessageID
or
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Detail/wsa:ProblemHeader/wsa:MessageID {regex} .*

Duplicate wsa:ReplyTo

Request
count(/soap12:Envelope/soap12:Header/wsa:ReplyTo) {int} 2

Response

/soap12:Envelope/soap12:Header/wsa:Action {match} http://www.w3.org/2005/08/addressing/fault
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Code/soap12:Value {qname} soap12:Sender
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Code/soap12:Subcode/soap12:Value {qname} wsa:InvalidAddressingHeader
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Reason/soap12:Text {match} "A header representing a Message Addressing Property is not valid and the message cannot be processed"

either
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Detail/wsa:ProblemHeaderQName {qname} wsa:ReplyTo
or
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Detail/wsa:ProblemHeader/wsa:ReplyTo/wsa:Address {match} http://www.w3.org/2005/08/addressing/anonymous

Duplicate wsa:FaultTo

Request
count(/soap12:Envelope/soap12:Header/wsa:FaultTo) {int} 2

Response

/soap12:Envelope/soap12:Header/wsa:Action {match} http://www.w3.org/2005/08/addressing/fault
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Code/soap12:Value {qname} soap12:Sender
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Code/soap12:Subcode/soap12:Value {qname} wsa:InvalidAddressingHeader
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Reason/soap12:Text {match} "A header representing a Message Addressing Property is not valid and the message cannot be processed"

either
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Detail/wsa:ProblemHeaderQName {qname} wsa:FaultTo
or
/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Detail/wsa:ProblemHeader/wsa:FaultTo/wsa:Address {match} http://www.w3.org/2005/08/addressing/anonymous
Received on Monday, 9 July 2007 20:33:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:19:42 GMT