Attempt to connect to a web service using the Web Service SOAP Client Connector results in the following error (or similar):
"Test execution of "MyWSProcess" completed with errors. Embedded message: Fatal error in Start Shape; Caused by: [s:Sender] The SOAP action specified on the message, '', does not match the HTTP SOAP Action, 'http://www.somewebserviceaddress.com/SomeService/LogOn'. ; ProblemHeaderQName=a:Action
The Web Service SOAP Client Connector does not support WS-Addressing by default. But you should be able to add the SOAP header manually by following these steps:
- In the Web Service SOAP Client Execute Request XML profile, select the Envelope element and under Namespace Declarations, add a namespace as follows:
URI = http://www.w3.org/2005/08/addressing
Prefix = wsa
- In the same profile, under the Header element, add a new child element called “Action” and select the namespace added in step 1.
- In connector configure Parameters tab, (or also works as a default value in a map), set the value of the Action element to 'http://www.somewebserviceaddress.com/SomeService/LogOn' which appeared in the error message.
- Save this configuration and execute the process in test mode to try the request again. The web service should return a response.
3 people found this helpful