Skip to Content

Communication between XSA environment and Classic XS environment on the same host

We are building an XSA app. It is a HANA (HDI), JAVA, UI5(approuter) stack on XSA. This stack populates the DB. Now we have some XS content in the standard XS stack that we want to run on the HDI DB artifacts and see the results on the ui for which we have created a separate UI5 web app. I am aware of the fact that the xs app can run inside the Node runtime. But for some reason we cannot transport the content in the XS stack to XSA stack. So considering this the only option is to establish a communication between XSA and XS environment. To be specific, the problem is in the approuter xs-app.json of this app. When you specify the "routes" section in this file, we say if the path is /a/b/c/d, then the destination should be <host>:80<instance_id> (note that it is the XS port NOT the XSA port). This does not work. Is that the expected behavior? Do we have any solution to establish such a connection between the XSA and XS environment?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jul 07, 2016 at 10:29 AM

    No you can’t use the routes of the app router against an XSC service. The XSC has its own web dispatcher. It isn’t part of the platform router of XSA. You have to essentially treat it as an external service if you want to call it.

    Why were you not able to migrate it to the XSC compatibility layer of Node.js? That’s really the solution you should be working on.

    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.