"Regarding structure, I think you should have the xsodata file in a node.js module and the UI in a HTML5 module - Is this the structure of your application?"
-->yes, its exactly the same structure, as you said. The xsodata file is within the lib folder.
If I check only the xsodata-service with a get request, that works fine.
Can you please describe the folder layout of the app?
Is that what you want?
Also, can you please send the full error message which you receive?
-->Will do it, but at this moment I get an other error. Will fix it and send you the whole exception message.