Understanding the Configuration
The Service project contains the following:
- The RestService Process (RestService.bwp)
This process contains a process service with one operation
sayhello
. - To discover your service, enable service discovery and Circuit Breaker in the HTTP connector shared resource of your Service project.
The Client project contains the following:
- The RestInvoke Process (RestInvoke.bwp)
This process contains Invoke operation which invokes the
sayhello
operation. The HTTP Receiver is the process starter which triggers the process when it receives the request on the listening port. In the client project, you have to enable the service discovery configuration in HTTP client shared resource.