To generate a WSDL file for an asynchronous interface from an XSD file:
Perform these steps after the Create WSDL dialog appears when you are creating a Mediator or when you are defining a service for a Mediator.
-
On the Create WSDL dialog, enter the information for the properties listed in Table 19-2.
-
In the Interface Type field, select Asynchronous Interface.
The Input field and Callback section appear, as shown in Figure 19-25.
Figure 19-25 Create WSDL Dialog for an Asynchronous Interface
Description of "Figure 19-25 Create WSDL Dialog for an Asynchronous Interface" -
Repeat the same steps to define the input message parts for the Callback section.
Note:
The callback input represents the response message and is required in asynchronous transactions.
-
In the Callback section, specify the following information for the response message:
-
Port Type: The name of the port type in the WSDL file that contains the operation to use.
-
Operation: The name of the action to perform; for example,
executeResponse
.Note:
Spaces and special characters are not allowed in an operation name or port type. Only alphabetic and numeric characters are supported, and the first character cannot be a number. Both of these fields are required.
-
-
Click OK.
Note:
Partner link types are generally used in BPEL, so you do not need to select Generate partnerlinkType extension for Mediator.