Expose Webservice with Headers

Expose Webservice with Headers

  


Hi All,

i am creating(Expose) new webservice(Soap) in Outsystems, and now i need to add header with webmethod, and how can i add header to webservice.

i know how to add headers when i consume webservice, i used EnhancedWebReferences to add manully, but i dont know how / where to add header, when i expose newly.

can anyone help me, how can i do this.

Thanks,

Balasubramanian


Hi PBalu,

I understand that you have looked into EnhancedWebReferences. But is not this that you want?

https://www.outsystems.com/help/servicestudio/9.0/APIs/EnhancedWebReferences_API.htm#SetWebServiceSoapHeaders

This "Sets the SOAP headers to be sent by the Web Service in the response. Use this action inside the Web Service Logic."

If not, could you be a little more specific?

Cheers,

José