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.
Was this topic helpful?
Document Information
Modified date:
29 September 2018
UID
swg21674608