Skip to Content
avatar image
Former Member

How to call third party web service using ABAP?

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?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

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

    Hi Keerthana,

    Have you reviewed this blog post yet?



    Add comment
    10|10000 characters needed 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?