15
Web service orchestration demo BCS 27 Nov 2008 Alan Jones, Teesside branch secretary

Web service orchestration demo BCS 27 Nov 2008 Alan Jones, Teesside branch secretary

Embed Size (px)

Citation preview

Page 1: Web service orchestration demo BCS 27 Nov 2008 Alan Jones, Teesside branch secretary

Web service orchestration demo

BCS 27 Nov 2008

Alan Jones, Teesside branch secretary

Page 2: Web service orchestration demo BCS 27 Nov 2008 Alan Jones, Teesside branch secretary

scenario

Linking front-office with back-officeSimulated integrationCapitalising on well-known animosity

between Sales and Engineering

Page 3: Web service orchestration demo BCS 27 Nov 2008 Alan Jones, Teesside branch secretary

This demo comes from the BPEL Cook Book

About Oracle’s application of BPEL

http://packtpub.com

And downloadable from

www.oracle.com/technology/pub/articles/bpel_cookbook/index.html 

Page 4: Web service orchestration demo BCS 27 Nov 2008 Alan Jones, Teesside branch secretary

The process

Call centre phones-in a firm orderCheck if customer already known to

Sales?YES – UPDATE Manufacturing with order.NO – update both sales and

manufacturing

Page 5: Web service orchestration demo BCS 27 Nov 2008 Alan Jones, Teesside branch secretary

Jargon

Sales systems are frequently synonymed as CRM

Manufacturing systems likewise, as ERP

Page 6: Web service orchestration demo BCS 27 Nov 2008 Alan Jones, Teesside branch secretary

We’ve met this before

In this organisation, changes made in one ‘customer record’ and not updated in other systems of ‘customer record’. This problem is widespread due to ‘data silos’.

Let’s build the BPEL integration to join them. When a customer-order is received, we check if

Sales know about this customer. If no, we tell Sales and Manufacturing. If yes, we use information from Sales to tell

Manufacturing. Then we tell the customer what we’ve done.

Page 7: Web service orchestration demo BCS 27 Nov 2008 Alan Jones, Teesside branch secretary

My modelling technique

I use Yourdon modelling to analyse ‘how many messages?’ and ‘how many ports?’

Yourdon has no semantics for its modelsWe can make the model mean whatever

we wantThe nice thing about Yourdon is it models

what’s outside the business as well as what’s inside.

Page 8: Web service orchestration demo BCS 27 Nov 2008 Alan Jones, Teesside branch secretary

Yourdon technique

What are the events?Draw a Data Flow picture for each eventAggregate all the ‘event’ pictures togetherFrom this big picture, you have a) the business data objects b) the messages (flows that cross the

boundary) c) the ports – external entities aka services

Page 9: Web service orchestration demo BCS 27 Nov 2008 Alan Jones, Teesside branch secretary

events

1. Customer makes an order

Page 10: Web service orchestration demo BCS 27 Nov 2008 Alan Jones, Teesside branch secretary

Check customerInfo with

Sales

Update SalesAnd

ManufacturingERP

UpdateManuf. ERP

only

Advice NoteTo

Customer

Customerorder

SalesCRM

system

order

Yes/no no

yes

ManufacturingERP

system

Update ERP

Update CRM

Update ERPCustomer

Advice

details

details

Modelling for WSDLand BPEL

Page 11: Web service orchestration demo BCS 27 Nov 2008 Alan Jones, Teesside branch secretary

What’s a web service? WSDL

Customer – asks for an orderSales – has 2 tricks (aka services)

Can interrogate to find customer pre-existence Can update with new customer data

Manufacturing has 1 service Can update with new customer data

Page 12: Web service orchestration demo BCS 27 Nov 2008 Alan Jones, Teesside branch secretary

Show WSDL and BPEL simulation

http://www.activeVOS.com

Page 13: Web service orchestration demo BCS 27 Nov 2008 Alan Jones, Teesside branch secretary

Why is SOAP not SOAP any more?

SOAP was Simple Object Access ProtocolSOAP is a protocol for sending messagesBut it’s too simpleCannot answer back to a different person.Cannot encrypt message.Cannot send ‘terms & conditions’ with the

message

Page 14: Web service orchestration demo BCS 27 Nov 2008 Alan Jones, Teesside branch secretary

WS Standards

Web Service StandardsAdd extra goodies to SOAPNew addresses, encryption and codes,

terms and conditions, and lots moreAll crammed into an extended SOAPNo longer simple!

Page 15: Web service orchestration demo BCS 27 Nov 2008 Alan Jones, Teesside branch secretary