Skip to Content

Expose oData service created in CPI in API Management

Hi,

The scenario is:

1. oData Service is created and deployed in CPI (Productive Tenant)

2. Expose this oData service in SAP APIM (Trial account)

I have created an API provider in SAP APIM which created a destination. While testing the connection, I am getting "404: Not found".

API Provider:

While creating API, I am getting below error;

I have referred to below blog "

https://blogs.sap.com/2018/01/12/connecting-and-exposing-apis-from-cloud-platform-integration/"

Please guide me where things are wrong.

Thanks

Tushar

endpoint.png (9.4 kB)
api-provider.png (11.3 kB)
api-provider.png (11.3 kB)
error.png (12.0 kB)
error-1.png (15.4 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Aug 09, 2018 at 12:48 AM

    Hi Tushar,

    I think that we may need to revamp the guide a little bit, as there is some unclarity. In order to create an API Provider connecting to your CPI tenant you must use the following configuration:

    Host:

    -tmn. . hana.ondemand.com

    replacing the items in brackets with your particularities.

    Then set

    Service Collection URL: /gw/CATALOGSERVICE/ServiceCollection

    Assuming that is configured correctly, you will be able to discover your OData service assuming it was deployed successfully in your CPI tenant.

    I hope this helps.

    regards,

    Elijah

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 22, 2018 at 04:41 AM

    Hello Tushar,

    Just to add to what Elijah has written above, we also need to check that both the instance CPI and APIM are either in trial or in a production environment.

    What I see above is you are using your trial for APIM and productive instance for CPI which I guess is a problem.

    Regards

    Shilpa

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.