2004/ws/addressing/testsuite/submissions/IBM/wsa-fault-tests/soap11 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 duplicat

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

2004/ws/addressing/testsuite/submissions/IBM/wsa-fault-tests/soap11 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 duplicat

Philippe Le Hegaret via cvs-syncmail

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

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' ?>
<soap11:Envelope xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"
                 xmlns:wsa="http://www.w3.org/2005/08/addressing">
 <soap11: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>
 </soap11:Header>
 <soap11:Body>
  <m:echo xmlns:m="http://example.org/echo">Echo This Text</m:echo>
 </soap11:Body>
</soap11:Envelope>

--- NEW FILE: duplicateToFault.xml ---
<?xml version='1.0' ?>
<soap11:Envelope xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"
                 xmlns:wsa="http://www.w3.org/2005/08/addressing">
  <soap11:Header>
    <wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action>
    <wsa:FaultDetail><wsa:ProblemHeaderQName>wsa:To</wsa:ProblemHeaderQName></wsa:FaultDetail>
  </soap11:Header>
  <soap11:Body>
    <soap11:Fault>
      <faultcode>wsa:InvalidAddressingHeader</faultcode>
      <faultstring xml:lang="en">A header representing a Message Addressing Property is not valid and the message cannot be processed</faultstring>
    </soap11:Fault>
  </soap11:Body>
</soap11:Envelope>

--- NEW FILE: duplicateActionFault.xml ---
<?xml version='1.0' ?>
<soap11:Envelope xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"
                 xmlns:wsa="http://www.w3.org/2005/08/addressing">
  <soap11:Header>
    <wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action>
    <wsa:FaultDetail><wsa:ProblemHeaderQName>wsa:Action</wsa:ProblemHeaderQName></wsa:FaultDetail>
  </soap11:Header>
  <soap11:Body>
    <soap11:Fault>
      <faultcode>wsa:InvalidAddressingHeader</faultcode>
      <faultstring xml:lang="en">A header representing a Message Addressing Property is not valid and the message cannot be processed</faultstring>
    </soap11:Fault>
  </soap11:Body>
</soap11:Envelope>

--- NEW FILE: duplicateToRequest.xml ---
<?xml version='1.0' ?>
<soap11:Envelope xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"
                 xmlns:wsa="http://www.w3.org/2005/08/addressing">
 <soap11: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>
 </soap11:Header>
 <soap11:Body>
  <m:echo xmlns:m="http://example.org/echo">Echo This Text</m:echo>
 </soap11:Body>
</soap11:Envelope>

--- NEW FILE: duplicateFaultToFault.xml ---
<?xml version='1.0' ?>
<soap11:Envelope xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"
                 xmlns:wsa="http://www.w3.org/2005/08/addressing">
  <soap11:Header>
    <wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action>
    <wsa:FaultDetail><wsa:ProblemHeaderQName>wsa:FaultTo</wsa:ProblemHeaderQName></wsa:FaultDetail>
  </soap11:Header>
  <soap11:Body>
    <soap11:Fault>
      <faultcode>wsa:InvalidAddressingHeader</faultcode>
      <faultstring xml:lang="en">A header representing a Message Addressing Property is not valid and the message cannot be processed</faultstring>
    </soap11:Fault>
  </soap11:Body>
</soap11:Envelope>

--- NEW FILE: duplicateReplyToRequest.xml ---
<?xml version='1.0' ?>
<soap11:Envelope xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"
                 xmlns:wsa="http://www.w3.org/2005/08/addressing">
 <soap11: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>
 </soap11:Header>
 <soap11:Body>
  <m:echo xmlns:m="http://example.org/echo">Echo This Text</m:echo>
 </soap11:Body>
</soap11:Envelope>

--- NEW FILE: duplicateMessageIDFault.xml ---
<?xml version='1.0' ?>
<soap11:Envelope xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"
                 xmlns:wsa="http://www.w3.org/2005/08/addressing">
  <soap11:Header>
    <wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action>
    <wsa:FaultDetail><wsa:ProblemHeaderQName>wsa:MessageID</wsa:ProblemHeaderQName></wsa:FaultDetail>
  </soap11:Header>
  <soap11:Body>
    <soap11:Fault>
      <faultcode>wsa:InvalidAddressingHeader</faultcode>
      <faultstring xml:lang="en">A header representing a Message Addressing Property is not valid and the message cannot be processed</faultstring>
    </soap11:Fault>
  </soap11:Body>
</soap11:Envelope>

--- NEW FILE: duplicateReplyToFault.xml ---
<?xml version='1.0' ?>
<soap11:Envelope xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"
                 xmlns:wsa="http://www.w3.org/2005/08/addressing">
  <soap11:Header>
    <wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action>
    <wsa:FaultDetail><wsa:ProblemHeaderQName>wsa:ReplyTo</wsa:ProblemHeaderQName></wsa:FaultDetail>
  </soap11:Header>
  <soap11:Body>
    <soap11:Fault>
      <faultcode>wsa:InvalidAddressingHeader</faultcode>
      <faultstring xml:lang="en">A header representing a Message Addressing Property is not valid and the message cannot be processed</faultstring>
    </soap11:Fault>
  </soap11:Body>
</soap11:Envelope>

