Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Adding additional HTTP headers for SOAP client

Question
Ravi Akkiraju · Mar 19, 2021

Adding additional HTTP headers for SOAP client

We need to use SOAP API for some webservice. I created the request/response & operation classes via the SOAP wizard. Prior to making the invokeMethod, 

..Adapter.InvokeMethod

i need to set a custom HTTP header as part of the SOAP call. Can you please let me know how i can set that. That Adapter ( EnsLib.SOAP.OutboundAdapter) class does not have methods for setting HTTP headers.

Thank you,

Ravi

#InterSystems IRIS for Health
Product version: IRIS 2019.1
$ZV: IRIS for UNIX (IBM AIX for System Power System-64) 2019.1 (Build 510_4_19056U) Fri Jun 28 2019 16:23:09 EDT

Source URL:https://community.intersystems.com/post/adding-additional-http-headers-soap-client