‎2005 Jun 04 11:46 AM
Hi,
I tried running the program RSWF_TEST_HTTP with a URL but I am getting a error cannot create http client. Where do I check for missing config. If run the url from IE browser I get a value of 200 which is correct.
Regards
Naveen Agarwal
‎2005 Jun 04 12:12 PM
1. what is the sy-subrc value after the method call
CALL METHOD cl_http_client=>create_by_url
2. Which url are you using? is it a public url?
is it a internet url or intranet?
Do you connect to internet via proxy?
Regards
Raja
‎2005 Jun 06 5:27 AM
Hi,
We using a public internet URL, we use proxy and I have made the settings. We have gone one step ahead. We are no getting a different error.
The program RSWF_TEST_HTTP gives now a different error.
HTTP - Receive: RC=108
The sy-subrc code for method l_http_client->receive is 1 which I don't understand as method l_http_client->send is successful.
Regards
Naveen Agarwal
‎2005 Jun 06 5:36 AM
when you entered the url did you use "http://www.google.com" or "www.google.com" .
enter the url with http://..
also post the url you are using, i will try it in my system and let's see.
Regards
Raja
Message was edited by: Durairaj Athavan Raja
‎2005 Jun 06 5:39 AM
‎2005 Jun 06 5:46 AM
can you share the url? i can check it out in my system.
Regards
Raja
‎2005 Jun 06 5:49 AM
Hi,
I cannot give you the URL here as that particular URL is being used to book orders. And I cannot share it in public. Also When I use internet explorer it works fines and return me the desired result.
Regards
Naveen Agarwal
‎2005 Jun 06 6:05 AM
Ok. Does it require authentication?
Did you try with some other public url and facing the same problem?
Regards
Raja
‎2005 Jun 06 6:11 AM
Hi,
I tried using http://www.google.com but with same result.
Getting same error HTTP-Receive: RC=108
Regards
Naveen Agarwal
‎2005 Jun 06 6:49 AM
in the program comment it says
HTTP-codes: 100 - 199 = informations
i tried searching the net for HTTP code 108 but didnt find anything.
Is it a secured site (https)
Regards
Raja
‎2005 Jun 06 12:27 PM
‎2005 Jun 06 12:33 PM
did you try debugging into the method http_client->receive.
I think thats the only way we can find the issue. also did you search OSS.
Whats is your actual requirement, we can look at it in a different way.
Regards
Raja
‎2005 Jun 08 11:39 AM
Hi,
I tried debuggin it but it gets stuck on
a function "http_read_sc"
in that function it is using "system-call plugin". Now why this is getting stuck no idea.
Regards
Naveen Agarwal
‎2005 Jun 08 12:23 PM
can you try the same URL with this program
RSHTTP01
Regards
Raja