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

We are happy to announce the new Windchill Customization board! Learn more.

Rest Service in Windchill

Sha11
12-Amethyst

Rest Service in Windchill

Hello,

 

I need to create a Rest service where it can be invoked by an external system. I have achieved the same using Soap Web Services but not with Rest. Please provide your inputs on how to implement the same.

 

Thanks in advance.

 

Regards,

Sha

2 REPLIES 2
Ajit_Kulkarni
14-Alexandrite
(To:Sha11)

Hi Sha,

 

All you need to do is make one rest entry like below in your rest.properties.xconf. Even you can have custom xconf with target as rest.properties. I found one at location Windchill\codebase\com\ptc\windchill\uwgm\rest\xconf but there are more in Windchill.

 

Ajit_Kulkarni_0-1618414833112.png

 

You also need to have a java class file in codebase. 

 

You can follow article https://support.ptc.com/help/windchill/whc/whc_en/index.html#page/Windchill_Help_Center/NewandChanged_REST_Odata.html , https://support.ptc.com/help/windchill_rest_services/r1.6/en/index.html#page/windchill_rest_services%2FWCCG_landing_page_HC.html%23 

 

to write the java code. 

 

Hope this helps!!

 

Regards

Ajit

 

@Ajit_Kulkarni - Thank you for the information. I will check them out.

Top Tags