cancel
Showing results for 
Search instead for 
Did you mean: 

Calling Web Service from a BSP

Former Member
0 Kudos

Has anyone successfully called one of the Google search engine web services from <b><u>6.20</u></b>? Or any external, non-R/3 web service for that matter? When I run test connection on a RFC destination type G (HTTP connection to External Server), it returns ICM_HTTP_CONNECTION_FAILED message. I am using api.google.com for Target Host and /search/beta2/ for Path Prefix; all other fields are blank/default. I was able to setup the RFC destination for type H (HTTP connection to R/3 system) correctly and run the sample ABAP web service client program (from SAP Help which calls STFC_CONNECTION).

Any help will be appreciated.

Thanks, Pradeep

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Does your company use an Internet Proxy? Have you setup the global or RFC specific proxy settings?

This is what we had to do. We were calling a psedo webservice in 620 via HTTP Client methods and we had to setup the Proxy settings.

See the following weblog for details:

/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap

But keep in mind that even if you are able to make the connection that the WebService will most likely require a SOAP response and request. There are some ways to do this in 620, but it is a lot of development on your part and it is not forward compatible with 640. In 640 you can generate Proxy Classes - which makes calling external webservices very easy.

Answers (0)