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

Document created by mike_aronson Employee on Nov 14, 2013Last modified by denis.bredelet@dell.com on Jul 30, 2018
Version 5Show 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. Set the value of the Action element to 'http://www.somewebserviceaddress.com/SomeService/LogOn' which appeared in the error message. Use the default value in a map.
  4. Save this configuration and execute the process in test mode to try the request again. The web service should return a response.

 

Note: the XML profile should be created by hand or imported from XML to permit namespace selection in step 2.

3 people found this helpful

Attachments

    Outcomes