SlideShare a Scribd company logo
Quick Tutorial – Part 2
Open Data Web Services
for Oracle BPM
Forms and data integration using Open-XDX

1

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

August, 2013

David Webber and
Serge Leontiev
Public Sector
NIEM Team
Disclaimer Notice
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.

2

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

Slide 2
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

3

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Development Conceptual View
Design

Test
SQL

CAM Editor
XML

Deploy
DB

Delivery

Open XDX

Open XDX
SQL

XML
BPM
BPM

•

Generate Data
Validate Data
Share Data

•

CAMV

•
•

•
•

4

Visual Editor
SQL Browser
Dictionaries
Drag and Drop

•
•
•

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

•
•
•

Open XDX
Web Services
Oracle BPM

•

Device
Browser
Server
Open XDX - Conceptual Overview
Data Exchange
Existing
Information
Databases

SQL

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

SQL

JDBC
connection

Template

Rapid
Build and
Deploy

Structure
Rules

Open-XDX

Configuration

DB Mappings
Parameters

XML or
JSON

5

Open Data
Send
Content

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Build New Service for
Patient Medical History
Query

6

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
SQL to XML – Visual Designer Mode
Data Exchange
Design

XML structure viewer

Drag and Drop
Designer

EMPTY (Patient Medical
History Report)

Database schema viewer

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

7

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Visual Designer Mode
Data Exchange
Design

XML structure viewer
Drag and Drop
Designer

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

Template
Structure
Store Configuration

Database schema viewer

• 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)
8

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

Rules

DB Mappings
Parameters
CAM Editor – Test with Open-XDX engine
Test Services
Existing
Information
Databases

XML structure viewer

SQL

SQL

JDBC
connection

Open-XDX

Execute Template

• Add filter parameter to restrict records returned

9

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

XML or
JSON

Open Data
Content
Demonstration – Open-XDX Data Generation
Data Exchange

Oracle Tools

Demo
XML Designer
2
Generate

3

1

Oracle Database

Application Data Tables

10

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
CAM Template
Structure

Completing the Exchange
Design Artifacts

Rules

Documentation

11

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
CAM Editor Tools
Visual Editing and Mapping
CAM Template

Target Renderings
XSD Schema

XML
Content

Structure

- Forms, PDF and Tools

MindMap
Model
UML Model

Rules

CAM
EDITOR
Documentation

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

Data Instance

- XML, JSON and PDF

XML
Dictionary

SQL

12

SOA / NIEM solution artifacts

Documentation
HTML, XML, Excel
Integrate Open-XDX
Web Service with
BPM Forms using
JDeveloper

13

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
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

14

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
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

15

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Demonstration – JDeveloper and BPM forms
JDeveloper

Demo

16

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Steps Review – JAXB generation from XSD schema
JDeveloper

• Initial menu options selection

17

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Steps Review – JAXB generation from XSD schema
JDeveloper

• Import XSD schema
• Generate JAXB object model

18

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Steps Review – Configure Web Service
JDeveloper

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

19

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Steps Review – Configure Web Service
JDeveloper

• Configure service port details

20

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Steps Review – Configure Database Connection
WLS Configure

• JDBC connection and JNDI

21

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Steps Review – Deploy Services
WLS Configure

• Create Web
Service Reference

22

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Steps Review – Configure WSDL
JDeveloper

• WSDL setup

23

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Steps Review – Attach Services to Processes
JDeveloper

• Attach WSDL services
to process steps

24

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Steps Review – Review Configuration
JDeveloper

• Process Review

25

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Steps Review – Data Associations
JDeveloper

• Data Association Details

26

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Steps Review – Form Generation and Editing
Oracle BPM
Composer

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

27

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Steps Review – Run Process and Test Operations
Oracle BPM
Composer

• Run Process

28

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
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

29

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
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 tools

www.VerifyXML.org
30

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

30
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.org
31

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

www.niemtrainingvideos.org
32

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
JDeveloper Source Code Samples

 VerifyXML GitHub resource

site:
 https://github.com/verifyxml
 Contains Open-XDX

example projects
Code
Samples

33

Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
Next - Oracle BPM Integration with Open-XDX
Oracle BPM
Composer

Demo

34

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

