Skip to Content

How to setup Mockserver and mockdata for XSJS service?

Sep 12, 2017 at 07:38 AM


avatar image

On the SAPUI5 Demokit I found the documentation for setting up the mockserver and mockdata when the datasource is xsodata service.

But I want to set up mockserver and mockdata where the manifest has no datasource and no model mentioned and I am setting up the default model in my controller with the help of JSON data returned by my Xsjs service which I call using jQuery.get().

But I am not able to find documentation regarding setting up mockdata and mockserver when the service is xsjs and it is not mentioned in manifest.

If anyone has any link or example on how to do this then it will be very helpful if you can provide with links.

Thank you.

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

0 Answers