Skip to main content
1-Visitor
Sep 29, 2016 4:42 PM UTC
Question

Websocket connection between Thingworx and a websocket-server.

Hello community,

I want to open a websocket connection between Thingworx and a websocket-server for subscribing data.

I have seen that such services for http protocol exist in Thingworx:

var result = Resources["ContentLoaderFunctions"].LoadJSON(params);

So my question is:

Is there any possibility to do almost the same via websocket communication?

Thanks a lot for help,

Max

12 replies

5-Regular Member
Sep 30, 2016 7:42 PM UTC

Why aren't you just using the EMS or one of the SDKs, which handle the websocket communication for you?

Translate
mrenner1-VisitorAuthor
1-Visitor
Oct 4, 2016 7:28 AM UTC

Thanks for comment.

Yes I could handle the websocket communication using one of the SDKs.

But I thought there will be an out of the box solution for websockets in thingworx.

Do you know if there is any way to do this out of the box?

Translate
5-Regular Member
Oct 4, 2016 12:20 PM UTC

The EMS is out of the box. It only needs to be configured. Here, check out the Developer's Guide and let me know if you have further questions on this.

Translate