More Related Content

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

  • 1. Quick Tutorial – Part 2 Open Data Web Services for Oracle BPM Forms and data integration using Open-XDX 1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. August, 2013 David Webber and Serge Leontiev Public Sector NIEM Team
  • 2. Disclaimer Notice 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. 2 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Slide 2
  • 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 3 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 4. Development Conceptual View Design Test SQL CAM Editor XML Deploy DB Delivery Open XDX Open XDX SQL XML BPM BPM • Generate Data Validate Data Share Data • CAMV • • • • 4 Visual Editor SQL Browser Dictionaries Drag and Drop • • • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. • • • Open XDX Web Services Oracle BPM • Device Browser Server
  • 5. Open XDX - Conceptual Overview Data Exchange Existing Information Databases SQL Control template contains information of the exchange structure design and DB mapping rules of data tables and columns SQL JDBC connection Template Rapid Build and Deploy Structure Rules Open-XDX Configuration DB Mappings Parameters XML or JSON 5 Open Data Send Content Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 6. Build New Service for Patient Medical History Query 6 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 7. SQL to XML – Visual Designer Mode Data Exchange Design XML structure viewer Drag and Drop Designer EMPTY (Patient Medical History Report) Database schema viewer • Start with new empty XML structure; • Toggle database viewer to designer mode. 7 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 8. Visual Designer Mode Data Exchange Design XML structure viewer Drag and Drop Designer Control template contains information of the exchange structure design and DB mapping rules of data tables and columns Template Structure Store Configuration Database schema viewer • 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) 8 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Rules DB Mappings Parameters
  • 9. CAM Editor – Test with Open-XDX engine Test Services Existing Information Databases XML structure viewer SQL SQL JDBC connection Open-XDX Execute Template • Add filter parameter to restrict records returned 9 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. XML or JSON Open Data Content
  • 10. Demonstration – Open-XDX Data Generation Data Exchange Oracle Tools Demo XML Designer 2 Generate 3 1 Oracle Database Application Data Tables 10 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 11. CAM Template Structure Completing the Exchange Design Artifacts Rules Documentation 11 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 12. CAM Editor Tools Visual Editing and Mapping CAM Template Target Renderings XSD Schema XML Content Structure - Forms, PDF and Tools MindMap Model UML Model Rules CAM EDITOR Documentation Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Data Instance - XML, JSON and PDF XML Dictionary SQL 12 SOA / NIEM solution artifacts Documentation HTML, XML, Excel
  • 13. Integrate Open-XDX Web Service with BPM Forms using JDeveloper 13 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 14 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 15 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 16. Demonstration – JDeveloper and BPM forms JDeveloper Demo 16 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 17. Steps Review – JAXB generation from XSD schema JDeveloper • Initial menu options selection 17 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 18. Steps Review – JAXB generation from XSD schema JDeveloper • Import XSD schema • Generate JAXB object model 18 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 19. Steps Review – Configure Web Service JDeveloper • Configure JAX-WS • Wire JAXB and Open-XDX into Web Services. 19 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 20. Steps Review – Configure Web Service JDeveloper • Configure service port details 20 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 21. Steps Review – Configure Database Connection WLS Configure • JDBC connection and JNDI 21 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 22. Steps Review – Deploy Services WLS Configure • Create Web Service Reference 22 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 23. Steps Review – Configure WSDL JDeveloper • WSDL setup 23 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 24. Steps Review – Attach Services to Processes JDeveloper • Attach WSDL services to process steps 24 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 25. Steps Review – Review Configuration JDeveloper • Process Review 25 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 26. Steps Review – Data Associations JDeveloper • Data Association Details 26 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 27. Steps Review – Form Generation and Editing Oracle BPM Composer • Create BPM Form automatically from XSD Data Source (via drag and drop) 27 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 28. Steps Review – Run Process and Test Operations Oracle BPM Composer • Run Process 28 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 29 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 tools www.VerifyXML.org 30 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 30
  • 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.org 31 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. www.niemtrainingvideos.org
  • 32. 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 projects Code Samples 33 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
  • 34. Next - Oracle BPM Integration with Open-XDX Oracle BPM Composer Demo 34 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Editor's Notes

  1. Open-XDX conceptual view
  2. Designer UI
  3. Drag and Drop
  4. Test Open-XDX
  5. Step 1 – review application databases using Workbench (Oracle Designer)Step 2 – Drag and Drop mappings to XML target structureRun Open XDX engine – read data, build results XMLTest, validate, refine, deployDeployment with BPM, WebLogic, SOA suite, JAX-WS, etc.
  6. JDeveloper dashboard
  7. Screen
  8. Screen
  9. Screen
  10. Screen
  11. Screen
  12. Screen
  13. Screen
  14. Screen
  15. Screen
  16. Screen
  17. Screen
  18. Screen
  19. Screen