Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Service REST deployment



You are creating a Service-REST rule. In the linked Service Package record, trying to create a WSDL file fails with the below error.  is there a way to generate a WSDL file for a REST service?

Error Messages

Unexpected Error: Could not determine status of REST deployment

Steps to Reproduce

1. Create a Service Package.
2. Create a Service-REST selecting package as above created package.
3. In Service Package -> Methods tabs , select Rule-Service-REST to generate the service method.
4. in Service Package -> Deployment tab, click "Generate Deployment Files" after entering deployment type and service class.


There are no WSDL files for REST services.  WSDL files are only for SOAP services.  REST only uses the standard HTTP methods, so it does not need the level of detail WSDL files provide.

You will need to set up your REST client manually.  You can invoke a Service-REST rule as per the documentation on the PDN: . 

The syntax is http://servername:portnumber/contextroot/PRRestService/packageName/className/methodName (note that it's PRRestService and not PRServlet.  Contextroot is "prweb" unless you've changed it).
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us