Databases Reference
In-Depth Information
To call a web service in BPEL, we first need to create a partner link (as discussed at
the start of this chapter). So from the Component Palette , expand the BPEL Services
section and drag a Partner Link (Web Service / Adapter) component into the Partner
Link swim lane in your BPEL process. This will pop up the following screen:
First enter a name for the partner link, for example, XigniteQuotes . Next we need to
specify the WSDL file for the partner link. JDeveloper provides the following ways to
do this:
SOA Resource Lookup : Allows us to browse the filesystem for WSDL files or
any connected application server for deployed services
SOA Service Explorer : Allows us to browse other services that are defined
within the composite (for example, other BPEL processes, Mediator, or
external services)
Define Service : This enables us to define adapter services (refer to
Chapter 3 , Service-enabling Existing Systems ) directly within the context
of a BPEL process
WSDL URL : Directly enter the URL for the WSDL file into the
corresponding field
For our reference, we have a local copy of the WSDL for Xignite's quotes service,
called XigniteQuotes.wsdl , which is included with the samples for Chapter 5. Click
on the SOA Resource Lookup … icon (circled in the preceding screenshot), then
browse to and select this file (select Yes if prompted to create a local copy of the file).
 
Search WWH ::




Custom Search