Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Adding Custom HTTP Header to SOAP Proxy Message / Proxy PUSH Call

0 Likes
1,642

Hi Team,

Thanks in Advance,

How to add Custom HTTP Header to a Consumer SOAP Webservice?

Currently we consumed the External SOAP Service and generated WSDL and configured the same into SOAMANAGER tp PUSH the desired data to External System. In general, its SAP PROXY PUSH Call which uses the generated Proxy Methods.

Requirement is to add Custom HTTP Headers to the SOAP Proxy PUSH, can it be possible, if so, could you please let me know how to achieve this.

Regards,

JSR

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,457

I'm not sure what kind of proxy you are talking about. Is it what you are looking for? (you can search more precise answers in other same questions)

DATA(soap_header) = CAST if_wsprotocol_ws_header( client_proxy->get_protocol( IF_WSPROTOCOL=>WS_HEADER ) ).
... "(prepare)
soap_header->set_request_header( name = ... namespace = ... dom = ... ).