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

Comments on CR test cases

From: Arun Gupta <Arun.Gupta@Sun.COM>
Date: Wed, 19 Oct 2005 11:06:36 -0700
To: public-ws-addressing@w3.org
Message-id: <43568B2C.9040901@sun.com>

Hi Paul,

Some comments on CR test cases:

1). test1200, the message does not have any namespace declarations. 
Actually looking through the various messages in the document, it seems 
they are all lacking namespace declarations. Are you working on 
generating valid SOAP messages or would you like me to send them to you ?

2). test1203: There is a mismatch between the title and the test 
description. The title has "SOAP 1.2 one-way message with a ReplyTo 
address of none". It should instead be "SOAP 1.2 one-way message with a 
FaultTo address of none".

3). test1204: There is a mismatch between the title and the test 
description. The title has "SOAP 1.2 one-way message with a ReplyTo 
address of none". It should instead be "SOAP 1.2 one-way message with a 
ReplyTo and FaultTo address of none".

4). test1205: There is a mismatch between the title and the test 
description. The title has "SOAP 1.2 one-way message" where as the test 
description has "B sends a fault to A".

When A sends a message to B, I think there can be an XPath check whether 
the mustUnderstand header is actually existing or not. We can leave it 
for each individual implementation to use their own header and get the 
fault back appropriately. Accordingly the XPath check when B sends a 
fault to A needs to be modified.

5). test1208 can be cloned to include EPR extensions for 
ReferenceParameters. For example A send the same message to B but with 
the following ReferenceParameters:

<wsa:ReferenceParameters customer:level="premium">
   <customer:CustomerKey>Key#123456789</customer:CustomerKey>
</wsa:ReferenceParameters>

6). test1231: There is a mismatch between the description and XPath 
check. The title requires wsa:ReplyTo to be anonymous where as XPath 
checks for wsa:To to be anonymous. The correct XPath is

/soap12:Envelope/soap12:Header/wsa:ReplyTo/wsa:Address

instead of

/soap12:Envelope/soap12:Header/wsa:To/wsa:Address

7). test1232: The second XPath match in the reply message seems to be a 
copy/paste error. The correct XPath should be

/soap12:Envelope/soap12:Header/customer:CustomerKey

8). There should be a table, preferably at the beginning of the 
document, listing the namespace and prefix mappings.

9). All of these tests can be duplicated for SOAP 1.1. I'm offering my 
help to do the same.

Thanks,
-Arun

-- 
got Web Services ?
Download Java Web Services Developer Pack from
http://java.sun.com/webservices
Received on Wednesday, 19 October 2005 18:04:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:35:09 GMT