Chapter 8. Integration using WebSphere Business Integration Adapters 237
Figure 8-26 StockInfo business process Web client
The process runs and the console should print out the contents of the Quote
Information and return the results to the calling Web service.
8.7 Creating the system process
The system process in this scenario is a multi-configuration process that
facilitates the flexibility of switching and choosing a service provider using the
context data information. This process was a key business requirement and
growth opportunity that was mentioned in 3.1.3, “Business requirements” on
page 69. For an overview of a system process, refer to 2.2.5, “Conceptual
architecture” on page 37 and 2.2.6, “Logical architecture” on page 47.
Figure 8-27 on page 238 shows the multi-configuration context-based routing to
different service providers implemented by the system process.
238 Managing Information Access to an EIS Using J2EE and Services Oriented Architecture
Figure 8-27 System process interaction - adapters service providers
The system process uses the context information to route the request, including
the domain object, to the adapter service partner link. For this particular scenario,
the partner link is the JDBC adapter service BPEL process, which does the data
transformation and the request on the WebSphere Business Integration Adapter
for JDBC.
The design and development of a system process using BPEL is explained in
Chapter 9, “Integration into business processes” on page 241.
Here are the high-level steps that are required to incorporate the adapter process
into the system process:
1. Map the InputVariable to the incoming domain object by setting the message
file name to the system process WSDL that contains the domain schema.
Then, set the message type on InputVariable.
2. In the Assign StockInfo snippet, set the data from the input variable into the
adapter request variable, QuoteIn.
3. Create and map an OutputVariable to the outgoing domain object by setting
the message file name to the system process WSDL that contains the domain
schema. Then, set the message type on OutputVariable.
4. Set the returned result from the adapter, QuoteOut, into the corresponding
values for the OutputVariable.
5. Integrate the adapter business process into the system process as the
appropriate remote service call partner link.
System Process
Partner
Link
(PL)
Context
Adapter Service
Process
Data Transformation
LOCAL
REMOTE
Domain Data
JDBC
Data Transformation
SAP
Adapter Service
Adapter
Adapter for
mySAP
Adapter for
JDBC
Partner
Link
(PL)
LOCAL
REMOTE

Get Managing Information Access to an Enterprise Information System Using J2EE and Services Oriented Architecture now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.