2004/ws/addressing/testsuitewsdl/testcases testcases.xml,1.5,1.6

Update of /sources/public/2004/ws/addressing/testsuitewsdl/testcases
In directory hutz:/tmp/cvs-serv9611

Modified Files:
	testcases.xml 
Log Message:
Adding new testcases


Index: testcases.xml
===================================================================
RCS file: /sources/public/2004/ws/addressing/testsuitewsdl/testcases/testcases.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -C 2 -d -r1.5 -r1.6
*** testcases.xml	19 Jul 2007 00:43:39 -0000	1.5
--- testcases.xml	22 Jul 2007 20:49:52 -0000	1.6
***************
*** 667,672 ****
  			</message>
  			<message from="B" to="A">
- 				<assert
- 					test="HTTP 202 Accepted response."/>
  			</message>
  		</message-exchange>
--- 667,670 ----
***************
*** 709,714 ****
  			</message>
  			<message from="B" to="A">
  				<assert
! 					test="wsa:ActionNotSupported fault on a new HTTP connection."/>
  			</message>
  		</message-exchange>
--- 707,713 ----
  			</message>
  			<message from="B" to="A">
+ 				<!-- TODO Write an XPath to check this - easy, just don't have the time right now
  				<assert
! 					test="wsa:ActionNotSupported fault on a new HTTP connection."/> -->
  			</message>
  		</message-exchange>
***************
*** 750,756 ****
  					test="soap12:Envelope/soap12:Header/wsa:Action = 'http://tempuri.org/IEchoString/EchoBad'"/>
        </message>
!       <message from="B" to="A">
          <assert
! 					test="wsa:ActionMismatch fault on the HTTP response."/>
        </message>
      </message-exchange>
--- 749,756 ----
  					test="soap12:Envelope/soap12:Header/wsa:Action = 'http://tempuri.org/IEchoString/EchoBad'"/>
        </message>
!       <message from="B" to="A">
!       <!-- TODO Write an XPath to check this - easy, just don't have the time right now
          <assert
! 					test="wsa:ActionMismatch fault on the HTTP response."/> -->
        </message>
      </message-exchange>
***************
*** 793,798 ****
  			</message>
  			<message from="B" to="A">
- 				<assert
- 					test="HTTP 202 Accepted response."/>
  			</message>
  		</message-exchange>
--- 793,796 ----
***************
*** 835,840 ****
  			</message>
  			<message from="B" to="A">
- 				<assert
- 					test="HTTP 202 Accepted response."/>
  			</message>
  		</message-exchange>
--- 833,836 ----
***************
*** 898,903 ****
        </message>
        <message from="B" to="A">
-         <assert
- 					test="HTTP 202 Accepted response."/>
        </message>
      </message-exchange>
--- 894,897 ----
***************
*** 939,945 ****
  					test="soap12:Envelope/soap12:Header/wsa:Action = 'http://tempuri.org/IEchoString/EchoBad'"/>
  			</message>
! 			<message from="B" to="A">
  				<assert
! 					test="wsa:ActionNotSupported fault on a new HTTP connection."/>
  			</message>
  		</message-exchange>
--- 933,941 ----
  					test="soap12:Envelope/soap12:Header/wsa:Action = 'http://tempuri.org/IEchoString/EchoBad'"/>
  			</message>
! 			<message from="B" to="A">
! 			<!-- TODO Write an XPath to check this - easy, just don't have the time right now
  				<assert
! 					test="wsa:ActionNotSupported fault on a new HTTP connection."/>
! 					-->
  			</message>
  		</message-exchange>
***************
*** 981,987 ****
  					test="soap12:Envelope/soap12:Header/wsa:Action = 'http://tempuri.org/IEchoString/EchoBad'"/>
        </message>
!       <message from="B" to="A">
          <assert
! 					test="wsa:ActionMismatch fault on the HTTP response."/>
        </message>
      </message-exchange>
