Skip to Content
0

Debug call to XSJS from Java Application

Oct 24, 2016 at 08:59 AM

56

avatar image

Hi experts,

I've developed an XSJS application that provides a REST API. That API is consumend by a Java Application running on an external system. The Java Application receives HTTP calls (e.g. from a mobile phone), does some processing, calls the XS Application, does some processing again and sends a response to the caller.

Is there an "official" way to debug such a scenario? I used a little hack that injected the cookies from my browser session into the Java Application to get connected to the current debug session in the webide. But that stopped working shortly for unknown reasons (on the HCP as well as on our on premise installation).

So is it possible to debug xsjs with a non-browser consumer that doesn't understand cookies out of the box?

Any help is much appreciated. Thanks in advance!

Kind regards,
Nicolai

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers