Question6Replies454Views KannanM3 Member since 2019 18 posts Idexx Laboratories Posted: 8 months agoLast activity: 8 months 1 week ago How to change the REST Service endpoint URLI am creating a service REST and dont see any option to configure the context url, instead I see it picks automatically "/prweb/PRRestService" from somewhere and adds the service package name, version and service name which are the ones I created. Eg. https://pega.dev.com/prweb/PRRestService/MYSP/v1/MyService.1. After creating the service REST can I change this url?2. Where does it gets the "prweb" and "PRRestService" to build the url? Low-Code App Development Data Integration ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Posted: 8 months agoSusanLiu_GCS PEGA replied to KannanM3Please check below pdn link: https://community1.pega.com/community/pega-support/question/how-update-service-endpoint-url-rest-service-package Posted: 8 months agoKannanM3 Idexx Laboratories replied to KannanM3Thanks Susan, that link doesnt really have answer to my question where "prweb" and "PRRestService" are fetched by Pega to construct the url. Also I tried to save as an existing service rest but I dont see any option to change the url. Posted: 8 months agoSusanLiu_GCS PEGA replied to KannanM3Service URL is usually in the structure: http(s)://<host>:<port>/prweb/PRRestService/<servicepackage>/<serviceclass>/<servicemethod> The Rest service Servlet in Pega is in PRRestService. I am not aware of that you can modify it. Posted: 8 months agoSusanLiu_GCS PEGA replied to KannanM3Some additional information about creating a REST service. Please check below pdn help link. https://community.pega.com/sites/default/files/help_v83/procomhelpmain.htm#rule-/rule-service-/rule-service-rest/new.htm Posted: 8 months agoKannanM3 Idexx Laboratories replied to KannanM3Thanks SusanLiu, this is exactly what I follwed to create the service REST but it doesnt give any details how and where the /prweb can be found and how to use custom url's Posted: 8 months agovaspoz BPM Company replied to KannanM3http://<hostname>/prweb/PRRestService First part - "prweb" - it's your web application name. It's definec by your application container (say, tomcat). You can change it there. Everything, what's after - like here PRRestService - defined in the file web.xml of your prweb application. You can find it in the directory, where it's uploaded. If you want to completely omit prweb and use URI like http://<hostname>/, then you need to change dispatcher in your webserver (whatever it is - nginx, apache, etc).