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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

How to use "Create" service in WCConnector extension.

ag-2
2-Explorer

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
supandey
19-Tanzanite
(To:ag-2)

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

smainente
16-Pearl
(To:ag-2)

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)

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)
Announcements


Top Tags