on 03-03-2017 12:44 PM
Has anyone succeeded in creating an API from an on-premise odata service ?
Seems not possible with API Management Cloud Edition. I am getting the error:
Uncaught SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse (<anonymous>) at constructor.eval (apiProxy.controller.js:2076) at p (sap-ui-core.js:115) at k (library-preload.js:1991) at library-preload.js:2035 at XMLHttpRequest.p9 (datajs.js:17)
This topic has not been addressed in some time, but I will mention that the migration for Trial users to having the OnPrem connector has been completed. I have verified with Development and also personally tested on my own Trial account that it is working.
Please reach out in case you still are having issues to sapapimanagementinfo@sap.com .
Regards,
Elijah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Bert,
API Management is agnostic in regards to what format the REST API is. It may be OData, JSON, XML, ....
To answer your primary question: yes, I have succeeded several times to create an API from an OData API.
It should not matter if your API is implemented in the cloud or on-premises. However, I highly recommend using the cloud connector to simplify things.
On what environment are you working? Is your tenant enabled to have the API calls over the cloud connector? AFAIK, this must be enabled for trial tenants.
Cheers,
Sven
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sven,
I am not sure, which environment does Bert use, but I am using a trial account at hanatrial.ondemand.com with an active Cloud Connector. The problem is actually that I cannot save (even a draft of) my API and no matter how do I define it. After I press save the cockpit just "hangs" showing the bubbles for ever. The Developer tools show the same error as for Bert. Any ideas?
Thanks and best regards,
Denis
User | Count |
---|---|
90 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.