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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Multiple windchill servers with ODataConnector

GM_7064835
4-Participant

Multiple windchill servers with ODataConnector

Hello.

As WindchillConnector entity is meant to disappear, we plan to follow PTC's suggestion to use ODataConnector instead.

Currently, we have about fifty custom REST services, configured in a ThingTemplate implementing WindchillConnector. Then we have one thing for each server configuration, as we have several of them.

I struggle to replicate the same architecture with ODataConnector. Article CS284781 tells that custom REST services endpoints are enabled with ODataConnector property SwaggerJSON. It's impossible to do so within a ThingTemplate, but only in a Thing.

How can I separate services declaration and server configuration?

Thanks

Gilles Monchoux

4 REPLIES 4

First of all I am not sure what you mean "WindchillConnector entity is meant to disappear", I am not aware of this.

Secondly WindchillConnector is a Thing type of entity in ThingWorx so you can't implement it in another template as template can only use another template.

MarekPNowaczyk_0-1637174566869.png

WindchillConnector is using ODataConnector as a base template and they all use HTTPConnector so I am not clear what is the issue adding custom services to some entity extending them, can you clarify?

Even if WindchillConnector entity where to disappear you can still create custom thing or thing template using ODataConnector as base template where is the "server configuration" defined and add your custom services there.

Hello.
I'm using ThingWorx Foundation and Navigate 9.1. WindchillConnector is a (deprecated) ThingTemplate, not a thing, and has nothing to do with ODataConnector. I have no idea what is this "WindchillConnector" thing you have under ODataConnector. Isn't it something custom? Look what I have :

 

GM_7064835_0-1637250918548.png

But never mind WindchillConnector.

Now imagine I have two servers: ServerLondon and ServerParis. I create a ThingTemplate named "MyConnectorTemplate". I made a picture describing the architecture I want:

 

GM_7064835_1-1637251273978.png

I want my services to be declared on MyConnectorTemplate, and servers configurations set in their Thing.

I can't to that, because I can't define custom EndPoints at ThingTemplate level (Cf. CS284781 article). For what I know one can only redefine EndPoints in a Thing, which would only be acceptable if I had only one server.

I am not familiar with Navigate 9.1 or what WindchillConnector was replaced with so I suggest you open support case with Navigate support team that can suggest appropriate solution.

slangley
23-Emerald II
(To:GM_7064835)

Hi @GM_7064835.

 

Did you take a look at this information from the Help Center?

 

Let us know if you still have issues.

 

Regards.

 

--Sharon

Top Tags