Oracle BPM workflow and Open-XDX web services (Part 2)

Post on 18-Oct-2014

444 views 3 download

description

This is the technical walkthrough of configuring Oracle BPM workflow to utilize Open-XDX web services.

Transcript of Oracle BPM workflow and Open-XDX web services (Part 2)

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.1

Quick Tutorial – Part 2Open Data Web Services for Oracle BPM

August, 2013

Forms and data integration using Open-XDX David Webber and Serge LeontievPublic Sector NIEM Team

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.2

The following is not intended to outline Oracle general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions.

The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.

Disclaimer Notice

Slide 2

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.3

Tutorial Overview

Introduce the Concepts and Approach

Build New Service for Patient Medical History Query

Completing and Testing the Data Services

Creating the XSD schema

Integrating via JDeveloper with Oracle BPM form

Summary and Resources

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.4

Development Conceptual View

• Visual Editor • SQL Browser• Dictionaries• Drag and Drop

• Generate Data• Validate Data• Share Data

• Open XDX• Web Services• Oracle BPM

Design Test Deploy

DB

BPM

Open XDX

CAMV

CAM EditorOpen XDX

• Device• Browser• Server

Delivery

SQL

XML

XML

SQL

BPM

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.5

Data Exchange

Open XDX - Conceptual Overview

Existing Information Databases

SQL

Open Data Content

Open-XDX

Send

SQL

Rapid Build andDeploy

JDBC connection

Control template contains information of the exchange structure design and DB mapping rules of data tables and columns

TemplateStructure

Rules

DB Mappings

Parameters

Configuration

XML or JSON

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.6

Build New Service for Patient Medical History Query

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.7

Data Exchange Design

SQL to XML – Visual Designer Mode

• Start with new empty XML structure; • Toggle database viewer to designer

mode.

Drag and Drop Designer

Database schema viewer

XML structure viewer

EMPTY (Patient Medical History Report)

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.8

Data Exchange Design

Visual Designer Mode

Control template contains information of the exchange structure design and DB mapping rules of data tables and columns

Template

Structure

Rules

DB Mappings

Parameters

Store Configuration

• Drag and Drop table into XML structure• Complete XML structure components automatically inserted (with DBMappings);• All component names / definitions conform to NIEM NDR (smart rename wizard

converts SQL to XML)

Drag and Drop Designer

Database schema viewer

XML structure viewer

Drag and Drop of Table

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.9

Test Services

CAM Editor – Test with Open-XDX engine

Execute Template

XML structure viewer

Existing Information Databases

SQL

Open Data Content

Open-XDX

SQL

JDBC connection

XML or JSON

• Add filter parameter to restrict records returned

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.10

Data Exchange

Demonstration – Open-XDX Data Generation

Oracle Tools

Oracle Database

XML Designer

Generate

Application Data Tables

31

2

Demo

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.11

Completing the Exchange Design Artifacts

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.12

CAM Editor Tools SOA / NIEM solution artifactsVisual Editing and Mapping Target Renderings

Structure

Rules

Documentation

CAM Template

SQL

CAM EDITOR

XML Content

XSD Schema

MindMap Model

UML Model

Data Instance

Documentation HTML, XML, Excel

XML Dictionary

- Forms, PDF and Tools

- XML, JSON and PDF

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.13

Integrate Open-XDX Web Service with BPM Forms using JDeveloper

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.14

Web Services Configuration Steps

Services Definition - JDeveloper– Import BPM project from BPM Composer export

– Generate JAXB classes based on XSD schema (exported from CAM editor)

– Create JAX-WS / JAX-RS services with JAXB + Open-XDX process

– Service definition with WSDL

Database Connection - Oracle WebLogic Server (WLS)– Create JNDI Data Source in WLS for Open-XDX database connection

– Deploy services into WLS

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.15

Integrating Services to Forms Steps

Configure Data Handling - JDeveloper– Create Web Service Reference based on new WSDL

– Define Process Data Objects based on Web Service XSD schema

– Map BPM Human Tasks and Services to Data Objects

Forms Integration – Oracle BPM Composer– Import new updated project (exported from JDeveloper)

– Auto-generate BPM Forms for Human Tasks using payload XSD schema

– Run and verify operation

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.16

JDeveloper

Demonstration – JDeveloper and BPM forms

Demo

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.17

JDeveloper

Steps Review – JAXB generation from XSD schema

• Initial menu options selection

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.18

JDeveloper

Steps Review – JAXB generation from XSD schema

• Import XSD schema• Generate JAXB object model

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.19

JDeveloper

Steps Review – Configure Web Service

• Configure JAX-WS• Wire JAXB and Open-XDX into Web Services.

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.20

JDeveloper

Steps Review – Configure Web Service

• Configure service port details

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.21

WLS Configure

Steps Review – Configure Database Connection

• JDBC connection and JNDI

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.22

WLS Configure

Steps Review – Deploy Services

• Create Web Service Reference

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.23

JDeveloper

Steps Review – Configure WSDL

• WSDL setup

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.24

JDeveloper

Steps Review – Attach Services to Processes

• Attach WSDL services to process steps

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.25

JDeveloper

Steps Review – Review Configuration

• Process Review

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.26

JDeveloper

Steps Review – Data Associations

• Data Association Details

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.27

Oracle BPM Composer

Steps Review – Form Generation and Editing

• Create BPM Form automatically from XSD Data Source (via drag and drop)

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.28

Oracle BPM Composer

Steps Review – Run Process and Test Operations

• Run Process

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.29

Resources and Links

Open-XDX and CAM editor software tools– http://www.cameditor.org

Product Information on Oracle BPM Suite– http://www.oracle.com/us/technologies/bpm/suite/overview/index.html

Java Developer Magazine article “BPM without Barriers”– http://java.ulitzer.com/node/2269751

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.30

Open-XDX Specific Resources SNAPSHOT OF PROJECT

ACTIVITIES

Showcase site for integration

exchanges using NIEM and Open Data

Global Test bed initiative for Information

Exchange (GITB)

CAMV validation toolswww.VerifyXML.org

30

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.31

CAMeditor.org Project Site

SNAPSHOT OF PROJECT

ACTIVITIES

165,000+ CAMeditor.org page

visits to site

165+ countries have downloaded tools; 30% of visitors are

from U.S.;800+ downloads

weekly

3,500+ student views of online video

training resources

8 languages now available

www.cameditor.orgwww.niemtrainingvideos.org

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.32

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.33

JDeveloper Source Code Samples

VerifyXML GitHub resource

site:

https://github.com/verifyxml

Contains Open-XDX

example projectsCode

Samples

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.34

Oracle BPM Composer

Next - Oracle BPM Integration with Open-XDX

Demo