IBM Support

Stubs ignore unquoted SOAPAction values

Question & Answer


Question

Why do IBM Rational Integration Tester (RIT) stubs not process messages containing SOAPAction values that are not surrounded by double quotes?

Cause

You have created a stub to accept SOAP messages.
The SOAP action has been configured from the source WSDL.
The SOAPAction value has quotes around it such as "myCreditService".

You are sending messages where the HTTP header value of SOAPAction is myCreditService without quotes, and the stub does not process these messages.

Answer

The W3C standard for the content of the SOAPAction field is not strictly defined. See the SOAPAction section in Simple Object Access Protocol (SOAP) 1.1.
The examples given have quotes around them.

A SOAPAction value of "myCreditService" will be treated as different from myCreditService.

Click the Stub tab of the operation in Architecture School Logical View.

The following screen capture shows the SOAPAction value that will be used as a match to trigger the stub.




You can do one of the following:
  • Change Value to remove the quotes.
    You do not need to recreate the stub, simply restart it to use the new value.

  • Disable the checking of this field by clearing Enabled or Filter header values.
    This could mean that multiple message types hit the stub and might require additional filtering on the stub to differentiate them.
    You od not need to recreate the stub, just restart it.

  • Create a new operation to use the unquoted SOAPAction value.
    Create a stub from this or add it as a new Event to your existing stub so that either type of message will be accepted.

[{"Product":{"code":"SSBLQQ","label":"IBM Rational Test Workbench"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Rational Integration Tester","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF022","label":"OS X"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.0;8.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 September 2018

UID

swg21674608