Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
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
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.
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