<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: HTTP header - SOAP Webservice in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886949#M1961146</link>
    <description>&lt;P&gt;I thought it was about the HTTP header because in the comments it indicates that in SOAMANAGER the transport protocol is set to Transfer via HTTP Header.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2019 06:27:10 GMT</pubDate>
    <dc:creator>ArthurParisius</dc:creator>
    <dc:date>2019-07-02T06:27:10Z</dc:date>
    <item>
      <title>HTTP header - SOAP Webservice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886941#M1961138</link>
      <description>&lt;P&gt;Hi to all, &lt;/P&gt;
  &lt;P&gt;I need to insert http parameter to consumer proxy (SOAP). &lt;/P&gt;
  &lt;P&gt;With SOAP UI is possibile insert value into header tab.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1698706-soapui.png" /&gt;&lt;/P&gt;
  &lt;P&gt;I know that to REST webservice is used cl_http_client class to insert http value. &lt;/P&gt;
  &lt;P&gt;Anyone know how i can insert http header value with SOAP web service? &lt;/P&gt;
  &lt;P&gt;Regards &lt;/P&gt;
  &lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jun 2019 19:17:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886941#M1961138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-06-29T19:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP header - SOAP Webservice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886942#M1961139</link>
      <description>&lt;P&gt;After you instantiate the proxy class, you may add custom header fields via the methods GET_PROTOCOL and SET_SEND_HEADER_FIELDS as follows, before calling the Web Service:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA(transport) = CAST IF_WSPROTOCOL_TRANSPORT( proxy-&amp;gt;GET_PROTOCOL( IF_WSPROTOCOL=&amp;gt;TRANSPORT ) ).
transport-&amp;gt;set_send_header_fields( value #(
    ( name = 'Authorization' value = 'Bearer 81908CB' ) ) ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Standard header fields are automatically added by the SAP standard (Content-Type, Accept, SOAPAction, etc.)&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jun 2019 20:59:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886942#M1961139</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-06-29T20:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP header - SOAP Webservice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886943#M1961140</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Sandra, thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the IF_WSPROTOCOL interface I see only these protocols:&lt;BR /&gt;'IF_WSPROTOCOL_ASYNC_MESSAGING'&lt;BR /&gt;'IF_WSPROTOCOL_ROUTING'&lt;BR /&gt;'IF_WSPROTOCOL_ATTACHMENTS'&lt;BR /&gt;'IF_WSPROTOCOL_XI_HEADER'&lt;BR /&gt;'IF_WSPROTOCOL_WS_HEADER'&lt;BR /&gt;'IF_WSPROTOCOL_PAYLOAD'&lt;BR /&gt;'IF_WSPROTOCOL_MESSAGE_ID'&lt;BR /&gt;'IF_WSPROTOCOL_SESSION'&lt;BR /&gt;'IF_WSPROTOCOL_SEQUENCE'&lt;BR /&gt;'IF_WSPROTOCOL_SAP_ADDRESSING'&lt;BR /&gt;'IF_WSPROTOCOL_LUW_CONTROL'&lt;BR /&gt;'IF_WSPROTOCOL_CONNECTIVITY'&lt;BR /&gt;'IF_WSPROTOCOL_IBC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only one that contains a method similar to the one you posted is the 'IF_WSPROTOCOL_WS_HEADER' but it is used to change the soap heade&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm interested in changing the http header like SOAP UI in this way. Is there anything I didn't get?&lt;/P&gt;&lt;P&gt; Regard&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1699747-soapui-resp.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jun 2019 23:23:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886943#M1961140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-06-29T23:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP header - SOAP Webservice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886944#M1961141</link>
      <description>&lt;P&gt;Please refer to my comment attached to my previous answer.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 09:47:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886944#M1961141</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2025-07-08T09:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP header - SOAP Webservice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886945#M1961142</link>
      <description>&lt;A href="https://answers.sap.com/users/812100/manciagligiuseppe.html"&gt;Manciagli Giuseppe&lt;/A&gt; My release is ABAP 7.52. I guess you use a lower version (which one?)If you don't have IF_WSPROTOCOL_TRANSPORT, it means that you simply can't use this feature.For information, in 7.52, the preparation of the HTTP request is implemented in class CL_SOAP_HTTP_TPBND_ROOT, method IF_SOAP_TRANSPORT_BINDING~SEND, which comprises the generation of HTTP headers (call of method SET_HTTP_HEADERS, which in turn calls the method SET_CUSTOM_HTTP_HEADERS).I guess that your version has only the method SET_HTTP_HEADERS, not SET_CUSTOM_HTTP_HEADERS.But you may implement your own logic via the Enhancement Framework.</description>
      <pubDate>Sun, 30 Jun 2019 07:01:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886945#M1961142</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-06-30T07:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP header - SOAP Webservice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886946#M1961143</link>
      <description>&lt;P&gt;&lt;A href="https://answers.sap.com/users/812100/manciagligiuseppe.html"&gt;Manciagli Giuseppe&lt;/A&gt; Can you tell the future visitors how you solved? (especially, if you added HTTP headers, how you did it) Thanks.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jun 2019 16:54:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886946#M1961143</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-06-30T16:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP header - SOAP Webservice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886947#M1961144</link>
      <description>&lt;P&gt;As an alternative, you could look at this link &lt;A href="https://wiki.scn.sap.com/wiki/display/Java/Consume+SOAP+WebService+by+SAP+and+add+custom+Header"&gt;Consume SOAP Webservice and add custom Header&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 07:00:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886947#M1961144</guid>
      <dc:creator>ArthurParisius</dc:creator>
      <dc:date>2019-07-01T07:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP header - SOAP Webservice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886948#M1961145</link>
      <description>&lt;P&gt;I think it refers to the SOAP header, not to the HTTP header.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2019 20:35:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886948#M1961145</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-07-01T20:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP header - SOAP Webservice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886949#M1961146</link>
      <description>&lt;P&gt;I thought it was about the HTTP header because in the comments it indicates that in SOAMANAGER the transport protocol is set to Transfer via HTTP Header.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 06:27:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886949#M1961146</guid>
      <dc:creator>ArthurParisius</dc:creator>
      <dc:date>2019-07-02T06:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP header - SOAP Webservice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886950#M1961147</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;We have faced the same problem. Our release is 7.50 so IF_WSPROTOCOL_TRANSPORT doesn't exist.
