502 Patterns: Building Serial and Parallel Processes for IBM WebSphere Process Server V6
Scenario implementation overview
In this appendix, we build Web service implementations for Wholesaler A and
Wholesaler B. These Web service implementations are used by the ITSO
Electronics organization in Part 3 of this book.
Both Wholesaler A and Wholesaler B implement three business functions:
򐂰 Get Delivery Days
򐂰 Place Order
򐂰 Cancel Order
In Wholesaler A, this business logic is implemented in WS-BPEL processes and
a business rule. In Wholesaler B, this logic is implemented in a Java class. The
business logic in both wholesalers is exposed with a SOAP over HTTP
(SOAP/HTTP) Web services interface. ITSO Electronics acts as a Web services
consumer, sending SOAP/HTTP messages to communicate with the
wholesalers.
Appendix A. Building Wholesaler A and B service implementations 503
In this appendix, we build the business logic for Wholesaler A and Wholesaler B,
and then expose this business logic with a Web services interface. This is shown
in Figure A-1.
Figure A-1 Implementation of Wholesaler A and Wholesaler B
WholesalerA
Module
PlaceOrder_Export
Web Service
DelDays_Export
Web Service
Place Order
WS-BPEL
Del Days
WS-BPEL
CancelOrder_Export
Web Service
Cancel Order
Business Rule
WholesalerB
Module
PlaceOrder_Export
Web Service
DelDays_Export
Web Service
Place Order
Java class
Del Days
Java class
CancelOrder_Export
Web Service
Cancel Order
Java class
ITSOElectronics
Module
WhA_DelDays_Import
Web Service Call
WhA_PlaceOrd_Import
Web Service Call
WhA_DelDays_Import
Web Service Call
WhA_DelDays_Import
Web Service Call
WhA_PlaceOrd_Import
Web Service Call
WhA_DelDays_Import
Web Service Call

Get Patterns: Building Serial and Parallel Processes for IBM WebSphere Process Server V6 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.