How to Configure Web Service SOAP Client Connection to handle WS-Addressing

Document created by mike_aronson Employee on Nov 14, 2013Last modified by chris_stevens on Mar 3, 2016
Version 4Show Document
  • View in full screen mode
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:

  1. 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
  2. In the same profile, under the Header element, add a new child element called “Action” and select the namespace added in step 1.
  3. 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.
  4. 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

Attachments

    Outcomes