Skip to Content
avatar image
Former Member

HCP UserAPI Access


I am trying to access the UserAPI described in the following post: SAP HANA Cloud Platform

I have one java application being deployed on my HCP trial account that contains SAP UI5 views and controllers for the User Interface.

I have added the neo-app.json to my application but it seems that the file has no effect on my java project.

When i access the services/userapi/currentUser i receive the error code 404.

Is this file relevant to Web IDE HTML5 application projects only? I am using Eclipse Luna SAP UI5 project.
The neo-app.json seems to work just like the normal deployment descriptor (web.xml) of the java application.
Is there any equivalent expression that i should set on my web.xml file to use this service?

Thank you in advance!

Best Regards

André Bezerra

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Sep 28, 2015 at 04:44 PM

    Not sure, but i think i remember that neo-app.json is only for apps deployed as HTML5 applications? Your app is deployed as Java application, so you could use Java API to query thos details. but maybe i mixing things up here...

    Add comment
    10|10000 characters needed characters exceeded