on 02-27-2010 9:07 AM
Hi All,
I have created proxy class to consume external web service also created logical port but while testing the service through SE80, I am facing error "SOAP:1,023 SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION_FAILED")" I have gone through many threads for similar error but not able to resolve the issue. I have tried various WSDL from samples given in sdn but still facing same error. Also tried to access any external URL through sample program as follows, but it gives same error while receive method (400 ICM_HTTP_CONNECTION_FAILED)
sample used program to call URL : gets dump with error(400 ICM_HTTP_CONNECTION_FAILED)
report zsant.
DATA: client TYPE REF TO if_http_client,
html TYPE string.
****Create the HTTP client
TRY.
CALL METHOD cl_http_client=>create_by_url
EXPORTING
url = 'http://www.google.com/'
IMPORTING
client = client
EXCEPTIONS
OTHERS = 1.
client->send( ).
client->receive( ).
html = client->response->get_cdata( ).
write: / html.
client->close( ).
CATCH cx_root.
WRITE: / 'HTTP Connection error'.
ENDTRY.
also tried activating services in SICF, didnt worked. so please suggest if any solution for this, are there any basic settings we need to do to the SAP system before cosuming or working on web services?
SAP version: EHP4 FOR SAP ERP 6.0 / NW7.01
Edited by: santrosh on Feb 27, 2010 10:21 AM
may be it was firewall issue, when I cosumed WSDL located in the same environment as client, i was able to get response back
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<p>Hello,</p>
<p> </p>
<p>The first thing you should do is to check that your application server can reach the service your are trying to call. I suggest to try a:</p>
<p> </p>
<p>telnet <remote_service_url> <remote_service_port></p>
<p> </p>
<p>from the command line of your server.</p>
<p> </p>
<p>You should get a blank screen if your server reaches the remote server and something like connecting to <remote_service_url> if you don't.</p>
<p> </p>
<p>Yours,</p>
<p> </p>
<p>Joseba M. Iturbe</p>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you are behind proxy then also pass proxy information. Usually SAP system ports are closed for internet connection so please check with BASIS people if indeed they are open.
Regards,
Gourav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.