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: 

CL_HTTP_ENTITY-> GET_HEADER_FIELD return code 407

hagit
Active Participant
0 Kudos
455

Hello Experts,

In order to connect to URL I call cl_http_client=>create_by_url( EXPORTING url = im_url ….)
During the standard methods an exception http_communication_failure is raised.

In the debug I can see that method GET_HEADER_FIELD in CL_HTTP_ENTITY is called. There value = 407

Is this error code connect to ‘407 Proxy Authentication Required’?

Thank you in advance

Hagit

5 REPLIES 5

Sandra_Rossi
Active Contributor
0 Kudos
378

It says to indicate proxy information while connecting (= proxy parameters of create_by_url).

hagit
Active Participant
0 Kudos
378

sandra.rossi thank you for your answer.

Is it a baisis issue or are there missing parameters in the url ?

I want to emphasis that the same url from the browser works ok. But via a code (create by url) an exception is raised.

Sandra_Rossi
Active Contributor
378

You need to fill the proxy parameters of create_by_url.

yogananda
Product and Topic Expert
Product and Topic Expert
378

This value means that the server requires authentication. You need to authenticate with the server in order to access the URL. You can either do this by providing credentials in the cl_http_client=>create_by_url method, or by setting the credentials in the global configuration of the HTTP client.

hagit
Active Participant
0 Kudos
378

sandra.rossi and yoganandamuthaiah

Thank you for yoyr answer