Double-click the invoke activity to display the Invoke dialog.

8-6 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite payload into the loan application approver web service’s request variable payload. ■ Create a second assign activity for data manipulation after the receive activity that copies the loan application approver web service’s response variable loan application results payload into the output variable for the client to receive.

8.2.2 What Happens When You Invoke an Asynchronous Web Service

This section describes what happens when you invoke an asynchronous web service.

8.2.2.1 portType Section of the WSDL File

The portType section of the WSDL file in this example, for LoanService defines the ports to be used for the asynchronous service. Asynchronous services have two port types. Each port type performs a one-way operation. In this example, one port type responds to the asynchronous process and the other calls back the client with the asynchronous response. In the example shown in Example 8–1 , the portType LoanServiceCallback receives the client’s loan application request and the portType LoanService asynchronously calls back the client with the loan offer response. Example 8–1 portType Definition -- portType implemented by the LoanService BPEL process -- portType name=LoanService operation name=initiate input message=tns:LoanServiceRequestMessage operation portType -- portType implemented by the requester of LoanService BPEL process for asynchronous callback purposes -- portType name=LoanServiceCallback operation name=onResult input message=tns:LoanServiceResultMessage operation portType

8.2.2.2 partnerLinkType Section of the WSDL File

The partnerLinkType section of the WSDL file in this example, for LoanService defines the following characteristics of the BPEL process service component: ■ The role operation played ■ The portType provided for receiving messages within the conversation Partner link types in asynchronous services have two roles: one for the web service provider and one for the client requester. In the conversation shown in Example 8–2 , the LoanServiceProvider role and LoanService portType are used for client request messages and the LoanServiceRequester role and LoanServiceCallback portType are used for asynchronously returning calling back response messages to the client. Example 8–2 partnerLinkType Definition plnk:partnerLinkType name=LoanService plnk:role name=LoanServiceProvider