--- 977,985 ----
  					test="soap12:Envelope/soap12:Header/wsa:Action = 'http://tempuri.org/IEchoString/EchoBad'"/>
        </message>
!       <message from="B" to="A">
!       <!-- TODO Write an XPath to check this - easy, just don't have the time right now
          <assert
! 					test="wsa:ActionMismatch fault on the HTTP response."/>
! 					-->
        </message>
      </message-exchange>
***************
*** 1024,1029 ****
  			</message>
  			<message from="B" to="A">
- 				<assert
- 					test="HTTP 202 Accepted response."/>
  			</message>
  		</message-exchange>
--- 1022,1025 ----
***************
*** 1066,1071 ****
  			</message>
  			<message from="B" to="A">
- 				<assert
- 					test="HTTP 202 Accepted response."/>
  			</message>
  		</message-exchange>
--- 1062,1065 ----
***************
*** 1461,1464 ****
--- 1455,1573 ----
           This scenario shows that the processor extracts the wsam:Metadata from conforming EPRs.]]>
  		</description>
+ 	</testcase>
+ 	
+ 	<testcase xml:id="test21000" origin="" cr="REQUIRED">
+ 		<title>request-response operation - explicit action</title>
+ 		<description><![CDATA[An explicit wsaw:Action is specified on the input and output message.
+ 							The presence of correct Action header is checked on the request and response message.]]></description>
+ 		<port>ServiceInterface</port>
+ 		<message-exchange type="SOAP11-HTTP-In-Out"
+ 			addr-binding="soap11">
+ 			<message from="A" to="B" document="wsdl20/messages-echo/message1.xml"
+ 				name="message">
+ 				<assert
+ 					test="soap11:Envelope/soap11:Header/wsa:Action = 'http://example.org/echo/request'" />
+ 			</message>
+ 			<message from="B" to="A" document="wsdl20/messages-echo/message2.xml"
+ 				name="message">
+ 				<assert
+ 					test="soap11:Envelope/soap11:Header/wsa:Action = 'http://example.org/echo/response'" />
+ 			</message>
+ 		</message-exchange>
+ 	</testcase>
+ 	<testcase xml:id="test21010" origin="" cr="REQUIRED">
+ 		<title>request-response operation (fault thrown) - explicit action</title>
+ 		<description><![CDATA[An explicit wsaw:Action is specified on the input and output message.
+ 							The presence of correct Action header is checked on the request and response message.]]></description>
+ 		<port>ServiceInterface</port>
+ 		<message-exchange type="SOAP11-HTTP-In-Out"
+ 			addr-binding="soap11">
+ 			<message from="A" to="B" document="wsdl20/messages-echo/message1.xml"
+ 				name="message">
+ 				<assert
+ 					test="soap11:Envelope/soap11:Header/wsa:Action = 'http://example.org/echo/request'" />
+ 			</message>
+ 			<message from="B" to="A" document="wsdl20/messages-echo/message3.xml"
+ 				name="message">
+ 				<assert
+ 					test="soap11:Envelope/soap11:Header/wsa:Action = 'http://example.org/echo/fault'" />
+ 			</message>
+ 		</message-exchange>
+ 	</testcase>
+ 	<testcase xml:id="test21020" origin="" cr="REQUIRED">
+ 		<title>request-response operation - default action</title>
+ 		<description><![CDATA[An explicit wsaw:Action is specified on the input and output message.
+ 							The presence of correct Action header is checked on the request and response message.]]></description>
+ 		<port>ServiceInterface</port>
+ 		<message-exchange type="SOAP11-HTTP-In-Out"
+ 			addr-binding="soap11">
+ 			<message from="A" to="B" document="wsdl20/messages-echo/message4.xml"
+ 				name="message">
+ 				<assert
+ 					test="soap11:Envelope/soap11:Header/wsa:Action = 'http://example.org/echo/ServiceInterface/echoRequest'" />
+ 			</message>
+ 			<message from="B" to="A" document="wsdl20/messages-echo/message5.xml"
+ 				name="message">
+ 				<assert
+ 					test="soap11:Envelope/soap11:Header/wsa:Action = 'http://example.org/echo/ServiceInterface/echoResponse'" />
+ 			</message>
+ 		</message-exchange>
+ 	</testcase>
+ 	<testcase xml:id="test21030" origin="" cr="REQUIRED">
+ 		<title>request-response operation (fault thrown) - default action</title>
+ 		<description><![CDATA[An explicit wsaw:Action is specified on the input and output message.
+ 							The presence of correct Action header is checked on the request and response message.]]></description>
+ 		<port>ServiceInterface</port>
+ 		<message-exchange type="SOAP11-HTTP-In-Out"
+ 			addr-binding="soap11">
+ 			<message from="A" to="B" document="wsdl20/messages-echo/message4.xml"
+ 				name="message">
+ 				<assert
+ 					test="soap11:Envelope/soap11:Header/wsa:Action = 'http://example.org/echo/ServiceInterface/echoRequest'" />
+ 			</message>
+ 			<message from="B" to="A" document="wsdl20/messages-echo/message6.xml"
+ 				name="message">
+ 				<assert
+ 					test="soap11:Envelope/soap11:Header/wsa:Action = 'http://example.org/echo/ServiceInterface/echoResponse/echoFaultName'" />
+ 			</message>
+ 		</message-exchange>
+ 	</testcase>
+ 		<testcase xml:id="test21040" origin="" cr="REQUIRED">
+ 		<title>request-response operation - default action (urn target namspace)</title>
+ 		<description><![CDATA[An explicit wsaw:Action is specified on the input and output message.
+ 							The presence of correct Action header is checked on the request and response message.]]></description>
+ 		<port>ServiceInterface</port>
+ 		<message-exchange type="SOAP11-HTTP-In-Out"
+ 			addr-binding="soap11">
+ 			<message from="A" to="B" document="wsdl20/messages-echo/message7.xml"
+ 				name="message">
+ 				<assert
+ 					test="soap11:Envelope/soap11:Header/wsa:Action = 'urn:example.org:wsaTestService3:ServiceInterface:echoRequest'" />
+ 			</message>
+ 			<message from="B" to="A" document="wsdl20/messages-echo/message8.xml"
+ 				name="message">
+ 				<assert
+ 					test="soap11:Envelope/soap11:Header/wsa:Action = 'urn:example.org:wsaTestService3:ServiceInterface:echoResponse'" />
+ 			</message>
+ 		</message-exchange>
+ 	</testcase>
+ 	<testcase xml:id="test21050" origin="" cr="REQUIRED">
+ 		<title>request-response operation (fault thrown) - default action (urn target namspace)</title>
+ 		<description><![CDATA[An explicit wsaw:Action is specified on the input and output message.
+ 							The presence of correct Action header is checked on the request and response message.]]></description>
+ 		<port>ServiceInterface</port>
+ 		<message-exchange type="SOAP11-HTTP-In-Out"
+ 			addr-binding="soap11">
+ 			<message from="A" to="B" document="wsdl20/messages-echo/message7.xml"
+ 				name="message">
+ 				<assert
+ 					test="soap11:Envelope/soap11:Header/wsa:Action = 'urn:example.org:wsaTestService3:ServiceInterface:echoRequest'" />
+ 			</message>
+ 			<message from="B" to="A" document="wsdl20/messages-echo/message9.xml"
+ 				name="message">
+ 				<assert
+ 					test="soap11:Envelope/soap11:Header/wsa:Action = 'urn:example.org:wsaTestService3:ServiceInterface:echoResponse:echoFaultName'" />
+ 			</message>
+ 		</message-exchange>
  	</testcase>
  </testcases>

Received on Sunday, 22 July 2007 20:49:57 UTC