Skip to main content
1-Visitor
October 5, 2016
Question

Accessing custom java services over ThingWorx

  • October 5, 2016
  • 2 replies
  • 1619 views

Hi All,

I need help on how to access custom java services over ThingWorx platform. My java services are written and run in the same Tomcat server on which TX is running. These services are required to interact with external systems like SAP CRM, Security system. By default we can run java script and SQL services from Things in TX but not java. Any help on this will be great.

2 replies

1-Visitor
October 5, 2016

Hi soumya majumdar​  , With Thingworx , you can invoke services defined on any server.

I have tried invoking services from Java SDK running on RPI.

I think , the same can be implemented with Java services running on same tomcat , though Thingworx is a web application , however it is designed to be connected to Edge or micro server running on small remote devices rather than on local host . However this can be achieved .

Let me know if you want more information on this.

1-Visitor
October 6, 2016

Hi Soumya,

You can perfectly write a Server Side Extension in Java for ThingWorx, ThingWorx it's extensive on Server Side (Java) and on Client Side (HTML5 Widgets). Here you have a document on ThingWorx extension development: 

http://support.ptc.com/cs/help/thingworx_hc/thingworx_7.0_hc/Supporting%20files/extension_development_user_guide/thingworx_extension_development_user_guide.pdf http://support.ptc.com/cs/help/thingworx_hc/thingworx_7.0_hc/Supporting%20files/extension_development_user_guide/thingworx_extension_development_user_guide.pdf

Best Regards,

Carles.