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

How to use "Create" service in WCConnector extension.

Highlighted
Newbie

How to use "Create" service in WCConnector extension.

We have a requirement to create WindChill obj from ThingWorx. We plan to use CREATE service available in WindChill Connector. Please share some insights or developer guide, if this is the right appraoch.

3 REPLIES 3

Re: How to use "Create" service in WCConnector extension.

Hi Avinash, you can check the required detail on WindchillSwaggerConnector at Using WindchillSwaggerConnector and also Integration Connectors Prerequisites for more information on the Integration Connectors

Re: How to use "Create" service in WCConnector extension.

Hi Avinash, the WindchillConnector::Create service is using the Windchill Generic Web Service - this is an I*E based SOAP Web Service.

If you are familiar with Windchill Info*Engine, I recommend you to have a look at the I*E task xml and the <Create-Objects> webject documentation:

WindchillConnector::Create (TWX Service)

---> TwxIEWebService (WNC SOAP WS)

        ---> <WT_HOME>\com\ptc\windchill\ws\Create.xml (WNC I*E Task)

               ---> <Create-Objects> (WNC I*E Webject)

Re: How to use "Create" service in WCConnector extension.

You can find an example of WindchillConnector::Create usage in ptc-windchill-demo-thing::CreateProblemReport service.

CreateProblemReport performs the following operations :

  1. fetch a WTPart from its oid (WindchillConnector::Fetch)
  2. create a WTChangeIssue (WindchillConnector::Create)
  3. link the WTPart and WTChangeIssue as ReportedAgainst (WindchillConnector::Link)