Skip to Content

Diferent URL service js with my App URL - XS Advanced

Hi gurus.

I'm following this tutorial Developing with XS Advanced: Create a SAP HANA based client-server application. I don't created Calculation View.

When I run my xsodata service, I get this URL

I tested above URL and working.

When I run my UI5 app I get this URL

Well, this two URLs hasn't the same domanin and I get code error 404 on console when I run my app.

Please, can you help me?

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Aug 25 at 07:15 AM

    You end up with two different URLs because you created two app (aka microservices).

    The first URL points to your server app that connected directly to the HANA DB and exposes the data. The second URL is the approuter (reverse proxy) that serves the static frontend files and redirects traffic to other microservices (like the first app).

    A 404 error probably means you have a wrong configuration of the microservices or a bug in the code.

    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.