Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

Data Source SDK (1.4) with Socket.io & node.js

$
0
0

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:

 

  1. 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
  2. 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


Viewing all articles
Browse latest Browse all 4041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>