How to pass HTTP Headers in SOAP webservice?

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
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