Application Development 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: 

Abap proxy: Adding a cookie in the HTTP Header request

danielgonzalez
Explorer
0 Kudos

Hi all,

I have generated an ABAP Proxy from a wsdl, created the Logical Port in SOAMANAGER and it's working fine except for the fact the server is expecting the request to have a specific cookie. As every cookie, it has to be added into the HTTP Header section of the request but I don't find how I can do that. As far as I know, it's possible to add WS Header into the soap message, but I can't find out how to add a cookie into the HTTP Header.

Is it possible to access to the HTTP request from the proxy to use the "set_cookie" method?

Any ideas?

Thanks,

2 REPLIES 2

ptrevisan
Explorer
0 Kudos

Dear Daniel,

did you find a solution for your issue? We have a similar problem. Your help will be useful.

Regards, Roberto

danielgonzalez
Explorer
0 Kudos

Hi,

In my case, the problem was some characters in the cookie value were considered invalid and automatically replaced by other character.

The problem was fixed applying SAP Note 1160362 (setting "ict/disable_cookie_urlencoding" param to 1 and rebooting the system).

Kind regards,