Skip to Content
avatar image
Former Member

Remove HTTP Action from Axis SOAP Receiver

hello experts,

Scenario is REST > PO > SOAP (1.2) > Gateway> Legacy
SOAP Axis receiver configured to call the endpoint. It looked okay but application returned fault. Investigation indicated that legacy application is very old and it is not accepting action in http header. When legacy application service called using soapUI (which was set to skip the action), the service worked as expected.

Wondering if there is a way to remove the action from http header (but the wsa:Action remains in SOAP header of message) ?

Below settings were attempted in a hope to remove action from header. It did not work.

Suggestions would be highly appreciated!

thanks,

capture.jpg (17.3 kB)
capture.jpg (35.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    May 29, 2017 at 11:53 PM

    The issue is resolved. Empty action tag populated in HTTP header while SOAP header populated with SOAP action value as per the WSDL. It was achieved through following steps:

    1) Initially SOAP action was dynamically populated in message mapping. Mapping updated NOT to set the dynamic values THeaderSOAPAction and TUseSOAPAction.

    2) Axis SOAP receiver channel – On parameters tab SOAP action set blank.

    3) Axis SOAP receiver channel – Module configuration tab – Module keys for web service action (wsa) and web service addressing (wsadd) were removed

    4) Steps 1 to 3 set empty action in HTTP header. SOAP action then added through header insertion (heins) to get the wsa:Action populated inside SOAP header.

    Thanks!

    Add comment
    10|10000 characters needed characters exceeded