omg's 2nd workshop on web services · documents and web services across business processes •...

18
Copyright © 2002, Codagen Technologies Corp. OMG’s Second Workshop on Web Services Orchestrating Web Services from a UML Development Platform Michel Brassard Founder & CTO [email protected] Transform your software architecture into a reusable asset

Upload: others

Post on 16-Aug-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: OMG's 2nd Workshop on Web Services · Documents and Web Services across Business Processes • Implementing a Business Process using Web Services from a MDA platform. 3 DCX Business

Copyright © 2002, Codagen Technologies Corp.

OMG’s Second Workshop on Web Services

Orchestrating Web Services from a UML Development Platform

Michel BrassardFounder & [email protected]

Transform your software architecture into a reusable asset

Page 2: OMG's 2nd Workshop on Web Services · Documents and Web Services across Business Processes • Implementing a Business Process using Web Services from a MDA platform. 3 DCX Business

2

Agenda

• Modeling Business Scenarios and Business Processes with UML

• Reusing Business Scenarios, Business Documents and Web Services across Business Processes

• Implementing a Business Process using Web Services from a MDA platform

Page 3: OMG's 2nd Workshop on Web Services · Documents and Web Services across Business Processes • Implementing a Business Process using Web Services from a MDA platform. 3 DCX Business

3

DCX Business Process: Engineering Change Management

Issue change request

Request info

Return info

Process infoDisapprove

ApproveOR

Distribute work order

Release new data

Originator DCX Partners

Modeling Business Scenarios and Business Processes with UML

Return results

Process Request(estimated time

and cost)

Page 4: OMG's 2nd Workshop on Web Services · Documents and Web Services across Business Processes • Implementing a Business Process using Web Services from a MDA platform. 3 DCX Business

4

DCX Business Scenario #1a: Engineering Change Request Without Consequences

Originator DCX PartnersIssue change request

Approve

Request info

Positive reply

Process info

Distribute work order

Return results

Release new data Release new data

Modeling Business Scenarios and Business Processes with UML

Process Request(estimated time

and cost)

Page 5: OMG's 2nd Workshop on Web Services · Documents and Web Services across Business Processes • Implementing a Business Process using Web Services from a MDA platform. 3 DCX Business

5

DCX Business Scenario #1b: Engineering Change Request Without Consequences

Originator DCX PartnersIssue change request

Disapprove

Request info

Negative reply

Modeling Business Scenarios and Business Processes with UML

Process Request(estimated time

and cost)

Page 6: OMG's 2nd Workshop on Web Services · Documents and Web Services across Business Processes • Implementing a Business Process using Web Services from a MDA platform. 3 DCX Business

6

DCX Business Scenario #2a: Engineering Change Requestwith Consequences

Originator DCX Partners

Issue change request

Process request(estimated time

and cost)

Approve with consequences

Request info

Positive reply with consequences

Process consequences

Initiate work order

Return results

Release new dataRelease new data

Modeling Business Scenarios and Business Processes with UML

Page 7: OMG's 2nd Workshop on Web Services · Documents and Web Services across Business Processes • Implementing a Business Process using Web Services from a MDA platform. 3 DCX Business

7

DCX Business Scenario #2b: Engineering Change Requestwith Consequences

Originator DCX Partners

Issue change request

Process request(estimated time

and cost)

Disapprove

Request info

Positive reply with consequences

Process consequences

Modeling Business Scenarios and Business Processes with UML

Page 8: OMG's 2nd Workshop on Web Services · Documents and Web Services across Business Processes • Implementing a Business Process using Web Services from a MDA platform. 3 DCX Business

8

Business Scenarios allow an incremental approach to business process modeling

Modeling Business Scenarios and Business Processes with UML

Business scenarios Business process

Sequencediagram

Sequencediagram

Sequencediagram

Activitydiagram

Activitydiagram

Synthesis

#1

#2

#3

#4

Page 9: OMG's 2nd Workshop on Web Services · Documents and Web Services across Business Processes • Implementing a Business Process using Web Services from a MDA platform. 3 DCX Business

9

Behaviors found in Business Scenarios are Mappedwith Web Services

Web Services can be reused across business processes

Modeling Business Scenarios and Business Processes with UML

Business scenarios Web Services

Sequencediagram

Sequencediagram

Sequencediagram

Activitydiagram

Web Service creation

and discovery

#1

#2

#3

#4

Page 10: OMG's 2nd Workshop on Web Services · Documents and Web Services across Business Processes • Implementing a Business Process using Web Services from a MDA platform. 3 DCX Business

10

• Business Scenario integration:– Automatic Synthesis of the global view of the business

process:• Generates the structure of the global view of the

business process

