Hello,

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

Thanks
Hi Luís, 

I think you can use the EnhancedWebReferences API.
http://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!

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?

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!
Solution
Hi Luis,

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

Regrards,

Daan

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

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.

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

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


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