cancel
Showing results for 
Search instead for 
Did you mean: 

calling external web service from ABAP Program

Former Member
0 Kudos

Hi All,

Can somebody point me to the documentation where how to call an external (3rd party) web service from ABAP program is explained?

Thanks & Regards,

-Smita

Accepted Solutions (0)

Answers (2)

Answers (2)

athavanraja
Active Contributor
0 Kudos

which version of R/3 you are using. if you are on was 6.40 its very simple, there are delivered tools to generate client proxy for consuming webservice. if you are on wa 6.20 you can use cl_http_client to achieve the same. check out the following weblogs.

/people/durairaj.athavanraja/blog/2005/07/12/send-sms-to-india-from-abap

/people/thomas.jung3/blog/2005/05/13/calling-webservices-from-abap-via-https

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

Regards

Raja

Former Member
0 Kudos

Hi,

I follow the documentation and try to create proxy object to call the external web service.

When it asks for URL, I provide below URL, 'https://test.ucas.com/xml-link/XmlLinkWS?WSDL'.

Then it gives me error saying, 'HTTP error (return code 407, message "ICM_HTTP_SSL_ERROR")'

Can you please help me to solve the problem?

Thanks & Regards,

-Smita

Former Member
0 Kudos

Hello Smita,

have you checked the ABAP web service tutorial under help.sap.com?

http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/content.htm

Greetings

Frank Brackmann

Former Member
0 Kudos

Hi Frank,

I follow the documentation and try to create proxy object to call the external web service.

When it asks for URL, I provide below URL, 'https://test.ucas.com/xml-link/XmlLinkWS?WSDL'.

Then it gives me error saying, 'HTTP error (return code 407, message "ICM_HTTP_SSL_ERROR")'

Can you please help me to solve the problem?

Thanks & Regards,

-Smita

eddy_declercq
Active Contributor
0 Kudos

Hi, check this web log for this:

/people/eddy.declercq/blog/2005/06/14/it146s-a-matter-of-trust

Eddy

athavanraja
Active Contributor
0 Kudos

you need to import the certificate of test.ucas.com.

fo more info check out this weblog.

<a href="/people/thomas.jung3/blog/2005/05/13/calling-webservices-from-abap-via-https WebServices from ABAP via HTTPS</a>

Regards

Raja

eddy_declercq
Active Contributor
0 Kudos

Hi,

Pls don't forget to reward points if you find the answers usefull.

Eddy

Former Member
0 Kudos

Hi Eddy,

Thanks again for your help.

I hope you have received reward points from me.

Regards,

-Smita

Former Member
0 Kudos

Hi Smita,

If this just for test, why not download the WSDL to your dektop and use that for creating client proxy.

Cheers,

Sanjeev