Application Development and Automation 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: 
Read only

Consuming Webservice from ABAP Program

Rodrigo-Giner
Active Contributor
0 Likes
463

Hi, I need to consume a WebService https and with SSL. But to begin I tried to use a free webservice.

1-I cant create a Client Proxy, because the ppl from IT of the client dont want to do it.... so no SE80 -> Client Proxy.

The thing is if I use the method "call method cl_http_client=>create_by_destination" Creating of course a registry in the SM59, the free webservice works I can receive the info.

But If I use "call method cl_http_client=>create_by_url" It doesnt works I dont know why is this... I guess that its a IT or BASIS problem.

2- Anyway the method "create_by_destination" dont have a SSL parameter and the create_by_url it does, I find a place to set up SSL in the SM59 but I dont find where to put the name of the SSL that was created in the tx STRUST.

So my question is I can make it works a webservice https and SSL with the method "create_by_destination" or I have to use the "create_by_url" or "create" method.

Thanks

2 REPLIES 2
Read only

Sandra_Rossi
Active Contributor
0 Likes
407

see remark about HTTPS in [SAP Library - Establishing a Connection Using a Destination (SM59)|http://help.sap.com/saphelp_nw70/helpdata/en/da/11df3a9b10355ae10000000a11405a/frameset.htm]

Read only

0 Likes
407

Hi, Sandra thx for the info. Im now passing this information to check if al the ICM and SSL seeting are correct.

Question in the SM59 in the "Logon/Security" tab I see the SSL activation option and a combo box to select the certificate. I only see two options:

ANONYM and DFAULT

If the Basis team added a SSL certificate in the STRUST it should appears in that combobox like a new entry ? or that combobox allways have only those 2 options.