1137
Views
10
Comments
Solved
How to pass HTTP Headers in SOAP webservice?
Hello,

I need to pass this values on HTTP Header (red box in picture) in SOAP webservice, how to pass it on Outsystems?

Thanks
Capture.PNG
2018-05-07 20-49-39
Mário Araújo
Solution
Hey Luis,

Well you can allways go to Integration Studio... But I'm sure you know that...

I beleive another option would be to use the WebService Proxy extension. This extension uses the EnhancedHttp extension to set the url of the service request to an internal module… that gets the http request, (logs it) and makes an HTTP post to the final destination. You can then change the http post and add extra headers.

Hope this helps...

Cheers!
2018-05-07 20-49-39
Mário Araújo
Hi Luís, 

I think you can use the EnhancedWebReferences API.
https://www.outsystems.com/help/servicestudio/9.1/index.htm#t=APIs%2FEnhancedWebReferences_API.htm

Give it a try and let me know if it helped. By the way, what is your use case for this?

Cheers!

UserImage.jpg
Luís Cardoso
Hello Mario,

I used EnhancedWebReferences  to pass SOAP headers and it works, but I can't pass the HTTP headers that is in red box on the picture.

Any more ideias?

2018-05-07 20-49-39
Mário Araújo
Solution
Hey Luis,

Well you can allways go to Integration Studio... But I'm sure you know that...

I beleive another option would be to use the WebService Proxy extension. This extension uses the EnhancedHttp extension to set the url of the service request to an internal module… that gets the http request, (logs it) and makes an HTTP post to the final destination. You can then change the http post and add extra headers.

Hope this helps...

Cheers!
2020-06-18 21-20-50
Daan van Hoeke
Hi Luis,

I have the same challenge as you do. Have you already solved it in a non Intergration Studio way?

Regrards,

Daan
2024-12-17 14-32-59
Matthias Preuter
 
MVP

Why isn't there a OnBeforeRequest and OnAfterResponse for SOAP (like in REST); this would solve so much integration struggles.

UserImage.jpg
java domainq

I checked both ardoHTTP and WebService Proxy extension but could NOT find a API which will add a parameter to HTTP HEADER.Could someone help.

2025-10-04 16-11-01
Diogo Mendes

Any news regarding a possible solution? I'm having the same needs and there is still zero answers on the forum.

2025-10-04 16-11-01
Diogo Mendes

Hugo Gonçalves wrote:

Hi

In this link you will find some help about this topic

https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/SOAP/Consuming_SOAP_Web_Services/Use_Advanced_Extensibility/Example%3A_Add_an_HTTP_header


Please also check this forge component that have some samples

https://www.outsystems.com/forge/component-overview/5322/soap-extensibility-samples


Thanks

Hello Hugo,

I can only use OutSystems10. Do you know if there is any way to replicate that logic onto version 10?


Thanks


2019-11-12 17-31-26
Justin James
 
MVP

Diogo Mendes wrote:

Hugo Gonçalves wrote:

Hi

In this link you will find some help about this topic

https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/SOAP/Consuming_SOAP_Web_Services/Use_Advanced_Extensibility/Example%3A_Add_an_HTTP_header


Please also check this forge component that have some samples

https://www.outsystems.com/forge/component-overview/5322/soap-extensibility-samples


Thanks

Hello Hugo,

I can only use OutSystems10. Do you know if there is any way to replicate that logic onto version 10?


Thanks



The EnhancedWebReferences extension in 10 has the ability to add headers to SOAP requests.


J.Ja

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.