It has been solved with the following steps: &lt;/P&gt;&lt;OL&gt;
&lt;LI&gt;Create Z-class to set and get SOAP HTTP header parameters. &lt;/LI&gt;&lt;LI&gt;Create two private-static attributes (field and value). &lt;/LI&gt;&lt;LI&gt;Create two public-static methods (SET_HTTP_HEADERS, GET_HTTP_HEADERS). &lt;/LI&gt;&lt;LI&gt;Implement the methods. &lt;/LI&gt;&lt;LI&gt;Call Zclass=&amp;gt;SET_HTTP_HEADERS in your code before calling the proxy method. &lt;/LI&gt;&lt;LI&gt;Create an enhancement implementation in the method CL_SOAP_HTTP_TPBND_ROOT=&amp;gt;SET_HTTP_HEADERS. &lt;/LI&gt;&lt;LI&gt;Call Zclass=&amp;gt;GET_HTTP_HEADERS in the enhancement and IF_HTTP_ENTITY=&amp;gt;set_header_field, like the code below:&lt;/LI&gt;&lt;/OL&gt;&lt;PRE&gt;&lt;CODE&gt;ENHANCEMENT 1  Z_SOAP_SET_HTTP_HEADERS.    "active version
  
  zcl_enh=&amp;gt;get_http_headers( IMPORTING ev_name  = DATA(lv_name)
                                       ev_value = DATA(lv_value) ).

  IF lv_name IS NOT INITIAL.
    entity-&amp;gt;set_header_field( name  = lv_name
                              value = lv_value ).

  ENDIF.
