SOAP over Java Message Service 1.0 - Test Cases

Testcase Summary

Testcase ID Title Description
test0001 SOAP 1.1 one-way request SOAP 1.1 one-way request message sent to a destination queue.
test0002 SOAP 1.1 two-way request SOAP 1.1 two-way request message sent to a request queue, and response message returned to response queue.
test0101 SOAP 1.2 one-way request SOAP 1.2 one-way request message sent to a destination queue.
test0102 SOAP 1.2 two-way request SOAP 1.2 two-way request message sent to a request queue, and response message returned to response queue.
test0003 SOAP 1.2 one-way request using TextMessage SOAP 1.2 one-way request message (using TextMessage) sent to a destination queue. Vendor-specific mechanism used to select TextMessage.
test0004 SOAP 1.1 two-way request using TextMessage SOAP 1.1 two-way request message sent to a request queue, and response message returned to response queue. Vendor-specific mechanism used to select TextMessage.
test0005 JMS Message Header properties: Set values in JMS URI Explicitly set deliveryMode, timeToLive, priority, and replyToName in JMS URI.
test0006 JMS Message Header properties: Set values in WSDL 1.1 JMS bindings Explicitly set deliveryMode, timeToLive, priority, and replyToName in WSDL 1.1 JMS bindings.
test0007 JMS Message Header properties: Set values in WSDL 2.0 JMS bindings Explicitly set deliveryMode, timeToLive, priority, and replyToName in WSDL 2.0 JMS bindings.
test0008 JMS Message Header properties: Set values in environment Explicitly set deliveryMode, timeToLive, priority, and replyToName in the client environment.
test0009 JMS Message Header properties: Set values in multiple (3) sources Explicitly set deliveryMode, timeToLive, priority, and replyToName to different values in the JMS URI, WSDL 1.1 bindings, and environment.
test0010 JMS Message Header properties: Set values in multiple (2) sources Explicitly set deliveryMode, timeToLive, priority, and replyToName to different values in the JMS URI and WSDL 1.1 bindings.
test0011 JMS Message Header properties: Set values more than once in JMS URI Explicitly set deliveryMode, timeToLive, priority, and replyToName more than once in JMS URI.
test0012 JMS Message Header properties: Do not set values Exclude deliveryMode, timeToLive, priority, and replyToName from JMS URI, WSDL, and environment.
test0013 JMS Message Header property priorities: WSDL 1.1 bindings Set deliveryMode, timeToLive, priority in different places in WSDL 1.1 JMS bindings to verify precedence.
test0014 JMS Message Header property priorities: WSDL 1.1 bindings Set deliveryMode, timeToLive, priority in different places in WSDL 1.1 JMS bindings to verify precedence.
test0015 JMS Message Header property priorities: WSDL 2.0 bindings Set deliveryMode, timeToLive, priority in different places in WSDL 2.0 JMS bindings to verify precedence.
test0016 JMS Message Header property priorities: WSDL 2.0 bindings Set deliveryMode, timeToLive, priority in different places in WSDL 2.0 JMS bindings to verify precedence.
test0017 JMS Message Header properties: Set values in multiple sources Explicitly set deliveryMode, timeToLive, priority, and replyToName to different values in the JMS URI and environment.
test0018 SOAP 1.1 one-way request to a topic SOAP 1.1 one-way request message sent to a destination topic.
test0019 SOAP 1.2 one-way request using TextMessage to a topic SOAP 1.2 one-way request message (using TextMessage) sent to a destination topic. Vendor-specific mechanism used to select TextMessage.
test0020 SOAP 1.1 two-way request jms "queue" variant, topicReplyToName SOAP 1.1 two-way request message sent to a request queue, and response message returned to response topic. Uses a "queue" variant URI which implementations may opt to support.
test1001 SOAP 1.1 two-way request unrecognized bindingVersion SOAP 1.1 two-way request message with unrecognized bindingVersion sent to a request queue, and fault message returned to response queue.
test1101 SOAP 1.2 two-way request unrecognized bindingVersion SOAP 1.2 two-way request message with unrecognized bindingVersion sent to a request queue, and fault message returned to response queue.
test1002 SOAP 1.1 two-way request unsupported JMS message format SOAP 1.1 two-way request message with unsupported JMS message format sent to a request queue, and fault message returned to response queue.
test1102 SOAP 1.2 two-way request unsupported JMS message format SOAP 1.2 two-way request message with unsupported JMS message format sent to a request queue, and fault message returned to response queue.
test1003 SOAP 1.1 two-way request with content-type charset mismatch SOAP 1.1 two-way request message with charset mismatch between contentType header and XML encoding statement sent to a request queue, and fault message returned to response queue.
test1103 SOAP 1.2 two-way request with content-type charset mismatch SOAP 1.2 two-way request message with charset mismatch between contentType header and XML encoding statement sent to a request queue, and fault message returned to response queue.
test1004 SOAP 1.1 two-way request malformed requestURI SOAP 1.1 two-way request message with malformed requestURI sent to a request queue, and fault message returned to response queue.
test1104 SOAP 1.2 two-way request malformed requestURI SOAP 1.2 two-way request message with malformed requestURI sent to a request queue, and fault message returned to response queue.
test1005 SOAP 1.1 two-way request soapAction mismatch SOAP 1.1 two-way request message with soapAction mismatch sent to a request queue, and fault message returned to response queue.
test1105 SOAP 1.2 two-way request soapAction mismatch SOAP 1.2 two-way request message with soapAction mmismatch sent to a request queue, and fault message returned to response queue.
test1006 SOAP 1.1 two-way request missing content type SOAP 1.1 two-way request message with missing content type sent to a request queue, and fault message returned to response queue.
test1106 SOAP 1.2 two-way request missing content type SOAP 1.2 two-way request message with missing content type sent to a request queue, and fault message returned to response queue.
test1007 SOAP 1.1 two-way request missing request URI SOAP 1.1 two-way request message with missing request URI sent to a request queue, and fault message returned to response queue.
test1107 SOAP 1.2 two-way request missing request URI SOAP 1.2 two-way request message with missing request URI sent to a request queue, and fault message returned to response queue.
test1008 SOAP 1.1 two-way request targetService in RequestURI SOAP 1.1 two-way request message with targetService in RequestURI sent to a request queue, and fault message returned to response queue.
test1108 SOAP 1.2 two-way request targetService in RequestURI SOAP 1.2 two-way request message with targetService in RequestURI sent to a request queue, and fault message returned to response queue.
test1009 SOAP 1.1 two-way request using unspported lookup variant in request URI SOAP 1.1 two-way request which specifies a request URI containing an unsupported lookup variant, resulting in a fault.
test1109 SOAP 1.2 two-way request using unspported lookup variant in request URI SOAP 1.2 two-way request which specifies a request URI containing an unsupported lookup variant, resulting in a fault.


Variables

The following variables are used throughout the testcase definitions and are defined here:

Variable Name Description
request_message_id The message ID assigned to a JMS request message by the underlying messaging engine.
response_message_id The message ID assigned to a JMS response message by the underlying messaging engine.
jms_request_dest The identifier of a JMS destination queue or topic to which a request message will be sent. This identifier is assigned by the underlying messaging engine.
jms_response_dest The identifier of a JMS destination queue or topic to which a response message will be sent. This identifier is assigned by the underlying messaging engine.
soap_request_msg The contents of the SOAP request message inserted into a JMS message.
soap_response_msg The contents of the SOAP response message inserted into a JMS message.


