We have seen documentation to create thing in Thingworx server manually or to import XML definition of existing thing (already exported from same or another thingworx server).

We have a different problem at hand. We need to create things programatically using JAVA APIs.


I need to create XML for thing definition, which can be imported in Thingworx server. Are there any helper APIs which provide a way to dump XML for Thing object defined using VirtualThing class in java ?


Any thoughts on approach will be helpful ?