--- NEW FILE: duplicateFaultToRequest.xml ---
<?xml version='1.0' ?>
<soap11:Envelope xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"
                 xmlns:wsa="http://www.w3.org/2005/08/addressing">
 <soap11: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>
 </soap11:Header>
 <soap11:Body>
  <m:echo xmlns:m="http://example.org/echo">Echo This Text</m:echo>
 </soap11:Body>
</soap11:Envelope>

--- NEW FILE: duplicateMessageIDRequest.xml ---
<?xml version='1.0' ?>
<soap11:Envelope xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"
                 xmlns:wsa="http://www.w3.org/2005/08/addressing">
 <soap11: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>
 </soap11:Header>
 <soap11:Body>
  <m:echo xmlns:m="http://example.org/echo">Echo This Text</m:echo>
 </soap11:Body>
</soap11:Envelope>

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

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

Response

/soap11:Envelope/soap11:Header/wsa:Action {match} http://www.w3.org/2005/08/addressing/fault
/soap11:Envelope/soap11:Body/soap11:Fault/faultstring {match} "A header representing a Message Addressing Property is not valid and the message cannot be processed"
either
/soap11:Envelope/soap11:Body/soap11:Fault/faultcode {qname} wsa:InvalidAddressingHeader
or
/soap11:Envelope/soap11:Body/soap11:Fault/faultcode {qname} wsa:InvalidCardinality

either
/soap11:Envelope/soap11:Header/wsa:FaultDetail/wsa:ProblemHeaderQName {qname} wsa:To
or
/soap11:Envelope/soap11:Header/wsa:FaultDetail/wsa:ProblemHeader/wsa:To {match} http://www.w3.org/2005/08/addressing/anonymous

Duplicate wsa:Action

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

Response

/soap11:Envelope/soap11:Header/wsa:Action {match} http://www.w3.org/2005/08/addressing/fault
/soap11:Envelope/soap11:Body/soap11:Fault/faultstring {match} "A header representing a Message Addressing Property is not valid and the message cannot be processed"
either
/soap11:Envelope/soap11:Body/soap11:Fault/faultcode {qname} wsa:InvalidAddressingHeader
or
/soap11:Envelope/soap11:Body/soap11:Fault/faultcode {qname} wsa:InvalidCardinality

either
/soap11:Envelope/soap11:Header/wsa:FaultDetail/wsa:ProblemHeaderQName {qname} wsa:Action
or
/soap11:Envelope/soap11:Header/wsa:FaultDetail/wsa:ProblemHeader/wsa:Action {match} http://example.org/action/echoIn

Duplicate wsa:MessageID

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

Response

/soap11:Envelope/soap11:Header/wsa:Action {match} http://www.w3.org/2005/08/addressing/fault
/soap11:Envelope/soap11:Body/soap11:Fault/faultstring {match} "A header representing a Message Addressing Property is not valid and the message cannot be processed"
either
/soap11:Envelope/soap11:Body/soap11:Fault/faultcode {qname} wsa:InvalidAddressingHeader
or
/soap11:Envelope/soap11:Body/soap11:Fault/faultcode {qname} wsa:InvalidCardinality

either
/soap11:Envelope/soap11:Header/wsa:FaultDetail/wsa:ProblemHeaderQName {qname} wsa:MessageID
or
/soap11:Envelope/soap11:Header/wsa:FaultDetail/wsa:ProblemHeader/wsa:MessageID {regex} .*

Duplicate wsa:ReplyTo

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

Response

/soap11:Envelope/soap11:Header/wsa:Action {match} http://www.w3.org/2005/08/addressing/fault
/soap11:Envelope/soap11:Body/soap11:Fault/faultstring {match} "A header representing a Message Addressing Property is not valid and the message cannot be processed"
either
/soap11:Envelope/soap11:Body/soap11:Fault/faultcode {qname} wsa:InvalidAddressingHeader
or
/soap11:Envelope/soap11:Body/soap11:Fault/faultcode {qname} wsa:InvalidCardinality

either
/soap11:Envelope/soap11:Header/wsa:FaultDetail/wsa:ProblemHeaderQName {qname} wsa:ReplyTo
or
/soap11:Envelope/soap11:Header/wsa:FaultDetail/wsa:ProblemHeader/wsa:ReplyTo/wsa:Address {match} http://www.w3.org/2005/08/addressing/anonymous

Duplicate wsa:FaultTo

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

Response

/soap11:Envelope/soap11:Header/wsa:Action {match} http://www.w3.org/2005/08/addressing/fault
/soap11:Envelope/soap11:Body/soap11:Fault/faultstring {match} "A header representing a Message Addressing Property is not valid and the message cannot be processed"
either
/soap11:Envelope/soap11:Body/soap11:Fault/faultcode {qname} wsa:InvalidAddressingHeader
or
/soap11:Envelope/soap11:Body/soap11:Fault/faultcode {qname} wsa:InvalidCardinality

either
/soap11:Envelope/soap11:Header/wsa:FaultDetail/wsa:ProblemHeaderQName {qname} wsa:FaultTo
or
/soap11:Envelope/soap11:Header/wsa:FaultDetail/wsa:ProblemHeader/wsa:FaultTo/wsa:Address {match} http://www.w3.org/2005/08/addressing/anonymous