380 likes | 614 Views
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),
E N D
Intalio BPM / SOA Integrated Platform version 5.2
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
Intalio|Designer – BPMN to BPEL and WSDL • A simple process that generates WSDL and BPEL “External” “Interface” Non-Executable = No BPEL generated
Intalio|Designer – BPMN to BPEL and WSDL • Create an executable pool in the BPMN diagram “DemoProcess” Executable Process Pool
Intalio|Designer – BPMN to BPEL and WSDL • Create the simple BPMN diagram
Creating an XML Schema data type (XSD) “MitreDemo.xsd”
Intalio|Designer – XSD Editor • Create the data type • Two string elements: “greeting” and “toWho”
Modifying the WSDL input/output data types • Set the data type of the message by drag and drop xsd element to the message line
Inspect the Generated WSDL • Save your diagram. • Generates BPEL and WSDL in the /build folder
Intalio|Designer – Graphical Mapper Tool • Data routing • Data Transformation
Intalio|Designer – Data Editor • Data Editor tab shows the generated BPEL in a graphical format • WS-BPEL 2.0
Intalio|BPMS – Deploy to Runtime • Deploy to server
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
Intalio|BPMS – Monitor Process Execution • In console, click on an active process instance • Diagram view shows progress graphically • Data tab shows process data
Intalio|BPMS Mitre SOA 2008 Demo Interacting with Web Services
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
Intalio|Designer – Import WSDL • Import a WSDL from AXIS2 on localhost Also imports dependencies
Intalio|Designer – Interact with Web Service • Inspect the imported WSDL Imported WSDLPort Operation Data Types
Intalio|Designer – Interact with Web Service • Connect the WSDL service in the BPMN diagram Non-executable pool “Services”
Intalio|Designer – Interact with Web Service • Connect the messaging lines between the process and the service • Synchronous request-response operation (bi-directional messaging)
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.
Intalio|Designer – Interact with Web Service • Run the process and view the results
Intalio|BPMS – Start process from external client • In SOAP UI, import local WSDL file from workspace • Generate request, edit XML • Submit request Get the WSDL from the Intalio project /build folder
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
Intalio|BPMS Mitre SOA 2008 Demo • Create BPMN diagram and deploy BPEL to server • Call Intalio Process from Web Service Client • Call Web Service from Intalio • Interact with People via Workflow Forms Integrating People Operations
Intalio|Designer – Human Centric Workflow • Create a simple form • Integrate the form into the diagram
Intalio|Designer – XForms Editor • Workflow Form Editor Palette View • Properties View
Intalio|Designer – XForms Integration • Add the XForm to the diagram • Set the role for the user pool to “examples\employee” Non-Executable Pool“People”
Intalio|BPMS - BPEL4People Workflow Patterns • Create and Complete pattern • Put a task in the inbox, wait for a response
Data Flow to XForm • Use the mapper tool to pre-populate the XForm
Intalio|BPMS – Human Centric Workflow UI • http://localhost:8080/ui-fw • Username: “examples\msmith” • Password: “password”
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 List “Inbox” Task (XForm)
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