Exposing Your Project as a RESTful Service

After you create and deploy your project, it is available to you as either a SOAP-based web service or a RESTful service. If you choose to expose your project as a RESTful service you can execute your service using standard HTTP calls, sending and receiving common data formats such JSON and XML.


Tutorial 5: Importing a Service steps through the process of exposing your project as a REST service. It shows you how to use Web Service Explorer and online XML to JSON conversion tools to help determine what the JSON input to your RESTful service should look like.

In the tutorial you can also see an example of how to use the Curl utility to call the RESTful service. Curl is a command line tool for transferring data with URL syntax. You can see information about Curl on their web site, http://curl.haxx.se/

Things to remember

For a Process Designer service to be called RESTfully, its input must be a complex type. You cannot use simple inputs, such as strings, as input. In Process Designer all inputs and outputs are complex by default.
Related Topics
Bullet How to Invoke a RESTful Service
Bullet Tutorial 5: Importing a Service
Bullet How do I Deploy my Service?