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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Rest Service in Windchill

Sha11
14-Alexandrite

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

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

 

Sha11
14-Alexandrite
(To:Ajit_Kulkarni)

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

Announcements

Top Tags