W3C home > Mailing lists > Public > public-ws-addressing-tests@w3.org > August 2005

Test submission: SOAP mustUnderstand fault and wsa:FaultTo

From: Hugo Haas <hugo@w3.org>
Date: Thu, 25 Aug 2005 14:41:59 +0200
To: public-ws-addressing-tests@w3.org
Message-ID: <20050825124159.GE10147@w3.org>
I would like to submit the following test for WS-Addressing 1.0 SOAP
Binding, which is based on a discussion we had previously on the
mailing list[1],[2].



• Overview

A SOAP sender S sends a SOAP message M to a SOAP received R over the
HTTP binding using POST, i.e. the request-response MEP.

This message M contains:
- WS-Addressing 1.0 headers
- a wsa:Fault-To header set to a value of
  "http://www.w3.org/2005/08/addressing/none", saying that C does not
  want to receive any fault.
- a SOAP header marked with @mustUndertand="true" which cannot be
  understood by R.

R receives M, follows the SOAP processing model, realizes that there
is a SOAP header block marked with @mustUndertand="true" that it does
not understand, does not do any processing of the message, and sends
back to S a SOAP mustUnderstand fault F.

• Messages exchanged.

M sent from S to R over an HTTP request:

  <?xml version='1.0' ?>
  <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"
    <!-- The following is a header which will not be understood -->
    <n:alertcontrol xmlns:n="http://example.org/alertcontrol"
    <m:alert xmlns:m="http://example.org/alert">
     <m:msg>Pick up Mary at school at 2pm</m:msg>

F sent from R to S over the HTTP response:

  <?xml version='1.0' ?>
  <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
    <env:NotUnderstood qname="n:alertcontrol"
      <env:Text xml:lang="en-US">Header not understood</env:Text>

  1. http://lists.w3.org/Archives/Public/public-ws-addressing-comments/2005Jun/0003.html
  2. http://lists.w3.org/Archives/Public/public-ws-addressing/2005Jun/0040.html
Hugo Haas - W3C
mailto:hugo@w3.org - http://www.w3.org/People/Hugo/

Received on Thursday, 25 August 2005 12:42:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:54:41 UTC