cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Java Client SDK encryption and simultaneous requests

drusu
1-Newbie

Java Client SDK encryption and simultaneous requests

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

1 ACCEPTED SOLUTION

Accepted Solutions
paic
1-Newbie
(To:drusu)

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.

View solution in original post

1 REPLY 1
paic
1-Newbie
(To:drusu)

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.

Top Tags