37
Intalio BPM / SOA Integrated Platform version 5.2

Intalio BPM / SOA

  • Upload
    lavina

  • View
    50

  • Download
    0

Embed Size (px)

DESCRIPTION

Intalio BPM / SOA. Integrated Platform version 5.2. Architecture Overview. Agenda. Presenter: Rick Geneva, Process Expert , Intalio Inc. Tutorial demonstrates generating BPEL code from a BPMN diagram, integration with Web Services or an Enterprise Service Bus (ESB), - PowerPoint PPT Presentation

Citation preview

Page 1: Intalio BPM / SOA

Intalio BPM / SOA

Integrated Platform version 5.2

Page 2: Intalio BPM / SOA

Architecture Overview

Page 3: Intalio BPM / SOA

Agenda

Presenter: Rick Geneva, Process Expert, Intalio Inc.Tutorial demonstrates

– generating BPEL code from a BPMN diagram,– integration with Web Services or an Enterprise Service Bus (ESB), – and process orchestration involving both system and human participants.

• Create a BPMN process diagram in the Intalio designer tool• Import a WSDL document from the ESB. Alternately, show the capability

to import any WSDL and associated import files from a URL.• Use the WSDL document to call a web service in the process diagram• Deploy the completed process to the Intalio runtime server• Test the process via a web services call from an external system

• Refactor the process diagram to allow for remote systems to call the process as a web service call

• Use the Intalio XForms designer to create a human interface to the web service call

Page 4: Intalio BPM / SOA

Intalio|Designer – New Project

Page 5: Intalio BPM / SOA

Intalio|Designer – New Process Diagram

Page 6: Intalio BPM / SOA

Intalio|Designer – BPMN to BPEL and WSDL

• A simple process that generates WSDL and BPEL

“External”“Interface”

Non-Executable

= No BPEL generated

Page 7: Intalio BPM / SOA

Intalio|Designer – BPMN to BPEL and WSDL• Create an executable pool in the BPMN diagram

“DemoProcess”

Executable Process Pool

Page 8: Intalio BPM / SOA

Intalio|Designer – BPMN to BPEL and WSDL

• Create the simple BPMN diagram

Page 9: Intalio BPM / SOA

Creating an XML Schema data type (XSD)

“MitreDemo.xsd”

Page 10: Intalio BPM / SOA

XSD: Create Data Structure

Page 11: Intalio BPM / SOA

Intalio|Designer – XSD Editor

• Create the data type– Two string elements: “greeting” and “toWho”

Page 12: Intalio BPM / SOA

Modifying the WSDL input/output data types

• Set the data type of the message by drag and drop xsd element to the message line

Page 13: Intalio BPM / SOA

Inspect the Generated WSDL• Save your diagram. • Generates BPEL and WSDL in the /build folder

Page 14: Intalio BPM / SOA

Intalio|Designer – Graphical Mapper Tool1. Data routing2. Data Transformation

Page 15: Intalio BPM / SOA

Intalio|Designer – Data Editor• Data Editor tab shows the generated BPEL in a graphical format• WS-BPEL 2.0

Page 16: Intalio BPM / SOA

Intalio|BPMS – Deploy to Runtime• Deploy to server

Page 17: Intalio BPM / SOA

Intalio|BPMS – Start process from console• http://localhost:8080/bpms-console

– Username: admin– Password: changeit

• Select a Process – start– Automatically generates form based on XSD data structure

Page 18: Intalio BPM / SOA

Intalio|BPMS – Monitor Process Execution• In console, click on an active process instance

– Diagram view shows progress graphically– Data tab shows process data

Page 19: Intalio BPM / SOA

INTERACTING WITH WEB SERVICESIntalio|BPMS Mitre SOA 2008 Demo

Page 20: Intalio BPM / SOA

Intalio|Designer – Import WSDL

• Import WSDL from local file – copy and paste into workspace• Import WSDL from URL – import wizard

http://localhost:8080/axis2/services/Version?wsdl

Page 21: Intalio BPM / SOA

Intalio|Designer – Import WSDL• Import a WSDL from AXIS2 on localhost

Also imports dependencies

Page 22: Intalio BPM / SOA

Intalio|Designer – Interact with Web Service• Inspect the imported WSDL

Imported WSDLPortOperationData Types

Page 23: Intalio BPM / SOA

Intalio|Designer – Interact with Web Service

• Connect the WSDL service in the BPMN diagram

Non-executable pool

“Services”

Page 24: Intalio BPM / SOA

Intalio|Designer – Interact with Web Service

• Connect the messaging lines between the process and the service• Synchronous request-response operation (bi-directional messaging)

Page 25: Intalio BPM / SOA

Intalio|Designer – Interact with Web Service• Change the output mappings at step “create output”• Use the XPath concat() function to add the service call to the output• Run the process from the console, same as earlier.

Page 26: Intalio BPM / SOA

Intalio|Designer – Interact with Web Service

• Run the process and view the results

Page 27: Intalio BPM / SOA

Intalio|BPMS – Start process from external client1. In SOAP UI, import local WSDL file from workspace2. Generate request, edit XML3. Submit request

Get the WSDL from the Intalio

project /build folder

Page 28: Intalio BPM / SOA

Intalio|Designer – Interact with Web Service

• Response in SOAP UI

Hello, SOAP UI: version Hello I am Axis2 version service , My version is 1.3

Page 29: Intalio BPM / SOA

INTEGRATING PEOPLE OPERATIONSIntalio|BPMS Mitre SOA 2008 Demo

Create BPMN diagram and deploy BPEL to serverCall Intalio Process from Web Service ClientCall Web Service from IntalioInteract with People via Workflow Forms

Page 30: Intalio BPM / SOA

Intalio|Designer – Human Centric Workflow• Create a simple form• Integrate the form into the diagram

Page 31: Intalio BPM / SOA

Intalio|Designer – XForms Editor• Workflow Form Editor Palette View• Properties View

Page 32: Intalio BPM / SOA

Intalio|Designer – XForms Integration• Add the XForm to the diagram• Set the role for the user pool to “examples\employee”

Non-Executable Pool

“People”

Page 33: Intalio BPM / SOA

Intalio|BPMS - BPEL4People Workflow Patterns

• Create and Complete pattern• Put a task in the inbox, wait for a response

Page 34: Intalio BPM / SOA

Data Flow to XForm• Use the mapper tool to pre-populate the XForm

Page 35: Intalio BPM / SOA

Intalio|BPMS – Human Centric Workflow UI

• http://localhost:8080/ui-fw– Username: “examples\msmith”– Password: “password”

Page 36: Intalio BPM / SOA

Intalio|BPMS – Human Centric Workflow UI

• Deploy the new version of the process.• Start a process instance, same as before.• Task appears in msmith’s inbox (employee role)

Task (XForm)

Task List “Inbox”

Page 37: Intalio BPM / SOA

Conclusion

Created a web service, implemented by BPEL, with zero coding

Called a web service with zero coding Routed results of a web service call to a person, with

zero coding• Can also conditionally send tasks based on data

Start via WS Inbound Call

Outbound WS call

Concatenate Results

Send to a person