RestfulWebServiceSample
This supplied REST web service input device makes a GET call to a sample web service
and retrieves a JSON job. The input device submits the job to the RestfulWebServiceWF workflow supplied with the Web Services Enablement feature.
Each time that you enable and connect this input device, a sample job is submitted to the RestfulWebServiceWF workflow every 30 seconds. To stop submitting jobs, disable and disconnect the input device.
General
| Property | Value |
|---|---|
| Input device description | Calls a sample REST web service, retrieves a sample JSON job every 30 seconds, and submits it to the RestfulWebServiceWF sample workflow |
| Parent server | System |
| Polling interval (seconds) | 30 |
| Submit step | SubmitInputFiles |
| Workflow | ParentNoPrint |
| Child workflow | RestfulWebServiceWF |
| Maximum errors | 10 |
| Input device location | Not set |
| Device code page | Not set |
Request
| Property | Value |
|---|---|
| Request URL | http://localhost:15080/restapi/1.0/sample/order |
| Request method | GET |
| Request content type | JSON |
| Request payload | |
| Request header | fakename:RPDsample |
| Request parameters | |
| Use proxy server | No |
| Create jobs from response | Always |
| Response pattern to match | |
| Create child jobs | No |
Authentication
| Property | Value |
|---|---|
| Static credential | |
| Authentication response attribute | |
| Authentication request URL | |
| Authentication request method | GET |
| Authentication request password | |
| Authentication response content type | JSON |
| Authentication request payload | |
| Authentication request header | |
| Authentication request parameters |
Advanced
| Property | Value |
|---|---|
| Child workflow parsing rules | |
| Child workflow pattern |