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

Read HTTP header data

Former Member
0 Likes
1,097

HI ,

I create ABAP webservice and i want to read the HTTP header data such as language from the ABAP system ,

There is a way to get this data?

I found this interface IF_WSPROTOCOL_WS_HEADER ,

and since I am new to abap can some one help ?

Regards

Joy

1 ACCEPTED SOLUTION
Read only

huseyindereli
Active Contributor
0 Likes
1,033

Hi ,

Links below may be usefull.

http://help.sap.com/saphelp_nw04/helpdata/en/b4/6aae409567942ae10000000a155106/frameset.htm

/people/community.user/blog/2009/06/09/restful-webservices-in-abap-using-a-generic-controller

Take a look at cl_http_client.

5 REPLIES 5
Read only

Former Member
0 Likes
1,033

Hi Joy,

you may refer to the following link.

[;

regards

Read only

0 Likes
1,033

HI,

There is no option to do that ?

Best Regards

Joy

Edited by: Joy Stpr on Jul 19, 2009 9:42 AM

Read only

0 Likes
1,033

Did yo u check the documentation for interface IF_WSPROTOCOL_WS_HEADER. There you can find an example code.

Read only

0 Likes
1,033

HI ,

I check it but since i new to abap i don't really know how to use it ,

Maybe you have an example for it?

Best Regards

Joy

Edited by: Joy Stpr on Jul 20, 2009 10:45 PM

Read only

huseyindereli
Active Contributor
0 Likes
1,034

Hi ,

Links below may be usefull.

http://help.sap.com/saphelp_nw04/helpdata/en/b4/6aae409567942ae10000000a155106/frameset.htm

/people/community.user/blog/2009/06/09/restful-webservices-in-abap-using-a-generic-controller

Take a look at cl_http_client.