34
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 1 Quick Tutorial – Part 2 Open Data Web Services for Oracle BPM August, 2013 Forms and data integration using Open-XDX David Webber and Serge Leontiev Public Sector NIEM Team

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

  • View
    444

  • Download
    3

Embed Size (px)

DESCRIPTION

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

Citation preview

Page 1: 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

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

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

Page 3: Oracle BPM workflow and Open-XDX web services (Part 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

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

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

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

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

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

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

Build New Service for Patient Medical History Query

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

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)

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

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

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

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

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

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

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

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

Completing the Exchange Design Artifacts

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

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

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

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

Integrate Open-XDX Web Service with BPM Forms using JDeveloper

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

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

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

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

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

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

JDeveloper

Demonstration – JDeveloper and BPM forms

Demo

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

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

JDeveloper

Steps Review – JAXB generation from XSD schema

• Initial menu options selection

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

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

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

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.

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

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

JDeveloper

Steps Review – Configure Web Service

• Configure service port details

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

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

WLS Configure

Steps Review – Configure Database Connection

• JDBC connection and JNDI

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

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

WLS Configure

Steps Review – Deploy Services

• Create Web Service Reference

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

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

JDeveloper

Steps Review – Configure WSDL

• WSDL setup

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

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

JDeveloper

Steps Review – Attach Services to Processes

• Attach WSDL services to process steps

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

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

JDeveloper

Steps Review – Review Configuration

• Process Review

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

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

JDeveloper

Steps Review – Data Associations

• Data Association Details

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

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)

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

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

Oracle BPM Composer

Steps Review – Run Process and Test Operations

• Run Process

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

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

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

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

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

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

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

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

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

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

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

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

Oracle BPM Composer

Next - Oracle BPM Integration with Open-XDX

Demo