Skip to main content
1-Visitor
July 24, 2015
Solved

Java Client SDK encryption and simultaneous requests

  • July 24, 2015
  • 1 reply
  • 1359 views

Hello,

I'm using the TWX Java client SDK to communicate with ThingWorx by extending ConnectedThingClient.  I would appreciate answers to any of the  following questions:

  1. Does TWX support encrypted websocket communication (wss)?  If yes, can you please point me to documentation for setting that up.
  2. I have an instance of a ConnectedThingClient which I can use to invoke a service by using the invokeService method.  Can I use this instance in multiple threads to simultaneously invoke several services?
  3. What's the recommended strategy for dealing with simultaneous requests?  Should I be queuing the requests and invoke the services sequentially or perhaps have multiple ConnectedThingClient instances?

Thank you

Best answer by paic

Yes we support WSS, I believe the documentation in the Portal should give guidance on that, or else you can look at some of the docs included with some of the SDKs.

By default they should be setup to connect WSS I believe.

I'm uncertain about the second part of your question. I do believe simultaneous requests should be possible.

1 reply

paic1-VisitorAnswer
1-Visitor
July 27, 2015

Yes we support WSS, I believe the documentation in the Portal should give guidance on that, or else you can look at some of the docs included with some of the SDKs.

By default they should be setup to connect WSS I believe.

I'm uncertain about the second part of your question. I do believe simultaneous requests should be possible.