How to get the metadata in .xsjs service.
I have been consuming two odata services from different systems and consolidating the result from 2 response into single response through xsjs service.
When I am binding this xsjs service response to UI5 smart table, it fails as smart table works with proper metadata.
So is there a way to make my current service response from xsjs service to be exposed as proper metadata response.
or can anyone suggest how the xsjs response to work on smart table.