Step 2: Using the Participants View to Create a Process Service Consumer
Step 2: Using the Participants View to Create a Process Service Consumer
Participants are the Web services and clients using your process and the partner Web services your process uses. A participant exposes an interface to exchange messages with other services.
The loan approval process has three participants: one participant is the process itself, playing the role of receiving a customer request and replying to the customer. The other two participants are partner services that are created later.
Right-mouse click on Process Service Consumers and select New Process Service Consumer.
Each process plays at least one participant role, that of being consumed by a Web Service to start the process.
In the Interface tree, expand Project and Project Reference Services to see three port types listed in the Tutorial project. A port type is a required element of WSDL. It describes the operation to use for invoking a Web service and the messages to be exchanged between Web services. These port types are defined in the WSDLs that are provided with the Tutorial orchestration project. Select the LoanProcess port type.
The default Consumer Name is Process_Consumer. Rename this to
loanProcessor
to identify the participant role that this process is playing.
Click
OK
. The new participant is displayed, and you can expand it to show the interface details from