Testcase details

test0001 - SOAP 1.1 one-way request (REQUIRED)

Description: SOAP 1.1 one-way request message sent to a destination queue.

Assertions: Protocol-2003 Protocol-2004 Protocol-2009 Protocol-2010 Protocol-2016 Protocol-2018 Protocol-2021 Protocol-2022 Protocol-2027 Protocol-2029 Protocol-2030 Protocol-2033 Protocol-2051 Protocol-2060

Message exchange pattern: SOAP11-JMS-In-Only

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=PingPort

Message flow(s):

  1. 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_requestURI = 'jms:jndi:jms/MyQueue'
    • jmsmsg:JMSMessageBody = ${soap_request_msg}



test0002 - SOAP 1.1 two-way request (REQUIRED)

Description: SOAP 1.1 two-way request message sent to a request queue, and response message returned to response queue.

Assertions: Protocol-2002 Protocol-2004 Protocol-2009 Protocol-2010 Protocol-2016 Protocol-2018 Protocol-2021 Protocol-2022 Protocol-2027 Protocol-2029 Protocol-2030 Protocol-2033 Protocol-2036 Protocol-2037 Protocol-2038 Protocol-2050 Protocol-2060

Message exchange pattern: SOAP11-JMS-In-Out

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

Message flow(s):

  1. 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 = ${jms_response_dest}
    • jmsmsg:JMSCorrelationID = 'Correlator0002'
    • jmsmsg:JMSDestination = ${jms_request_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_targetService = 'EchoPort'
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:SOAPJMS_soapAction = ''
    • jmsmsg:SOAPJMS_requestURI = 'jms:jndi:jms/MyQueue'
    • jmsmsg:JMSMessageBody = ${soap_request_msg}
  2. B sends a message to A.
    • jmsmsg:MessageType = bytes
    • jmsmsg:MessageID = ${response_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = null
    • jmsmsg:JMSCorrelationID = 'Correlator0002'
    • jmsmsg:JMSDestination = ${jms_response_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:JMSMessageBody = ${soap_response_msg}



test0101 - SOAP 1.2 one-way request (REQUIRED)

Description: SOAP 1.2 one-way request message sent to a destination queue.

Assertions: Protocol-2003 Protocol-2004 Protocol-2009 Protocol-2010 Protocol-2016 Protocol-2018 Protocol-2021 Protocol-2022 Protocol-2027 Protocol-2029 Protocol-2030 Protocol-2032 Protocol-2051 Protocol-2060

Message exchange pattern: SOAP12-JMS-In-Only

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=PingPort

Message flow(s):

  1. 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_requestURI = 'jms:jndi:jms/MyQueue'
    • jmsmsg:JMSMessageBody = ${soap_request_msg}



test0102 - SOAP 1.2 two-way request (REQUIRED)

Description: SOAP 1.2 two-way request message sent to a request queue, and response message returned to response queue.

Assertions: Protocol-2002 Protocol-2004 Protocol-2009 Protocol-2010 Protocol-2016 Protocol-2018 Protocol-2021 Protocol-2022 Protocol-2027 Protocol-2029 Protocol-2030 Protocol-2032 Protocol-2036 Protocol-2037 Protocol-2038 Protocol-2050 Protocol-2060

Message exchange pattern: SOAP12-JMS-In-Out

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

Message flow(s):

  1. 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 = ${jms_response_dest}
    • jmsmsg:JMSCorrelationID = 'Correlator0102'
    • jmsmsg:JMSDestination = ${jms_request_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_targetService = 'EchoPort'
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:SOAPJMS_soapAction = ''
    • jmsmsg:SOAPJMS_requestURI = 'jms:jndi:jms/MyQueue'
    • jmsmsg:JMSMessageBody = ${soap_request_msg}
  2. B sends a message to A.
    • jmsmsg:MessageType = bytes
    • jmsmsg:MessageID = ${response_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = null
    • jmsmsg:JMSCorrelationID = 'Correlator0102'
    • jmsmsg:JMSDestination = ${jms_response_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:JMSMessageBody = ${soap_response_msg}



test0003 - SOAP 1.2 one-way request using TextMessage (REQUIRED)

Description: SOAP 1.2 one-way request message (using TextMessage) sent to a destination queue. Vendor-specific mechanism used to select TextMessage.

Assertions: Protocol-2003 Protocol-2004 Protocol-2009 Protocol-2010 Protocol-2016 Protocol-2018 Protocol-2021 Protocol-2022 Protocol-2027 Protocol-2029 Protocol-2030 Protocol-2032 Protocol-2051 Protocol-2060 Protocol-2072

Message exchange pattern: SOAP12-JMS-In-Only

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=PingPort

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:MessageType = text
    • 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_requestURI = 'jms:jndi:jms/MyQueue'
    • jmsmsg:JMSMessageBody = ${soap_request_msg}



test0004 - SOAP 1.1 two-way request using TextMessage (REQUIRED)

Description: SOAP 1.1 two-way request message sent to a request queue, and response message returned to response queue. Vendor-specific mechanism used to select TextMessage.

Assertions: Protocol-2002 Protocol-2004 Protocol-2009 Protocol-2010 Protocol-2016 Protocol-2018 Protocol-2021 Protocol-2022 Protocol-2027 Protocol-2029 Protocol-2030 Protocol-2033 Protocol-2036 Protocol-2037 Protocol-2038 Protocol-2050 Protocol-2060 Protocol-2072

Message exchange pattern: SOAP11-JMS-In-Out

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:MessageType = text
    • jmsmsg:MessageID = ${request_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = ${jms_response_dest}
    • jmsmsg:JMSCorrelationID = null
    • jmsmsg:JMSDestination = ${jms_request_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_targetService = 'EchoPort'
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:SOAPJMS_soapAction = ''
    • jmsmsg:SOAPJMS_requestURI = 'jms:jndi:jms/MyQueue'
    • jmsmsg:JMSMessageBody = ${soap_request_msg}
  2. B sends a message to A.
    • jmsmsg:MessageType = text
    • jmsmsg:MessageID = ${response_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = null
    • jmsmsg:JMSCorrelationID = ${request_message_id}
    • jmsmsg:JMSDestination = ${jms_response_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:JMSMessageBody = ${soap_response_msg}



test0005 - JMS Message Header properties: Set values in JMS URI (REQUIRED)

Description: Explicitly set deliveryMode, timeToLive, priority, and replyToName in JMS URI.

Assertions: Protocol-2005 Protocol-2006 Protocol-2007 Protocol-2008 Protocol-2060

Message exchange pattern: SOAP11-JMS-In-Out

JMS URI: jms:jndi:jms/MyQueue?jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort&deliveryModeType=NON_PERSISTENT&timeToLive=3600000&priority=5&replyToName=jms/MyReplyQueue

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:JMSReplyTo = ${jms_response_dest}
    • jmsmsg:JMSDeliveryMode = 1
    • jmsmsg:JMSPriority = 5
    • jmsmsg:JMSExpiration = {approximately 3600000 greater than the current GMT value}
    • jmsmsg:JMSDestination = ${jms_request_dest}
  2. B sends a message to A.
    • jmsmsg:JMSDestination = ${jms_response_dest}



test0006 - JMS Message Header properties: Set values in WSDL 1.1 JMS bindings (OPTIONAL)

Description: Explicitly set deliveryMode, timeToLive, priority, and replyToName in WSDL 1.1 JMS bindings.

Assertions: Protocol-2005 Protocol-2006 Protocol-2007 Protocol-2008 WSDLUsage-3001 WSDLUsage-3002 WSDLUsage-3003 WSDLUsage-3004

Message exchange pattern: SOAP12-JMS-In-Out

WSDL fragment:

    
      ...
      <wsdl11:binding name="MyBinding1" type="MyPortType1">
         <wsdl11soap11:binding style="document" transport="http://www.w3.org/2010/soapjms/"/>
         ...
         <soapjms:deliveryMode>PERSISTENT</soapjms:deliveryMode>
         <soapjms:timeToLive>7200000</soapjms:timeToLive>
         <soapjms:priority>3</soapjms:priority>
         ...
      </wsdl11:binding>
      ...
      <wsdl11:service name="MyService1">
         ...
         <soapjms:deliveryMode>NON_PERSISTENT</soapjms:deliveryMode>
         <soapjms:priority>6</soapjms:priority>
         ...
         <wsdl11:port binding="MyBinding1" name="MyPort1">
             <wsdl11soap11:address location="jms:jndi:myQueue?targetService=MyPort1"/>
            ...
            <soapjms:replyToName>jms/AReplyQueue</soapjms:replyToName>
         ...
         </wsdl11:port>
         ...
      </wsdl11:service>
    
    

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:JMSReplyTo = ${jms_response_dest} (refers to 'jms/AReplyQueue')
    • jmsmsg:JMSDeliveryMode = 1
    • jmsmsg:JMSPriority = 6
    • jmsmsg:JMSExpiration = {approximately 7200000 ms greater than the current GMT value}
    • jmsmsg:JMSDestination = ${jms_request_dest} (refers to 'myQueue')
  2. B sends a message to A.
    • jmsmsg:JMSDestination = ${jms_response_dest}



test0007 - JMS Message Header properties: Set values in WSDL 2.0 JMS bindings (OPTIONAL)

Description: Explicitly set deliveryMode, timeToLive, priority, and replyToName in WSDL 2.0 JMS bindings.

Assertions: Protocol-2005 Protocol-2006 Protocol-2007 Protocol-2008 Protocol-2032 WSDLUsage-3001 WSDLUsage-3002 WSDLUsage-3003 WSDLUsage-3004

Message exchange pattern: SOAP12-JMS-In-Out

WSDL fragment:

    
      <wsdl20:description xmlns:wsoap="http://www.w3.org/ns/wsdl/soap">
         ...
         <wsdl20:binding name="MyBinding1" interface="MyInterface1" type="http://www.w3.org/ns/wsdl/soap" wsoap:version="1.1"
              wsoap:protocol="http://www.w3.org/2010/soapjms/">
         ...
         <soapjms:deliveryMode>NON_PERSISTENT</soapjms:deliveryMode>
         <soapjms:timeToLive>60000</soapjms:timeToLive>
         <soapjms:priority>9</soapjms:priority>
         ...
      </wsdl20:binding>
      ...
      <wsdl20:service name="MyService1" interface="MyInterface1">
         ...
         <soapjms:deliveryMode>PERSISTENT</soapjms:deliveryMode>
         <soapjms:timeToLive>30000</soapjms:timeToLive>
         ...
         <wsdl20:endpoint binding="MyBinding1" name="MyPort1"
             address="jms:jndi:myQueue?targetService=MyPort1"/>
            ...
            <soapjms:timeToLive>10000</soapjms:timeToLive>
            <soapjms:priority>7</soapjms:priority>
            <soapjms:replyToName>jms/AReplyQueue</soapjms:replyToName>
            ...
         </wsdl20:endpoint>
         ...
       </wsdl20:service>
    </wsdl20:description>
    
    

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:JMSReplyTo = ${jms_response_dest} (refers to 'jms/AReplyQueue')
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 7
    • jmsmsg:JMSExpiration = {approximately 10000 ms greater than the current GMT value}
    • jmsmsg:JMSDestination = ${jms_request_dest} (refers to 'myQueue')
  2. B sends a message to A.
    • jmsmsg:JMSDestination = ${jms_response_dest}



test0008 - JMS Message Header properties: Set values in environment (OPTIONAL)

Description: Explicitly set deliveryMode, timeToLive, priority, and replyToName in the client environment.

Assertions: Protocol-2005 Protocol-2006 Protocol-2007 Protocol-2008 Protocol-2032

Message exchange pattern: SOAP12-JMS-In-Out

Client environment:

delivery mode = NON_PERSISTENT
time to live = 14400000
priority = 8
reply to name = jms/MyReplyQueue

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:JMSReplyTo = ${jms_response_dest}
    • jmsmsg:JMSDeliveryMode = 1
    • jmsmsg:JMSPriority = 8
    • jmsmsg:JMSExpiration = {approximately 14400000 greater than the current GMT value}
    • jmsmsg:JMSDestination = ${jms_request_dest}
  2. B sends a message to A.
    • jmsmsg:JMSDestination = ${jms_response_dest}



test0009 - JMS Message Header properties: Set values in multiple (3) sources (OPTIONAL)

Description: Explicitly set deliveryMode, timeToLive, priority, and replyToName to different values in the JMS URI, WSDL 1.1 bindings, and environment.

Assertions: Protocol-2001 Protocol-2005 Protocol-2006 Protocol-2007 Protocol-2008 Protocol-2060 Protocol-2033 WSDLUsage-3001 WSDLUsage-3002 WSDLUsage-3003 WSDLUsage-3004

Message exchange pattern: SOAP11-JMS-In-Out

JMS URI: jms:jndi:jms/MyQueue?targetService=EchoPort&deliveryModeType=PERSISTENT&timeToLive=3600000&priority=1&replyToName=jms/MyReplyQueueA

WSDL binding:

<wsdl11:binding.../>
<soapjms:deliveryMode>PERSISTENT</soapjms:deliveryMode>
<soapjms:timeToLive>7200000</soapjms:timeToLive>
<soapjms:priority>2</soapjms:priority>
<soapjms:replyToName>jms/MyReplyQueueB</soapjms:replyToName>
...
</wsdl11:binding/>

Client environment:

delivery mode = NON_PERSISTENT
time to live = 10800000
priority = 3
reply to name = jms/MyReplyQueueC

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:JMSReplyTo = ${jms_response_destC}
    • jmsmsg:JMSDeliveryMode = 1
    • jmsmsg:JMSPriority = 3
    • jmsmsg:JMSExpiration = {approximately 10800000 greater than the current GMT value}
    • jmsmsg:JMSDestination = ${jms_request_dest}
  2. B sends a message to A.
    • jmsmsg:JMSDestination = ${jms_response_destC}



test0010 - JMS Message Header properties: Set values in multiple (2) sources (OPTIONAL)

Description: Explicitly set deliveryMode, timeToLive, priority, and replyToName to different values in the JMS URI and WSDL 1.1 bindings.

Assertions: Protocol-2001 Protocol-2005 Protocol-2006 Protocol-2007 Protocol-2008 Protocol-2060 WSDLUsage-3001 WSDLUsage-3002 WSDLUsage-3003 WSDLUsage-3004

Message exchange pattern: SOAP11-JMS-In-Out

JMS URI: jms:jndi:jms/MyQueue?deliveryModeType=PERSISTENT&timeToLive=3600000&priority=1&replyToName=jms/MyReplyQueueA

WSDL binding:

<wsdl11:binding.../>
<soapjms:deliveryMode>NON_PERSISTENT</soapjms:deliveryMode>
<soapjms:timeToLive>7200000</soapjms:timeToLive>
<soapjms:priority>2</soapjms:priority>
<soapjms:replyToName>jms/MyReplyQueueB</soapjms:replyToName>
...
</wsdl11:binding/>

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:JMSReplyTo = ${jms_response_destB}
    • jmsmsg:JMSDeliveryMode = 1
    • jmsmsg:JMSPriority = 2
    • jmsmsg:JMSExpiration = {approximately 7200000 greater than the current GMT value}
    • jmsmsg:JMSDestination = ${jms_request_dest}
  2. B sends a message to A.
    • jmsmsg:JMSDestination = ${jms_response_destB}



test0011 - JMS Message Header properties: Set values more than once in JMS URI (REQUIRED)

Description: Explicitly set deliveryMode, timeToLive, priority, and replyToName more than once in JMS URI.

Assertions: Protocol-2002 Protocol-2005 Protocol-2006 Protocol-2007 Protocol-2008 Protocol-2060

Message exchange pattern: SOAP11-JMS-In-Out

JMS URI: jms:jndi:jms/MyQueue?deliveryModeType=PERSISTENT&timeToLive=3600000&priority=1&replyToName=jms/MyReplyQueueA&deliveryModeType=NON_PERSISTENT&timeToLive=7200000&priority=2&replyToName=jms/MyReplyQueueB

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:JMSReplyTo = ${jms_response_destB}
    • jmsmsg:JMSDeliveryMode = 1
    • jmsmsg:JMSPriority = 2
    • jmsmsg:JMSExpiration = {approximately 7200000 greater than the current GMT value}
    • jmsmsg:JMSDestination = ${jms_request_dest}
  2. B sends a message to A.
    • jmsmsg:JMSDestination = ${jms_response_destB}



test0012 - JMS Message Header properties: Do not set values (REQUIRED)

Description: Exclude deliveryMode, timeToLive, priority, and replyToName from JMS URI, WSDL, and environment.

Assertions: Protocol-2005 Protocol-2006 Protocol-2007 Protocol-2008 Protocol-2060

Message exchange pattern: SOAP11-JMS-In-Out

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSDestination = ${jms_response_dest}
  2. B sends a message to A.
    • jmsmsg:JMSDestination = ${jms_response_dest}

Note:${jms_response_dest} is determined by client. This destination may be a temporary queue generated as described in the JMS specification.

Note:This testcase is essentially the same as test0002.




test0013 - JMS Message Header property priorities: WSDL 1.1 bindings (OPTIONAL)

Description: Set deliveryMode, timeToLive, priority in different places in WSDL 1.1 JMS bindings to verify precedence.

Assertions: Protocol-2005 Protocol-2006 Protocol-2007 Protocol-2008 WSDLUsage-3001 WSDLUsage-3002 WSDLUsage-3003 WSDLUsage-3004

Message exchange pattern: SOAP11-JMS-In-Out

WSDL fragment:

    
      ...
      <wsdl11:binding name="MyBinding1" type="MyPortType1">
         <wsdl11soap11:binding style="document" transport="http://www.w3.org/2010/soapjms/"/>
         <soapjms:timeToLive>7200000</soapjms:timeToLive>
         ...
      </wsdl11:binding>
      ...
      <wsdl11:service name="MyService1">
         ...
         <soapjms:deliveryMode>NON_PERSISTENT</soapjms:deliveryMode>
         ...
         <wsdl11:port binding="MyBinding1" name="MyPort1">
             <soapjms:priority>4</soapjms:priority>
             <wsdl11soap11:address location="jms:jndi:myQueue?targetService=MyPort1&amp;priority=5&amp;deliveryMode=PERSISTENT&amp;timeToLive=360000"/>
            ...
         ...
         </wsdl11:port>
         ...
      </wsdl11:service>
    
    

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 5
    • jmsmsg:JMSExpiration = {approximately 360000 ms greater than the current GMT value}
  2. B sends a message to A.
    • jmsmsg:JMSDestination = ${jms_response_dest}



test0014 - JMS Message Header property priorities: WSDL 1.1 bindings (OPTIONAL)

Description: Set deliveryMode, timeToLive, priority in different places in WSDL 1.1 JMS bindings to verify precedence.

Assertions: Protocol-2005 Protocol-2006 Protocol-2007 Protocol-2008 WSDLUsage-3001 WSDLUsage-3002 WSDLUsage-3003 WSDLUsage-3004

Message exchange pattern: SOAP11-JMS-In-Out

WSDL fragment:

    
      ...
      <wsdl11:binding name="MyBinding1" type="MyPortType1">
         <wsdl11soap11:binding style="document" transport="http://www.w3.org/2010/soapjms/"/>
         <soapjms:timeToLive>7200000</soapjms:timeToLive>
         <soapjms:priority>4</soapjms:priority>
         ...
      </wsdl11:binding>
      ...
      <wsdl11:service name="MyService1">
         ...
         <soapjms:deliveryMode>NON_PERSISTENT</soapjms:deliveryMode>
         <soapjms:priority>5</soapjms:priority>
         ...
         <wsdl11:port binding="MyBinding1" name="MyPort1">
             <soapjms:deliveryMode>PERSISTENT</soapjms:deliveryMode>
             <soapjms:timeToLive>3600000</soapjms:timeToLive>
             <wsdl11soap11:address location="jms:jndi:myQueue?targetService=MyPort1"/>
            ...
         ...
         </wsdl11:port>
         ...
      </wsdl11:service>
    
    

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 5
    • jmsmsg:JMSExpiration = {approximately 360000 ms greater than the current GMT value}
  2. B sends a message to A.
    • jmsmsg:JMSDestination = ${jms_response_dest}



test0015 - JMS Message Header property priorities: WSDL 2.0 bindings (OPTIONAL)

Description: Set deliveryMode, timeToLive, priority in different places in WSDL 2.0 JMS bindings to verify precedence.

Assertions: Protocol-2005 Protocol-2006 Protocol-2007 Protocol-2008 WSDLUsage-3001 WSDLUsage-3002 WSDLUsage-3003 WSDLUsage-3004

Message exchange pattern: SOAP11-JMS-In-Out

WSDL fragment:

    
      <wsdl20:description xmlns:wsoap="http://www.w3.org/ns/wsdl/soap">
         ...
         <wsdl20:binding name="MyBinding1" interface="MyInterface1" type="http://www.w3.org/ns/wsdl/soap" wsoap:version="1.1"
              wsoap:protocol="http://www.w3.org/2010/soapjms/">
         ...
         <soapjms:timeToLive>7200000</soapjms:timeToLive>
         ...
      </wsdl20:binding>
      ...
      <wsdl20:service name="MyService1" interface="MyInterface1">
         ...
         <soapjms:deliveryMode>NON_PERSISTENT</soapjms:deliveryMode>
         ...
         <wsdl20:endpoint binding="MyBinding1" name="MyPort1"
             address="jms:jndi:myQueue?targetService=MyPort1&amp;priority=5&amp;deliveryMode=PERSISTENT&amp;timeToLive=360000"/>
            ...
             <soapjms:priority>4</soapjms:priority>
            ...
         </wsdl20:endpoint>
         ...
       </wsdl20:service>
    </wsdl20:description>
    
    

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 5
    • jmsmsg:JMSExpiration = {approximately 360000 ms greater than the current GMT value}
  2. B sends a message to A.
    • jmsmsg:JMSDestination = ${jms_response_dest}



test0016 - JMS Message Header property priorities: WSDL 2.0 bindings (OPTIONAL)

Description: Set deliveryMode, timeToLive, priority in different places in WSDL 2.0 JMS bindings to verify precedence.

Assertions: Protocol-2005 Protocol-2006 Protocol-2007 Protocol-2008 Protocol-2009 Protocol-2032 WSDLUsage-3001 WSDLUsage-3002 WSDLUsage-3003 WSDLUsage-3004

Message exchange pattern: SOAP12-JMS-In-Out

WSDL fragment:

    
      <wsdl20:description xmlns:wsoap="http://www.w3.org/ns/wsdl/soap">
         ...
         <wsdl20:binding name="MyBinding1" interface="MyInterface1" type="http://www.w3.org/ns/wsdl/soap" wsoap:version="1.1"
              wsoap:protocol="http://www.w3.org/2010/soapjms/">
         ...
         <soapjms:timeToLive>7200000</soapjms:timeToLive>
         <soapjms:priority>4</soapjms:priority>
         ...
      </wsdl20:binding>
      ...
      <wsdl20:service name="MyService1" interface="MyInterface1">
         ...
         <soapjms:deliveryMode>NON_PERSISTENT</soapjms:deliveryMode>
         <soapjms:priority>5</soapjms:priority>
         ...
         <wsdl20:endpoint binding="MyBinding1" name="MyPort1"
             address="jms:jndi:myQueue?targetService=MyPort1"/>
            ...
             <soapjms:deliveryMode>PERSISTENT</soapjms:deliveryMode>
             <soapjms:timeToLive>3600000</soapjms:timeToLive>
            ...
         </wsdl20:endpoint>
         ...
       </wsdl20:service>
    </wsdl20:description>
    
    

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 5
    • jmsmsg:JMSExpiration = {approximately 360000 ms greater than the current GMT value}
  2. B sends a message to A.
    • jmsmsg:JMSDestination = ${jms_response_dest}



test0017 - JMS Message Header properties: Set values in multiple sources (OPTIONAL)

Description: Explicitly set deliveryMode, timeToLive, priority, and replyToName to different values in the JMS URI and environment.

Assertions: Protocol-2001 Protocol-2005 Protocol-2006 Protocol-2007 Protocol-2008 Protocol-2009 Protocol-2060 Protocol-2032

Message exchange pattern: SOAP12-JMS-In-Out

JMS URI: jms:jndi:jms/MyQueue?targetService=EchoPort&deliveryModeType=PERSISTENT&timeToLive=3600000&priority=1&replyToName=jms/MyReplyQueueA

Client environment:

delivery mode = NON_PERSISTENT
time to live = 10800000
priority = 3
reply to name = jms/MyReplyQueueB

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:JMSReplyTo = ${jms_response_destB}
    • jmsmsg:JMSDeliveryMode = 1
    • jmsmsg:JMSPriority = 3
    • jmsmsg:JMSExpiration = {approximately 10800000 greater than the current GMT value}
    • jmsmsg:JMSDestination = ${jms_request_dest}
  2. B sends a message to A.
    • jmsmsg:JMSDestination = ${jms_response_destB}



test0018 - SOAP 1.1 one-way request to a topic (OPTIONAL)

Description: SOAP 1.1 one-way request message sent to a destination topic.

Assertions: Protocol-2003 Protocol-2004 Protocol-2009 Protocol-2010 Protocol-2016 Protocol-2018 Protocol-2021 Protocol-2022 Protocol-2027 Protocol-2029 Protocol-2030 Protocol-2033 Protocol-2051 Protocol-2060

Message exchange pattern: SOAP11-JMS-In-Only

JMS URI: jms:jndi:jms/MyTopic&jndiConnectionFactoryName=jms/MyCF&targetService=PingPort

Message flow(s):

  1. 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_requestURI = 'jms:jndi:jms/MyQueue'
    • jmsmsg:JMSMessageBody = ${soap_request_msg}



test0019 - SOAP 1.2 one-way request using TextMessage to a topic (OPTIONAL)

Description: SOAP 1.2 one-way request message (using TextMessage) sent to a destination topic. Vendor-specific mechanism used to select TextMessage.

Assertions: Protocol-2003 Protocol-2004 Protocol-2009 Protocol-2010 Protocol-2016 Protocol-2018 Protocol-2021 Protocol-2022 Protocol-2027 Protocol-2029 Protocol-2030 Protocol-2032 Protocol-2051 Protocol-2060 Protocol-2072

Message exchange pattern: SOAP12-JMS-In-Only

JMS URI: jms:jndi:jms/MyTopic&jndiConnectionFactoryName=jms/MyCF&targetService=PingPort

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:MessageType = text
    • 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_requestURI = 'jms:jndi:jms/MyQueue'
    • jmsmsg:JMSMessageBody = ${soap_request_msg}



test0020 - SOAP 1.1 two-way request jms "queue" variant, topicReplyToName (OPTIONAL)

Description: SOAP 1.1 two-way request message sent to a request queue, and response message returned to response topic. Uses a "queue" variant URI which implementations may opt to support.

Assertions: Protocol-2003 Protocol-2004 Protocol-2010 Protocol-2016 Protocol-2018 Protocol-2021 Protocol-2022 Protocol-2027 Protocol-2029 Protocol-2030 Protocol-2033 Protocol-2036 Protocol-2037 Protocol-2038 Protocol-2050 Protocol-2070

Message exchange pattern: SOAP11-JMS-In-Out

JMS URI: jms:queue:MyQueue&topicReplyToName=MyReplyTopic

Message flow(s):

  1. 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 = ${jms_response_dest} (refers to topic 'MyReplyTopic')
    • jmsmsg:JMSCorrelationID = 'Correlator0002'
    • jmsmsg:JMSDestination = ${jms_request_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:SOAPJMS_soapAction = ''
    • jmsmsg:SOAPJMS_requestURI = 'jms:queue:MyQueue'
    • jmsmsg:JMSMessageBody = ${soap_request_msg}
  2. B sends a message to A.
    • jmsmsg:MessageType = bytes
    • jmsmsg:MessageID = ${response_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = null
    • jmsmsg:JMSCorrelationID = 'Correlator0002'
    • jmsmsg:JMSDestination = ${jms_response_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:JMSMessageBody = ${soap_response_msg}



test1001 - SOAP 1.1 two-way request unrecognized bindingVersion (REQUIRED)

Description: SOAP 1.1 two-way request message with unrecognized bindingVersion sent to a request queue, and fault message returned to response queue.

Assertions: Protocol-2010 Protocol-2011 Protocol-2020 Protocol-2033

Message exchange pattern: SOAP11-JMS-In-Out-Fault

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:MessageID = ${request_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = ${jms_response_dest}
    • jmsmsg:JMSCorrelationID = null
    • jmsmsg:JMSDestination = ${jms_request_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:JMSMessageBody = ${soap_request_msg}
    • jmsmsg:SOAPJMS_bindingVersion = '0.3'
    • jmsmsg:SOAPJMS_targetService = 'EchoPort'
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:SOAPJMS_soapAction = ''
    • jmsmsg:SOAPJMS_requestURI = 'jms:jndi:jms/MyQueue'
    • jmsmsg:MessageType = 'text'
  2. B sends a message to A.
    • jmsmsg:MessageID = ${response_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = null
    • jmsmsg:JMSCorrelationID = ${request_message_id}
    • jmsmsg:JMSDestination = ${jms_response_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:JMSMessageBody = ${soap_response_msg}
    • jmsmsg:SOAPJMS_isFault = true



test1101 - SOAP 1.2 two-way request unrecognized bindingVersion (REQUIRED)

Description: SOAP 1.2 two-way request message with unrecognized bindingVersion sent to a request queue, and fault message returned to response queue.

Assertions: Protocol-2010 Protocol-2011 Protocol-2020 Protocol-2032

Message exchange pattern: SOAP12-JMS-In-Out-Fault

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:MessageID = ${request_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = ${jms_response_dest}
    • jmsmsg:JMSCorrelationID = null
    • jmsmsg:JMSDestination = ${jms_request_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:JMSMessageBody = ${soap_request_msg}
    • jmsmsg:SOAPJMS_bindingVersion = '0.3'
    • jmsmsg:SOAPJMS_targetService = 'EchoPort'
    • jmsmsg:SOAPJMS_contentType = 'application/soap+xml'
    • jmsmsg:SOAPJMS_soapAction = ''
    • jmsmsg:SOAPJMS_requestURI = 'jms:jndi:jms/MyQueue'
    • jmsmsg:MessageType = 'text'
  2. B sends a message to A.
    • jmsmsg:MessageID = ${response_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = null
    • jmsmsg:JMSCorrelationID = ${request_message_id}
    • jmsmsg:JMSDestination = ${jms_response_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_contentType = 'application/soap+xml'
    • jmsmsg:JMSMessageBody = ${soap_response_msg}
    • jmsmsg:SOAPJMS_isFault = true



test1002 - SOAP 1.1 two-way request unsupported JMS message format (REQUIRED)

Description: SOAP 1.1 two-way request message with unsupported JMS message format sent to a request queue, and fault message returned to response queue.

Assertions: Protocol-2020 Protocol-2027 Protocol-2028 Protocol-2033

Message exchange pattern: SOAP11-JMS-In-Out-Fault

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:MessageID = ${request_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = ${jms_response_dest}
    • jmsmsg:JMSCorrelationID = null
    • jmsmsg:JMSDestination = ${jms_request_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:JMSMessageBody = ${soap_request_msg}
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_targetService = 'EchoPort'
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:SOAPJMS_soapAction = ''
    • jmsmsg:SOAPJMS_requestURI = 'jms:jndi:jms/MyQueue'
    • jmsmsg:MessageType = 'stream'
  2. B sends a message to A.
    • jmsmsg:MessageID = ${response_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = null
    • jmsmsg:JMSCorrelationID = ${request_message_id}
    • jmsmsg:JMSDestination = ${jms_response_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:JMSMessageBody = ${soap_response_msg}
    • jmsmsg:SOAPJMS_isFault = true



test1102 - SOAP 1.2 two-way request unsupported JMS message format (REQUIRED)

Description: SOAP 1.2 two-way request message with unsupported JMS message format sent to a request queue, and fault message returned to response queue.

Assertions: Protocol-2020 Protocol-2027 Protocol-2028 Protocol-2032

Message exchange pattern: SOAP12-JMS-In-Out-Fault

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:MessageID = ${request_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = ${jms_response_dest}
    • jmsmsg:JMSCorrelationID = null
    • jmsmsg:JMSDestination = ${jms_request_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:JMSMessageBody = ${soap_request_msg}
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_targetService = 'EchoPort'
    • jmsmsg:SOAPJMS_contentType = 'application/soap+xml'
    • jmsmsg:SOAPJMS_soapAction = ''
    • jmsmsg:SOAPJMS_requestURI = 'jms:jndi:jms/MyQueue'
    • jmsmsg:MessageType = 'stream'
  2. B sends a message to A.
    • jmsmsg:MessageID = ${response_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = null
    • jmsmsg:JMSCorrelationID = ${request_message_id}
    • jmsmsg:JMSDestination = ${jms_response_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_contentType = 'application/soap+xml'
    • jmsmsg:JMSMessageBody = ${soap_response_msg}
    • jmsmsg:SOAPJMS_isFault = true



test1003 - SOAP 1.1 two-way request with content-type charset mismatch (REQUIRED)

Description: SOAP 1.1 two-way request message with charset mismatch between contentType header and XML encoding statement sent to a request queue, and fault message returned to response queue.

Assertions: Protocol-2012 Protocol-2020 Protocol-2033

Message exchange pattern: SOAP11-JMS-In-Out-Fault

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:MessageID = ${request_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = ${jms_response_dest}
    • jmsmsg:JMSCorrelationID = null
    • jmsmsg:JMSDestination = ${jms_request_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:JMSMessageBody = ${soap_request_msg}
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_targetService = 'EchoPort'
    • jmsmsg:SOAPJMS_contentType = 'text/xml; charset=UTF-16'
    • jmsmsg:SOAPJMS_soapAction = ''
    • jmsmsg:SOAPJMS_requestURI = 'jms:jndi:jms/MyQueue'
    • jmsmsg:MessageType = 'text'
  2. B sends a message to A.
    • jmsmsg:MessageID = ${response_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = null
    • jmsmsg:JMSCorrelationID = ${request_message_id}
    • jmsmsg:JMSDestination = ${jms_response_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:JMSMessageBody = ${soap_response_msg}
    • jmsmsg:SOAPJMS_isFault = true



test1103 - SOAP 1.2 two-way request with content-type charset mismatch (REQUIRED)

Description: SOAP 1.2 two-way request message with charset mismatch between contentType header and XML encoding statement sent to a request queue, and fault message returned to response queue.

Assertions: Protocol-2012 Protocol-2020 Protocol-2032

Message exchange pattern: SOAP12-JMS-In-Out-Fault

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:MessageID = ${request_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = ${jms_response_dest}
    • jmsmsg:JMSCorrelationID = null
    • jmsmsg:JMSDestination = ${jms_request_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:JMSMessageBody = ${soap_request_msg}
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_targetService = 'EchoPort'
    • jmsmsg:SOAPJMS_contentType = 'text/xml; charset=UTF-16'
    • jmsmsg:SOAPJMS_soapAction = ''
    • jmsmsg:SOAPJMS_requestURI = 'jms:jndi:jms/MyQueue'
    • jmsmsg:MessageType = 'text'
  2. B sends a message to A.
    • jmsmsg:MessageID = ${response_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = null
    • jmsmsg:JMSCorrelationID = ${request_message_id}
    • jmsmsg:JMSDestination = ${jms_response_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_contentType = 'application/soap+xml'
    • jmsmsg:JMSMessageBody = ${soap_response_msg}
    • jmsmsg:SOAPJMS_isFault = true



test1004 - SOAP 1.1 two-way request malformed requestURI (REQUIRED)

Description: SOAP 1.1 two-way request message with malformed requestURI sent to a request queue, and fault message returned to response queue.

Assertions: Protocol-2020 Protocol-2025

Message exchange pattern: SOAP11-JMS-In-Out-Fault

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:MessageID = ${request_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = ${jms_response_dest}
    • jmsmsg:JMSCorrelationID = null
    • jmsmsg:JMSDestination = ${jms_request_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:JMSMessageBody = ${soap_request_msg}
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_targetService = 'EchoPort'
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:SOAPJMS_soapAction = ''
    • jmsmsg:SOAPJMS_requestURI = 'jms:domain:jms/MyQueue'
    • jmsmsg:MessageType = 'text'
  2. B sends a message to A.
    • jmsmsg:MessageID = ${response_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = null
    • jmsmsg:JMSCorrelationID = ${request_message_id}
    • jmsmsg:JMSDestination = ${jms_response_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:JMSMessageBody = ${soap_response_msg}
    • jmsmsg:SOAPJMS_isFault = true



test1104 - SOAP 1.2 two-way request malformed requestURI (REQUIRED)

Description: SOAP 1.2 two-way request message with malformed requestURI sent to a request queue, and fault message returned to response queue.

Assertions: Protocol-2020 Protocol-2025

Message exchange pattern: SOAP12-JMS-In-Out-Fault

JMS URI: jms:jndi:&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:MessageID = ${request_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = ${jms_response_dest}
    • jmsmsg:JMSCorrelationID = null
    • jmsmsg:JMSDestination = ${jms_request_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:JMSMessageBody = ${soap_request_msg}
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_targetService = 'EchoPort'
    • jmsmsg:SOAPJMS_contentType = 'application/soap+xml'
    • jmsmsg:SOAPJMS_soapAction = ''
    • jmsmsg:SOAPJMS_requestURI = 'jms:jndi:'
    • jmsmsg:MessageType = 'text'
  2. B sends a message to A.
    • jmsmsg:MessageID = ${response_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = null
    • jmsmsg:JMSCorrelationID = ${request_message_id}
    • jmsmsg:JMSDestination = ${jms_response_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_contentType = 'application/soap+xml'
    • jmsmsg:JMSMessageBody = ${soap_response_msg}
    • jmsmsg:SOAPJMS_isFault = true



test1005 - SOAP 1.1 two-way request soapAction mismatch (REQUIRED)

Description: SOAP 1.1 two-way request message with soapAction mismatch sent to a request queue, and fault message returned to response queue.

Assertions: Protocol-2019 Protocol-2020

Message exchange pattern: SOAP11-JMS-In-Out-Fault

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:MessageID = ${request_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = ${jms_response_dest}
    • jmsmsg:JMSCorrelationID = null
    • jmsmsg:JMSDestination = ${jms_request_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:JMSMessageBody = ${soap_request_msg}
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_targetService = 'EchoPort'
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:SOAPJMS_soapAction = 'urn:nomatch'
    • jmsmsg:SOAPJMS_requestURI = 'jms:jndi:jms/MyQueue'
    • jmsmsg:MessageType = 'text'
  2. B sends a message to A.
    • jmsmsg:MessageID = ${response_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = null
    • jmsmsg:JMSCorrelationID = ${request_message_id}
    • jmsmsg:JMSDestination = ${jms_response_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:JMSMessageBody = ${soap_response_msg}
    • jmsmsg:SOAPJMS_isFault = true



test1105 - SOAP 1.2 two-way request soapAction mismatch (REQUIRED)

Description: SOAP 1.2 two-way request message with soapAction mmismatch sent to a request queue, and fault message returned to response queue.

Assertions: Protocol-2019 Protocol-2020

Message exchange pattern: SOAP12-JMS-In-Out-Fault

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:MessageID = ${request_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = ${jms_response_dest}
    • jmsmsg:JMSCorrelationID = null
    • jmsmsg:JMSDestination = ${jms_request_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:JMSMessageBody = ${soap_request_msg}
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_targetService = 'EchoPort'
    • jmsmsg:SOAPJMS_contentType = 'application/soap+xml; action="urn:someaction"'
    • jmsmsg:SOAPJMS_soapAction = 'urn:nomatch'
    • jmsmsg:SOAPJMS_requestURI = 'jms:jndi:jms/MyQueue'
    • jmsmsg:MessageType = 'text'
  2. B sends a message to A.
    • jmsmsg:MessageID = ${response_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = null
    • jmsmsg:JMSCorrelationID = ${request_message_id}
    • jmsmsg:JMSDestination = ${jms_response_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_contentType = 'application/soap+xml'
    • jmsmsg:JMSMessageBody = ${soap_response_msg}
    • jmsmsg:SOAPJMS_isFault = true



test1006 - SOAP 1.1 two-way request missing content type (REQUIRED)

Description: SOAP 1.1 two-way request message with missing content type sent to a request queue, and fault message returned to response queue.

Assertions: Protocol-2016 Protocol-2020

Message exchange pattern: SOAP11-JMS-In-Out-Fault

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:MessageID = ${request_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = ${jms_response_dest}
    • jmsmsg:JMSCorrelationID = null
    • jmsmsg:JMSDestination = ${jms_request_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:JMSMessageBody = ${soap_request_msg}
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_contentType = null
    • jmsmsg:SOAPJMS_targetService = 'EchoPort'
    • jmsmsg:SOAPJMS_soapAction = ''
    • jmsmsg:SOAPJMS_requestURI = 'jms:jndi:jms/MyQueue'
    • jmsmsg:MessageType = 'text'
  2. B sends a message to A.
    • jmsmsg:MessageID = ${response_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = null
    • jmsmsg:JMSCorrelationID = ${request_message_id}
    • jmsmsg:JMSDestination = ${jms_response_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:JMSMessageBody = ${soap_response_msg}
    • jmsmsg:SOAPJMS_isFault = true



test1106 - SOAP 1.2 two-way request missing content type (REQUIRED)

Description: SOAP 1.2 two-way request message with missing content type sent to a request queue, and fault message returned to response queue.

Assertions: Protocol-2016 Protocol-2020

Message exchange pattern: SOAP12-JMS-In-Out-Fault

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:MessageID = ${request_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = ${jms_response_dest}
    • jmsmsg:JMSCorrelationID = null
    • jmsmsg:JMSDestination = ${jms_request_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:JMSMessageBody = ${soap_request_msg}
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_contentType = null
    • jmsmsg:SOAPJMS_targetService = 'EchoPort'
    • jmsmsg:SOAPJMS_soapAction = ''
    • jmsmsg:SOAPJMS_requestURI = 'jms:jndi:jms/MyQueue'
    • jmsmsg:MessageType = 'text'
  2. B sends a message to A.
    • jmsmsg:MessageID = ${response_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = null
    • jmsmsg:JMSCorrelationID = ${request_message_id}
    • jmsmsg:JMSDestination = ${jms_response_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_contentType = 'application/soap+xml'
    • jmsmsg:JMSMessageBody = ${soap_response_msg}
    • jmsmsg:SOAPJMS_isFault = true



test1007 - SOAP 1.1 two-way request missing request URI (REQUIRED)

Description: SOAP 1.1 two-way request message with missing request URI sent to a request queue, and fault message returned to response queue.

Assertions: Protocol-2020 Protocol-2022

Message exchange pattern: SOAP11-JMS-In-Out-Fault

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:MessageID = ${request_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = ${jms_response_dest}
    • jmsmsg:JMSCorrelationID = null
    • jmsmsg:JMSDestination = ${jms_request_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:JMSMessageBody = ${soap_request_msg}
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_targetService = 'EchoPort'
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:SOAPJMS_requestURI = null
    • jmsmsg:SOAPJMS_soapAction = ''
    • jmsmsg:MessageType = 'text'
  2. B sends a message to A.
    • jmsmsg:MessageID = ${response_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = null
    • jmsmsg:JMSCorrelationID = ${request_message_id}
    • jmsmsg:JMSDestination = ${jms_response_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:JMSMessageBody = ${soap_response_msg}
    • jmsmsg:SOAPJMS_isFault = true



test1107 - SOAP 1.2 two-way request missing request URI (REQUIRED)

Description: SOAP 1.2 two-way request message with missing request URI sent to a request queue, and fault message returned to response queue.

Assertions: Protocol-2020 Protocol-2022

Message exchange pattern: SOAP12-JMS-In-Out-Fault

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:MessageID = ${request_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = ${jms_response_dest}
    • jmsmsg:JMSCorrelationID = null
    • jmsmsg:JMSDestination = ${jms_request_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:JMSMessageBody = ${soap_request_msg}
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_targetService = 'EchoPort'
    • jmsmsg:SOAPJMS_contentType = 'application/soap+xml'
    • jmsmsg:SOAPJMS_requestURI = null
    • jmsmsg:SOAPJMS_soapAction = ''
    • jmsmsg:MessageType = 'text'
  2. B sends a message to A.
    • jmsmsg:MessageID = ${response_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = null
    • jmsmsg:JMSCorrelationID = ${request_message_id}
    • jmsmsg:JMSDestination = ${jms_response_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_contentType = 'application/soap+xml'
    • jmsmsg:JMSMessageBody = ${soap_response_msg}
    • jmsmsg:SOAPJMS_isFault = true



test1008 - SOAP 1.1 two-way request targetService in RequestURI (REQUIRED)

Description: SOAP 1.1 two-way request message with targetService in RequestURI sent to a request queue, and fault message returned to response queue.

Assertions: Protocol-2020 Protocol-2021 Protocol-2026

Message exchange pattern: SOAP11-JMS-In-Out-Fault

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:MessageID = ${request_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = ${jms_response_dest}
    • jmsmsg:JMSCorrelationID = null
    • jmsmsg:JMSDestination = ${jms_request_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:JMSMessageBody = ${soap_request_msg}
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_targetService = 'EchoPort'
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:SOAPJMS_soapAction = ''
    • jmsmsg:SOAPJMS_requestURI = 'jms:jndi:jms/MyQueue?targetService=EchoPort'
    • jmsmsg:MessageType = 'text'
  2. B sends a message to A.
    • jmsmsg:MessageID = ${response_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = null
    • jmsmsg:JMSCorrelationID = ${request_message_id}
    • jmsmsg:JMSDestination = ${jms_response_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_contentType = 'text/xml'
    • jmsmsg:JMSMessageBody = ${soap_response_msg}
    • jmsmsg:SOAPJMS_isFault = true



test1108 - SOAP 1.2 two-way request targetService in RequestURI (REQUIRED)

Description: SOAP 1.2 two-way request message with targetService in RequestURI sent to a request queue, and fault message returned to response queue.

Assertions: Protocol-2020 Protocol-2021 Protocol-2026

Message exchange pattern: SOAP12-JMS-In-Out-Fault

JMS URI: jms:jndi:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

Message flow(s):

  1. A sends a message to B.
    • jmsmsg:MessageID = ${request_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = ${jms_response_dest}
    • jmsmsg:JMSCorrelationID = null
    • jmsmsg:JMSDestination = ${jms_request_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:JMSMessageBody = ${soap_request_msg}
    • jmsmsg:SOAPJMS_bindingVersion = '1.0'
    • jmsmsg:SOAPJMS_targetService = 'EchoPort'
    • jmsmsg:SOAPJMS_contentType = 'application/soap+xml'
    • jmsmsg:SOAPJMS_soapAction = ''
    • jmsmsg:SOAPJMS_requestURI = 'jms:jndi:jms/MyQueue?targetService=EchoPort'
    • jmsmsg:MessageType = 'text'
  2. B sends a message to A.
    • jmsmsg:MessageID = ${response_message_id}
    • jmsmsg:JMSDeliveryMode = 2
    • jmsmsg:JMSPriority = 4
    • jmsmsg:JMSExpiration = 0
    • jmsmsg:JMSReplyTo = null
    • jmsmsg:JMSCorrelationID = ${request_message_id}
    • jmsmsg:JMSDestination = ${jms_response_dest}
    • jmsmsg:JMSRedelivered = false
    • jmsmsg:SOAPJMS_contentType = 'application/soap+xml'
    • jmsmsg:JMSMessageBody = ${soap_response_msg}
    • jmsmsg:SOAPJMS_isFault = true



test1009 - SOAP 1.1 two-way request using unspported lookup variant in request URI (REQUIRED)

Description: SOAP 1.1 two-way request which specifies a request URI containing an unsupported lookup variant, resulting in a fault.

Assertions: Protocol-2071

Message exchange pattern: SOAP11-JMS-In-Out-Fault

JMS URI: jms:XXXX:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

Message flow(s):

    Note:The SOAP sending node should throw a fault back to the caller before the request message is sent to the destination. The fault should have a fault subcode of 'unsupportedLookupVariant'.




    test1109 - SOAP 1.2 two-way request using unspported lookup variant in request URI (REQUIRED)

    Description: SOAP 1.2 two-way request which specifies a request URI containing an unsupported lookup variant, resulting in a fault.

    Assertions: Protocol-2071

    Message exchange pattern: SOAP12-JMS-In-Out-Fault

    JMS URI: jms:XXXX:jms/MyQueue&jndiConnectionFactoryName=jms/MyCF&targetService=EchoPort

    Message flow(s):

      Note:The SOAP sending node should throw a fault back to the caller before any request message is sent to the destination. The fault should have a fault subcode of 'unsupportedLookupVariant'.





      Generated from testcases.xml using testcases.xsl.

      SOAP over Java Message Service 1.0 Test Suite

      Phil Adams, Editor
      Roland Merrick, Chair