ENDENHANCEMENT.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Hope it helps future visitors.&lt;/P&gt;&lt;P&gt;Regard,&lt;/P&gt;&lt;P&gt;Caner.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jan 2021 16:01:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886950#M1961147</guid>
      <dc:creator>caner_genis</dc:creator>
      <dc:date>2021-01-22T16:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP header - SOAP Webservice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886951#M1961148</link>
      <description>&lt;P&gt;Hi Caner,&lt;/P&gt;&lt;P&gt;We are facing the same problem too. Has your issue been solved with the steps you've explained? If so, what is the code you've used to implement Zclass=&amp;gt;SET_HTTP_HEADERS &amp;amp; Zclass=&amp;gt;GET_HTTP_HEADERS?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 11:29:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886951#M1961148</guid>
      <dc:creator>former_member765643</dc:creator>
      <dc:date>2021-09-07T11:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP header - SOAP Webservice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886952#M1961149</link>
      <description>&lt;P&gt;Hi Nikhila,&lt;/P&gt;&lt;P&gt;Yes these steps are working well in our end. You should create setter and getter method for two private-static attributes (field and value) created in the step 2.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;class ZCL_ENH definition
  public
  final
  create public .

public section.
  class-methods SET_HTTP_HEADERS
    importing
      !IV_NAME type STRING
      !IV_VALUE type STRING .
  class-methods GET_HTTP_HEADERS
    exporting
      !EV_NAME type STRING
      !EV_VALUE type STRING .
protected section.
private section.

  class-data FIELDNAME type STRING .
  class-data FIELDVALUE type STRING .
ENDCLASS.

CLASS ZCL_ENH IMPLEMENTATION.

* &amp;lt;SIGNATURE&amp;gt;---------------------------------------------------------------------------------------+
* | Static Public Method ZCL_ENH=&amp;gt;GET_HTTP_HEADERS
* +-------------------------------------------------------------------------------------------------+
* | [&amp;lt;---] EV_NAME                        TYPE        STRING
* | [&amp;lt;---] EV_VALUE                       TYPE        STRING
* +--------------------------------------------------------------------------------------&amp;lt;/SIGNATURE&amp;gt;
METHOD get_http_headers.
  ev_name  = fieldname.
  ev_value = fieldvalue.

ENDMETHOD.

* &amp;lt;SIGNATURE&amp;gt;---------------------------------------------------------------------------------------+
* | Static Public Method ZCL_ENH=&amp;gt;SET_HTTP_HEADERS
* +-------------------------------------------------------------------------------------------------+
* | [---&amp;gt;] IV_NAME                        TYPE        STRING
* | [---&amp;gt;] IV_VALUE                       TYPE        STRING
* +--------------------------------------------------------------------------------------&amp;lt;/SIGNATURE&amp;gt;
METHOD set_http_headers.
  fieldname  = iv_name.
  fieldvalue = iv_value.

ENDMETHOD.
ENDCLASS.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regard,&lt;/P&gt;&lt;P&gt;Caner.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 20:36:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886952#M1961149</guid>
      <dc:creator>caner_genis</dc:creator>
      <dc:date>2021-09-08T20:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP header - SOAP Webservice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886953#M1961150</link>
      <description>&lt;P&gt;Hi Giuseppe,&lt;/P&gt;&lt;P&gt;Did you can put the Authorization HTTP Header instead of SOAP Header?&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 17:14:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886953#M1961150</guid>
      <dc:creator>johan_kneubuhler</dc:creator>
      <dc:date>2023-12-20T17:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP header - SOAP Webservice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886954#M1961151</link>
      <description>&lt;P&gt;Please use the COMMENT button for comments, asking for complements, adding details, replying to a comment or a proposed solution or to the OP question, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area. &lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 22:12:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/11886954#M1961151</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-12-20T22:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP header - SOAP Webservice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/14146927#M2042094</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/145194"&gt;@Sandra_Rossi&lt;/a&gt;, I am referring the same code as yours but I am not able to see the custom http headers fields in integration suite. I am using SOAP based consumer web service. Is there any config. blocking the custom http header in SOAManager setting?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 08:49:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/14146927#M2042094</guid>
      <dc:creator>Chetan_Pote</dc:creator>
      <dc:date>2025-07-08T08:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP header - SOAP Webservice</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/14147010#M2042097</link>
      <description>&lt;P&gt;I don't know. You'd better start a new thread.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 09:49:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-header-soap-webservice/m-p/14147010#M2042097</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2025-07-08T09:49:27Z</dc:date>
    </item>
  </channel>
</rss>

