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

Re: New test

From: Jonathan Marsh <jmarsh@microsoft.com>
Date: Thu, 16 Mar 2006 17:23:39 -0800
Message-ID: <37D0366A39A9044286B2783EB4C3C4E801F2185E@RED-MSG-10.redmond.corp.microsoft.com>
To: <public-ws-addressing-tests@w3.org>
We agree (at least with the data I have right now!) that this should be
fixed.

 

However, I don't think your assertions will be sufficient to verify that
no reply message is received.  Perhaps adding the kind of assertions
found in 1236 and so forth...

 

<assert
test="not(../following-sibling::log:message[@testcase=current()/../@test
case and @message!='1']) or
count(../following-sibling::log:message[@testcase=current()/../@testcase
and @message!='1']/log:content/*) = 0"/>
 

Whether this message is really a two-message exchange as described by
SOAP11-HTTP-In-Out-Fault is perhaps a philosophical question.

 

 [  Jonathan Marsh  ][  jmarsh@microsoft.com
<mailto:jmarsh@microsoft.com>   ][  http://spaces.msn.com/auburnmarshes
<http://spaces.msn.com/auburnmarshes>   ]

 

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?
 
--G
 
  <testcase xml:id="test1149"
    cr="REQUIRED">
    <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
header.]]></description>
    <features>
        <feature>soap08</feature>
      <feature>core10</feature>
    </features>
    <message-exchange type="SOAP11-HTTP-In-Out-Fault"
addr-binding="soap11">
        <message from="A" to="B"
document="echo/soap11/duplicateToRequest.xml" name="message">
            <assert test="count(soap11:Envelope/soap11:Header/wsa:To) =
2"/> 
          <assert
test="soap11:Envelope/soap11:Header/wsa:ReplyTo/wsa:Address =
'http://www.w3.org/2005/08/addressing/none'">
          <assert test="count(soap11:Envelope/soap11:Header/wsa:FaultTo)
= 0"/>
        </message>
        <message from="B" to="A"/>
    </message-exchange>
  </testcase>

 
Received on Friday, 17 March 2006 01:25:00 UTC

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