Skip to main content
1-Visitor
April 20, 2017
Question

How to use "Create" service in WCConnector extension.

  • April 20, 2017
  • 2 replies
  • 2170 views

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.

2 replies

5-Regular Member
April 20, 2017

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

16-Pearl
May 10, 2017

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)

16-Pearl
May 10, 2017

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)