17
Collection of Municipal Tax on Real Estate *Value Model (Basic) *Specify BPMN *Skeleton of BPEL

Collection of Municipal Tax on Real Estate *Value Model (Basic) *Specify BPMN *Skeleton of BPEL

Embed Size (px)

Citation preview

Page 1: Collection of Municipal Tax on Real Estate *Value Model (Basic) *Specify BPMN *Skeleton of BPEL

Collection of Municipal Tax on Real Estate

*Value Model (Basic)*Specify BPMN

*Skeleton of BPEL

Page 2: Collection of Municipal Tax on Real Estate *Value Model (Basic) *Specify BPMN *Skeleton of BPEL

Collection of Municipal Tax on Real Estate

Prepared by Nazli TemurBusiness Process Engineering Course

Prof. Ernesto DamianiInformatics Department,

University of Milan , Crema Campus

Page 3: Collection of Municipal Tax on Real Estate *Value Model (Basic) *Specify BPMN *Skeleton of BPEL

Needed Definitions for Designing a Complete Value Model

• Scenario• Actors• Value Objects• Value Transactions• Scenario Paths

Page 4: Collection of Municipal Tax on Real Estate *Value Model (Basic) *Specify BPMN *Skeleton of BPEL

Alternative

web service

Page 5: Collection of Municipal Tax on Real Estate *Value Model (Basic) *Specify BPMN *Skeleton of BPEL

Actors

• the Citizen - CIT, the Company, COM, non-profit orgenizations, NGO)

• (the Licensed Accountant - the LA, or the Center for Tax Assistance - the CAF)

• (the Municipality - M)• (e.g. the Bank (B), the Post Office (PO) or

others - (O)).

Page 6: Collection of Municipal Tax on Real Estate *Value Model (Basic) *Specify BPMN *Skeleton of BPEL

Value Objects

• a tax-payer• a tax advisor• a public service provider• a tax collector

Page 7: Collection of Municipal Tax on Real Estate *Value Model (Basic) *Specify BPMN *Skeleton of BPEL

Activity Summaries of a Tax-Payer Point of View

Page 8: Collection of Municipal Tax on Real Estate *Value Model (Basic) *Specify BPMN *Skeleton of BPEL

BPMN

Page 9: Collection of Municipal Tax on Real Estate *Value Model (Basic) *Specify BPMN *Skeleton of BPEL

First Piece

Page 10: Collection of Municipal Tax on Real Estate *Value Model (Basic) *Specify BPMN *Skeleton of BPEL

Second Piece

Page 11: Collection of Municipal Tax on Real Estate *Value Model (Basic) *Specify BPMN *Skeleton of BPEL

Thirth Piece

Page 12: Collection of Municipal Tax on Real Estate *Value Model (Basic) *Specify BPMN *Skeleton of BPEL

Fourth Piece

Page 13: Collection of Municipal Tax on Real Estate *Value Model (Basic) *Specify BPMN *Skeleton of BPEL

BPEL

BPEL is an XML programming language. As aprogramming language it has three basic components:

• Programming logic• Data types• Input/Output (I/O)BPEL splits these components up in the following way: • Programming logic - BPEL• Data types - XSD (XML Schema Definition)• Input/Output (I/O) - WSDL (Web Services Description

Language)

Page 14: Collection of Municipal Tax on Real Estate *Value Model (Basic) *Specify BPMN *Skeleton of BPEL

An Example of “hello word” programwith Bpel

<?xml version="1.0" encoding="UTF-8"?><process xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"

xmlns:print="http://www.eclipse.org/tptp/choreography/2004/engine/Print"> <!--Hello World - my first ever BPEL program -->

<import importType="http://schemas.xmlsoap.org/wsdl/" location="../../test_bucket/service_libraries/tptp_EnginePrinterPort.wsdl" namespace="http://www.eclipse.org/tptp/choreography/2004/engine/Print" />

<partnerLinks> <partnerLink name="printService" partnerLinkType="print:printLink"

partnerRole="printService"/> </partnerLinks><variables> <variable name="hello_world" messageType="print:PrintMessage" />

</variables><assign> <copy> <from><literal>Hello World</literal></from>

<to>$hello_world.value</to> </copy> </assign><invoke partnerLink="printService" operation="print" inputVariable="hello_world"

/></process>

Page 15: Collection of Municipal Tax on Real Estate *Value Model (Basic) *Specify BPMN *Skeleton of BPEL

BPEL Skeleton

<xml version = “UTF -8 ”>Bpel : process xmlns:bpel =“ httpd ”…<bpel : sequence> (for Exclusive OR operation)<receive name : “receive input” partnerlink:….. (Start)<invoke “send request to task advicer”… / > <bpel:receive name = “Receive Form”> <input variable :“ ” output variable :”” > <bpel :invoke name =“Fill Form” > <bpel :receive name = “receive information”> …….. . ……………………

Page 16: Collection of Municipal Tax on Real Estate *Value Model (Basic) *Specify BPMN *Skeleton of BPEL

BPEL Skeleton<bpel : invoke name = “pay a certain amount of service ” <switch (…) ../ > <case condition =“A” > <invoke name : “credit card”> <case condition= “B“> ( <otherwise> ) <invoke name : “cash”> <bpel:catchAll> <bpel : receive name = “receive output”> </bpel receive> </otherwise> </switch>……………………. </bpel:sequence></bpel:process>

Not complete bpel specification of bpmn examle

Page 17: Collection of Municipal Tax on Real Estate *Value Model (Basic) *Specify BPMN *Skeleton of BPEL

Any Questions

?