Sample projects and automations: Web Services
The repository projects in Samples\Web Services\ demonstrate a variety of technique for constructing web service-enabled projects:
The project Basic Service demonstrates the simplest use of the Web Service Input and Web Service Output tools, returning whatever is passed in the request body and headers as the response body and headers.
The projects Call with OAuth2 Authenticated JWT, Call with OAuth2 Client Credentials, Call with OAuth2 Google Credentials, and Call with OAuth2 Signed JWT demonstrate how to use the Web Service Call tool to interact with web services that require OAuth2 authentication.
The project SOAP Web Service demonstrates a simple SOAP web service which expects a formatted SOAP request, modifies the request body, and returns it as the response.
The project RESTful Web Service demonstrates a simple RESTful web service which expects a formatted JSON request, and makes various modifications to the request body, which are dependent upon the request body and URL.
The project Calling RESTful Web Service This project demonstrates how to use the Web Service Call tool to interact with the RESTful Web Service example, which requires a JSON request body, and returns a JSON response that is dependent upon the request method and URL.