avatar image
Former Member

XSODATA on HCP Trial Account

Hello Experts,

I am using a trial version of HCP Developer Edition. I created a Table using SQL in my Schema. Now I want to expose this table through .xsodata. My code is :

service{ "SYSTEM"."CUSTOMER" as "CUST" ; }

I have created .xsaccess & .xsapp files also in same package. But when I am trying to run this OData service, I am getting '404' error.

Please provide any solution.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 18, 2016 at 01:00 AM

    Hi Ankit,

    so a 404 response means the resource being requested is not on the server. Could be a couple of things.

    What URL are you trying to use?

    Did you activate the service you created?

    Are you using an MDC HANA DB or Shared?

    Can you post an image of your file and project structure? That would help seeing what is going on.

    Cheers,
    Jeff

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 15, 2016 at 06:23 PM

    Hello Ankit,

    was is the content of your .xsaccess file. Does it contain the property "exposed" set to true?

    Regards,

    Florian

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 16, 2016 at 10:57 AM

    Hi Florian,

    Yes, .xsaccess has property { "exposed" : true } and activated successfully

    Add comment
    10|10000 characters needed characters exceeded

Skip to Content