A business process is a multiparty collaboration between a set of Web Services and XML documents

Each Web Service is provided by a trading partner involved in thecollaboration

Modeling Business Scenarios and Business Processes with UML

Page 11: OMG's 2nd Workshop on Web Services · Documents and Web Services across Business Processes • Implementing a Business Process using Web Services from a MDA platform. 3 DCX Business

11

• Business Scenario integration (continued):– Automatic Synthesis of the global view of the business

process (continued):• Generates the behavior of the global view of

the business process

Modeling Business Scenarios and Business Processes with UML

Enforces a consistent view of the contract among trading partners

Page 12: OMG's 2nd Workshop on Web Services · Documents and Web Services across Business Processes • Implementing a Business Process using Web Services from a MDA platform. 3 DCX Business

12

• Business Scenario integration (continued):– Automatic Synthesis of the local views (Web Services) of

the business process:• Generates the behavior of the local view of a trading

partner that plays a role in the business process

S e n d P u r c h a s e O r d e r R e q u es t

R e c e iv e O r d e r R e s p o n s e

Modeling Business Scenarios and Business Processes with UML

Send Purchase Order Request

Receive Order Response

Page 13: OMG's 2nd Workshop on Web Services · Documents and Web Services across Business Processes • Implementing a Business Process using Web Services from a MDA platform. 3 DCX Business

13

• Business Scenario Integration (continued):– Automatic Synthesis of

the local views (Web Services) of the business process (continued):

• Generates the structure of the local view of a trading partner that plays a role in the business process

PurchaseOrderRequest OrderResponse

SendPurchaseOrderRequest

<<output>>

ReceiveOrderResponse

<<input>>

Buyer

SPOReqPT

<<operation>>

ROrderResponsePT

<<operation>>

SPOReqBind

<<implements>>

ROrderResponseBind

<<implements>>

BuyerService

<<provides>>

<<porttype>>

<<porttype>>

pPOReq

<<port>>

pROrderResponse

<<port>>

― Binds operations of a business process with messages ― Binds operations with a port implementation (manual step)

Added to be compliant with WSDL

Modeling Business Scenarios and Business Processes with UML

Page 14: OMG's 2nd Workshop on Web Services · Documents and Web Services across Business Processes • Implementing a Business Process using Web Services from a MDA platform. 3 DCX Business

14

• Import/export using:– Proprietary utilities among same UML modeling tool

vendors– XMI 2.0 among different UML modeling tool vendors

• Facilitates collaborative development

Reusing Business Scenarios, Business Documents and Web Services across Business Processes

Business Document#4Business

Document#4Business

Scenario#1Business

Scenario#1

Business Scenario#5Business

Scenario#5

Business Document#3Business

Document#3Web

Service#2Web

Service#2

Web Service#6

Web Service#6

Page 15: OMG's 2nd Workshop on Web Services · Documents and Web Services across Business Processes • Implementing a Business Process using Web Services from a MDA platform. 3 DCX Business

15

Implementing Business Process using Web Services from a MDA Platform

• Loosely-coupled implementation for a single business process

Trading partners build Web Services using a .NET or Java platform and different vendors for their workflow engine

PSM 3: Other Vendor

PSM 2: IBM PSM 1: Microsoft

Business ProcessBusiness Process

Platform-Independent Model Platform-Specific Models

PIM PSM

Code PSMCode PSM

UML PSMUML PSM

Page 16: OMG's 2nd Workshop on Web Services · Documents and Web Services across Business Processes • Implementing a Business Process using Web Services from a MDA platform. 3 DCX Business

16

• Provides a UML platform for modeling:

– Business scenarios

– Business processes

– Business documents

– Web Services

Demonstration

Page 17: OMG's 2nd Workshop on Web Services · Documents and Web Services across Business Processes • Implementing a Business Process using Web Services from a MDA platform. 3 DCX Business

17

Summary

• Business scenarios can:– Facilitate a collaborative and incremental approach for

designing a business process– Reduce the risk and cost of creating and maintaining a

business process

• Synthesis of business scenarios generates the static and dynamic view of:– The global business process– The local view for each trading partner, which is

consistent with the contract describing the interaction among them

Page 18: OMG's 2nd Workshop on Web Services · Documents and Web Services across Business Processes • Implementing a Business Process using Web Services from a MDA platform. 3 DCX Business

18

Summary

• UML profile, MDA and XMI can:– Maximize UML investments without requiring a working

knowledge of the standard– Enforce a business process over a heterogeneous

implementation

• Web Services for EAI or B2B can be implemented as:– Activities orchestrated by a workflow engine for each

trading partner involved– Composite Web Services using a programming

language like Java, C#, or VB