# SOAPAction

**URL:** <https://techcommunity.softwareag.com/t/soapaction/58518>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Service-Orchestrator\
**Created:** [November 25, 2003, 8:56pm UTC](https://techcommunity.softwareag.com/t/soapaction/58518 "2003-11-25T20:56:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mimoso01](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@mimoso01](https://techcommunity.softwareag.com/u/mimoso01)\
**Post date:** [November 25, 2003, 8:56pm UTC](https://techcommunity.softwareag.com/t/soapaction/58518/1 "2003-11-25T20:56:26Z")

</div>

Hi,   
  
How can i set the soapaction http header when i use Mediator SOAPGateway.

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [November 28, 2003, 5:26am UTC](https://techcommunity.softwareag.com/t/soapaction/58518/2 "2003-11-28T05:26:50Z")

</div>

You cannot set the SOAPAction header field using the SOAPGateway;  
Is there any reason that you need to set this? Does the SOAP target use the SOAPAction header?  
If indeed you need to set SOAPAction to a specific value, you can instead use the HTTPGateway to call the SOAP target; you can set any HTTP header in the HTTPGateway using the “xbd.http.request.\*” property e.g.:  
xbd.http.request.SOAPAction=“myaction”

---

<div class="post-metadata">

**Author:** ![Sudarshan](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@Sudarshan](https://techcommunity.softwareag.com/u/Sudarshan)\
**Post date:** [May 26, 2004, 5:41pm UTC](https://techcommunity.softwareag.com/t/soapaction/58518/3 "2004-05-26T17:41:00Z")

</div>

I would like to add something here. .Net services require the SOAP action header field to be set in the SOAP request to them.Java webservice programs ignore the SOAPAction field hence there are no problems when we execute them through the Mediator.I haven’t been able to find a solution for invoking .Net Service programs. Can anyone help.

---

<div class="post-metadata">

**Author:** ![Mike\_Bernat](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Mike\_Bernat](https://techcommunity.softwareag.com/u/Mike_Bernat)\
**Post date:** [June 2, 2004, 1:46am UTC](https://techcommunity.softwareag.com/t/soapaction/58518/4 "2004-06-02T01:46:43Z")

</div>

AXIS (the SOAP library that Mediator uses) generates a SOAPAction header based on a specification in the WSDL file. Can you post the WSDL to the community?  
  
Best regards,  
 Mike

---

<div class="post-metadata">

**Author:** ![Sumeet](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@Sumeet](https://techcommunity.softwareag.com/u/Sumeet)\
**Post date:** [June 9, 2004, 3:57am UTC](https://techcommunity.softwareag.com/t/soapaction/58518/5 "2004-06-09T03:57:48Z")

</div>

I am attaching a WSDL file which gives us this error. This is a document style .Net Web Service WSDL. On another note, the input parameter (SQLStatement) is not passed on to the Web Service operation call.  
[adasql.wsdl](https://techcommunity.softwareag.com/uploads/short-url/2uJXgSYckApbhygW2eLymnnzMSG.wsdl) (2.31 KB)

---

<div class="post-metadata">

**Author:** ![Mike\_Bernat](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@Mike\_Bernat](https://techcommunity.softwareag.com/u/Mike_Bernat)\
**Post date:** [June 9, 2004, 5:20pm UTC](https://techcommunity.softwareag.com/t/soapaction/58518/6 "2004-06-09T17:20:44Z")

</div>

The WSDL does include a \<soap:operation soapAction= …/\> element, so it should have been sent. Can you post the failing Mediator sequence, and possible a sample of message document.  
  
Best regards,  
 Mike

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:39pm UTC](https://techcommunity.softwareag.com/t/soapaction/58518/7 "2021-04-02T14:39:18Z")

</div>


