- From: Rokicki, Derek <Derek.Rokicki@softwareag.com>
- Date: Mon, 12 Jan 2009 15:32:39 -0500
- To: <public-soap-jms@w3.org>
- Message-ID: <173583B35C32FD48B3114FB1122C3FEF0161B2B9@resmsg04.AME.ad.sag>
Group, I am looking for some feedback on ACTION-53, providing test cases in the properties area. These are the test cases that will cover Protocol-2005, Protocol-2006, Protocol-2007, and Protocol-2008. It seems that testing these protocols involves verifying that the JMS URI, WSDL, and/or environment settings were interpreted correctly, so I am not exactly sure where these tests belong or how detailed they should be. I have added a first draft of a test case for delivery mode that includes several sub test cases. Please take a look and let me know what you think either via email or at tomorrow's meeting. BTW, I have also noticed that our spec refers to the field javax.jms.DeliveryMode.NONPERSISTENT. The value should actually be DeliveryMode.NON_PERSISTENT. Regards, Derek test0005 - SOAP 1.1 setting delivery mode Description: SOAP one-way request message sent to a destination queue, using appropriate deliveryMode based on the JMS URI, WSDL, or environment. Assertions: Protocol-2005 --- test0005A - explicitly set deliveryMode to PERSISTENT in JMS URI (REQUIRED) JMS URI: jms:jndi:${jms_request_dest}?deliveryModeType=PERSISTENT Message flow(s): A sends a message to B. jmsmsg:MessageType = bytes jmsmsg:MessageID = ${request_message_id} jmsmsg:JMSDeliveryMode = 2 jmsmsg:JMSPriority = 4 jmsmsg:JMSExpiration = 0 jmsmsg:JMSReplyTo = null jmsmsg:JMSCorrelationID = null jmsmsg:JMSDestination = ${jms_request_dest} jmsmsg:JMSRedelivered = false jmsmsg:SOAPJMS_bindingVersion = '1.0' jmsmsg:SOAPJMS_targetService = 'PingPort' jmsmsg:SOAPJMS_contentType = 'text/xml' jmsmsg:SOAPJMS_soapAction = '' jmsmsg:SOAPJMS_requestIRI = 'jms:jndi:jms/MyQueue' jmsmsg:JMSMessageBody = ${soap_request_msg} --- test0005B - explicitly set deliveryMode to NONPERSISTENT in JMS URI (REQUIRED) JMS URI: jms:jndi:${jms_request_dest}?deliveryModeType= NONPERSISTENT Message flow(s): A sends a message to B. jmsmsg:MessageType = bytes jmsmsg:MessageID = ${request_message_id} jmsmsg:JMSDeliveryMode = 1 jmsmsg:JMSPriority = 4 jmsmsg:JMSExpiration = 0 jmsmsg:JMSReplyTo = null jmsmsg:JMSCorrelationID = null jmsmsg:JMSDestination = ${jms_request_dest} jmsmsg:JMSRedelivered = false jmsmsg:SOAPJMS_bindingVersion = '1.0' jmsmsg:SOAPJMS_targetService = 'PingPort' jmsmsg:SOAPJMS_contentType = 'text/xml' jmsmsg:SOAPJMS_soapAction = '' jmsmsg:SOAPJMS_requestIRI = 'jms:jndi:jms/MyQueue' jmsmsg:JMSMessageBody = ${soap_request_msg} --- test0005C - explicitly set deliveryMode to PERSISTENT in WSDL 1.1 JMS Binding (OPTIONAL) WSDL 1.1 JMS Binding: <wsdl11:binding.../> ... <soapjms:deliveryMode>PERSISTENT</soapjms:deliveryMode> ... </wsdl11:binding> Message flow(s): A sends a message to B. jmsmsg:MessageType = bytes jmsmsg:MessageID = ${request_message_id} jmsmsg:JMSDeliveryMode = 2 jmsmsg:JMSPriority = 4 jmsmsg:JMSExpiration = 0 jmsmsg:JMSReplyTo = null jmsmsg:JMSCorrelationID = null jmsmsg:JMSDestination = ${jms_request_dest} jmsmsg:JMSRedelivered = false jmsmsg:SOAPJMS_bindingVersion = '1.0' jmsmsg:SOAPJMS_targetService = 'PingPort' jmsmsg:SOAPJMS_contentType = 'text/xml' jmsmsg:SOAPJMS_soapAction = '' jmsmsg:SOAPJMS_requestIRI = 'jms:jndi:jms/MyQueue' jmsmsg:JMSMessageBody = ${soap_request_msg} --- test0005D - explicitly set deliveryMode to NONPERSISTENT in WSDL 1.1 JMS Binding (OPTIONAL) WSDL 1.1 JMS Binding: <wsdl11:binding.../> ... <soapjms:deliveryMode>NONPERSISTENT</soapjms:deliveryMode> ... </wsdl11:binding> Message flow(s): A sends a message to B. jmsmsg:MessageType = bytes jmsmsg:MessageID = ${request_message_id} jmsmsg:JMSDeliveryMode = 1 jmsmsg:JMSPriority = 4 jmsmsg:JMSExpiration = 0 jmsmsg:JMSReplyTo = null jmsmsg:JMSCorrelationID = null jmsmsg:JMSDestination = ${jms_request_dest} jmsmsg:JMSRedelivered = false jmsmsg:SOAPJMS_bindingVersion = '1.0' jmsmsg:SOAPJMS_targetService = 'PingPort' jmsmsg:SOAPJMS_contentType = 'text/xml' jmsmsg:SOAPJMS_soapAction = '' jmsmsg:SOAPJMS_requestIRI = 'jms:jndi:jms/MyQueue' jmsmsg:JMSMessageBody = ${soap_request_msg} --- test0005E - explicitly set deliveryMode to PERSISTENT in WSDL 2.0 JMS Binding (OPTIONAL) WSDL 2.0 JMS Binding: <wsdl20:binding.../> ... <soapjms:deliveryMode>PERSISTENT</soapjms:deliveryMode> ... </wsdl20:binding> Message flow(s): A sends a message to B. jmsmsg:MessageType = bytes jmsmsg:MessageID = ${request_message_id} jmsmsg:JMSDeliveryMode = 2 jmsmsg:JMSPriority = 4 jmsmsg:JMSExpiration = 0 jmsmsg:JMSReplyTo = null jmsmsg:JMSCorrelationID = null jmsmsg:JMSDestination = ${jms_request_dest} jmsmsg:JMSRedelivered = false jmsmsg:SOAPJMS_bindingVersion = '1.0' jmsmsg:SOAPJMS_targetService = 'PingPort' jmsmsg:SOAPJMS_contentType = 'text/xml' jmsmsg:SOAPJMS_soapAction = '' jmsmsg:SOAPJMS_requestIRI = 'jms:jndi:jms/MyQueue' jmsmsg:JMSMessageBody = ${soap_request_msg} --- test0005D - explicitly set deliveryMode to NONPERSISTENT in WSDL 2.0 JMS Binding (OPTIONAL) WSDL 2.0 JMS Binding: <wsdl20:binding.../> ... <soapjms:deliveryMode>PERSISTENT</soapjms:deliveryMode> ... </wsdl20:binding> Message flow(s): A sends a message to B. jmsmsg:MessageType = bytes jmsmsg:MessageID = ${request_message_id} jmsmsg:JMSDeliveryMode = 1 jmsmsg:JMSPriority = 4 jmsmsg:JMSExpiration = 0 jmsmsg:JMSReplyTo = null jmsmsg:JMSCorrelationID = null jmsmsg:JMSDestination = ${jms_request_dest} jmsmsg:JMSRedelivered = false jmsmsg:SOAPJMS_bindingVersion = '1.0' jmsmsg:SOAPJMS_targetService = 'PingPort' jmsmsg:SOAPJMS_contentType = 'text/xml' jmsmsg:SOAPJMS_soapAction = '' jmsmsg:SOAPJMS_requestIRI = 'jms:jndi:jms/MyQueue' jmsmsg:JMSMessageBody = ${soap_request_msg} --- test0005E: deliveryMode set in the environment to be PERSISTENT (OPTIONAL) Message flow(s): A sends a message to B. jmsmsg:MessageType = bytes jmsmsg:MessageID = ${request_message_id} jmsmsg:JMSDeliveryMode = 2 jmsmsg:JMSPriority = 4 jmsmsg:JMSExpiration = 0 jmsmsg:JMSReplyTo = null jmsmsg:JMSCorrelationID = null jmsmsg:JMSDestination = ${jms_request_dest} jmsmsg:JMSRedelivered = false jmsmsg:SOAPJMS_bindingVersion = '1.0' jmsmsg:SOAPJMS_targetService = 'PingPort' jmsmsg:SOAPJMS_contentType = 'text/xml' jmsmsg:SOAPJMS_soapAction = '' jmsmsg:SOAPJMS_requestIRI = 'jms:jndi:jms/MyQueue' jmsmsg:JMSMessageBody = ${soap_request_msg} --- test0005F: deliveryMode set in the environment to be NONPERSISTENT (OPTIONAL) Message flow(s): A sends a message to B. jmsmsg:MessageType = bytes jmsmsg:MessageID = ${request_message_id} jmsmsg:JMSDeliveryMode = 1 jmsmsg:JMSPriority = 4 jmsmsg:JMSExpiration = 0 jmsmsg:JMSReplyTo = null jmsmsg:JMSCorrelationID = null jmsmsg:JMSDestination = ${jms_request_dest} jmsmsg:JMSRedelivered = false jmsmsg:SOAPJMS_bindingVersion = '1.0' jmsmsg:SOAPJMS_targetService = 'PingPort' jmsmsg:SOAPJMS_contentType = 'text/xml' jmsmsg:SOAPJMS_soapAction = '' jmsmsg:SOAPJMS_requestIRI = 'jms:jndi:jms/MyQueue' jmsmsg:JMSMessageBody = ${soap_request_msg} --- test0005G: deliveryMode not set in JMS URI, WSDL, or environment (use default value of PERSISTENT) (REQUIRED) Message flow(s): A sends a message to B. jmsmsg:MessageType = bytes jmsmsg:MessageID = ${request_message_id} jmsmsg:JMSDeliveryMode = 2 jmsmsg:JMSPriority = 4 jmsmsg:JMSExpiration = 0 jmsmsg:JMSReplyTo = null jmsmsg:JMSCorrelationID = null jmsmsg:JMSDestination = ${jms_request_dest} jmsmsg:JMSRedelivered = false jmsmsg:SOAPJMS_bindingVersion = '1.0' jmsmsg:SOAPJMS_targetService = 'PingPort' jmsmsg:SOAPJMS_contentType = 'text/xml' jmsmsg:SOAPJMS_soapAction = '' jmsmsg:SOAPJMS_requestIRI = 'jms:jndi:jms/MyQueue' jmsmsg:JMSMessageBody = ${soap_request_msg} ??? What about adding a test for Protocol-2001 and Protocol-2002? To be thorough we should ensure that each property abides by these protocols.
Received on Monday, 12 January 2009 20:36:01 UTC