Hi!
I am new at Design Studio and sdk developement. Right know i am trying to create a data source to connect to a websocket with socket.io. Server is running on a node.js. The server is receiving data. With the data source sdk i am trying to open a client an connect to the socket.
As mentioned i am still at the beginning. Right know i a struggling with the following aspects:
- Include the js library socket.io in the sdk Extension (and make use of it).
- right know io() is "undefined" and i am getting an error (referenceerror). What are the steps i have to undetake to successfully include a external js library in an sdk? what files do i have to edit (contribution.xml?), etc
- Is there a way to debug the js code in eclipse itself? Right i run the sdk in desing Studio and then debug with IE or Chrome.
At the end i want to receive streaming data from the websocket and Display it in DS (i know, there's SAP ESP for that, but i would like to do it without it).
Thanks a lot and best regards!
Saood Alvi