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?
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).