W3C home > Mailing lists > Public > public-ws-addressing-tests@w3.org > March 2006

RE: New test

From: <paul.downey@bt.com>
Date: Fri, 17 Mar 2006 18:28:47 -0000
Message-ID: <2A7793353757DB4392DF4DFBBC9522550276F47F@I2KM11-UKBR.domain1.systemhost.net>
To: <gdaniels@sonicsoftware.com>, <public-ws-addressing-tests@w3.org>

I'm looking into adding this new test when I noticed test1140
and test1146 already send the duplicateToRequest.xml message.

So how are these tests different to your new one - I'd expect
the example messages to be different!?


-----Original Message-----
From: public-ws-addressing-tests-request@w3.org on behalf of Glen Daniels
Sent: Thu 3/16/2006 11:55 PM
To: public-ws-addressing-tests@w3.org
Subject: New test

Here's the test I was suggesting, in what I hope is the right format.

Should we do both a SOAP 1.1 and a SOAP 1.2 version of this?


  <testcase xml:id="test1149"
    <title>SOAP 1.1 two-way message with a duplicate To header and a
ReplyTo of none.</title>
    <description><![CDATA[Two-way message exchange containing a
duplicate To header and ReplyTo of none.  An InvalidAddressingHeader
fault should be generated, but not sent due to the ReplyTo
    <message-exchange type="SOAP11-HTTP-In-Out-Fault"
	<message from="A" to="B"
document="echo/soap11/duplicateToRequest.xml" name="message">
	    <assert test="count(soap11:Envelope/soap11:Header/wsa:To) =
test="soap11:Envelope/soap11:Header/wsa:ReplyTo/wsa:Address =
          <assert test="count(soap11:Envelope/soap11:Header/wsa:FaultTo)
= 0"/>
	<message from="B" to="A"/>
Received on Friday, 17 March 2006 18:36:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:29:02 UTC