When you drag-and-drop NorthAirWS
into the BPEL diagram, the partner link property box is shown. Provide
WS_NorthAirImpl as the partner link name and select the WSDL File:
Building a Sample Application
[ 212 ]
Now, right-click on Process Files | New | WSDL Document to create a BPEL
implementation of the process.
The New WSDL Document wizard will guide you through the process of
creating a WSDL document from an existing XML schema file as shown in the
following screenshot:
Chapter 10
[ 213 ]
Select the auto generated NorthAirWS_xsd_1.xsd file. From the EJB module, when
you add web services and operations, this file gets updated. You can also manually
create a schema and select that file in the Import XML Schema File option.
After selecting the schema file, you can configure the input and output as shown in
the following screenshot:
Building a Sample Application
[ 214 ]
Change the Message Part Name for Input to inputItinerary and select the Element
as ns:processItinerary. To select the element, click on the [??¦] button and select the
processItinerary element as shown in the following screenshot:
After selecting the input types, click Next to select the Binding Type. Leave the
Binding Type as SOAP for now and select the Binding Subtype as Document
Literal as shown in the following screenshot:
Chapter 10
[ 215 ]
The following screenshot shows the graphical representation of the WSDL
document created from the XML schema.
Pages:
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194