HTML encoding when adding SOAP header using SOAPExtensibilitySamples

I am trying to add a Credentials header to a SOAP call in the OnBeforeRequest, but it is applying HTML encode characters which are causing the SOAP to fail (kind of).


I am Using SOAPExtensibilitySamples AddSOAPHeader action. I am also setting the UserName and Password via the value parameter of the AddSOAPHeader action.


The call completes with a 200 but the SOAP service replies with "Required credentials are missing", looking in the SOAP Trace I can see why. as mentioned, the header value is applying with HTML encoding values.


How do I get OutSystems to add the literal text?


Thank you.

Solution

Prasad Rao wrote:

Hi,

Check https://www.outsystems.com/forge/component-overview/7175/soap-extensibility.

Regards.

That was the example I needed, I was able to add the ideas in your example to my extension. Thank you!