Skip to Content
0

How to call third party web service using ABAP?

Jul 11, 2017 at 02:09 PM

125

avatar image
Former Member

Hi All,

I am trying to call OpenText service from ECC system using CL_HTTP_CLIENT class.I am able to get the XML response of the service using 'lo_http_client->response->get_cdata( )' method. But OpenText service needs to be provided with authentication. How to pass the authentication through CL_HTTP_CLIENT class?

Is there a way to pass authentication in this class or we need to use some different class?

I tried to authenticate using the AUTHENTICATE method in CL_HTTP_CLIENT by passing username and password, but it is not allowing to authenticate. Is there any specific way to authenticate OpenText web service?

10 |10000 characters needed characters left characters exceeded

What kind of authorization is required for the webservice? Basic/digest/token/SAML etc?

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Jul 11, 2017 at 02:24 PM
0

Hi Keerthana,

Have you reviewed this blog post yet?

Regards,

Patrick

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Pratick,

Thank you for sharing the blog. I tried to implement as mentioned in the blog. But, I am getting an error as 'Proxy Generation: error occured' and 'Exception occurred in communication framework:Error in HTTP Framework:404Not Found' .

I activated the proxy settings in SICF->Client->Proxy settings->Global Settings.But still I am facing the same issue. Is there any other proxy settings to be made in order to call third party web service?

0