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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Not able to connect to thingworx via Java sdk extension

kborkar
1-Newbie

Not able to connect to thingworx via Java sdk extension

i have one java program and i am trying to connect to thingworx through java sdk extension.

i have used below code:

ClientConfigurator config = new ClientConfigurator ();

config.seturi();

config.setappKey();

config.ignoresslerrors(true);


But not able to connect to thingworx. its giving Timeout exception

1 ACCEPTED SOLUTION

Accepted Solutions
dupatel
19-Tanzanite
(To:kborkar)

Kedar Borkar

You will have to pass valid argument with methods as below -

config.setUri("ws://10.196.110.229:8080/Thingworx/WS");                

config.setAppKey("800d296f-1563-4d5f-bd5e-4ff23f959eca");                   

config.ignoreSSLErrors(true);

Note: Do not put the same details as it will not work and should be according to your environment.

-Durgesh

View solution in original post

1 REPLY 1
dupatel
19-Tanzanite
(To:kborkar)

Kedar Borkar

You will have to pass valid argument with methods as below -

config.setUri("ws://10.196.110.229:8080/Thingworx/WS");                

config.setAppKey("800d296f-1563-4d5f-bd5e-4ff23f959eca");                   

config.ignoreSSLErrors(true);

Note: Do not put the same details as it will not work and should be according to your environment.

-Durgesh

Top Tags