cam - Oasis

CAM
Technology
Introduction
Presentation
February 9th, 2007
Bethesda MD
Toward Agile Information Services
David Webber
Chair OASIS CAM TC
[email protected]
Copyright OASIS, 2005 / 2007
Overview

Part 1 – Introduction (5 mins)




Part 2 – Technology (5 mins)




Introduction to OASIS CAM
Architecture Overview
Challenges and Needs?
Part 3 – Demonstration (20 mins)





Providing Local Contextual Validation Services
Relationship to XSD schemas
Deployment / Use Models
CAM tool overview
Solving agility – your very own XML example
Value proposition
Call to action/next steps
Q&A (15 mins)
Copyright OASIS, 2005 / 2007
Part 1
Presentation
February 9th, 2007
Bethesda MD
INTRODUCTION

Providing Local Contextual Validation Services

Relationship to XSD schemas

Deployment / Use Models
Copyright OASIS, 2005 / 2007
Common Data Issues –
Exchange & Information Technology











Information Security Management
Electronic Document Management
Poor and Inconsistent Documentation
Data / Customer / Process Integration
Collaboration and Messaging
Authentication Technologies
Storage Technology
Remote communication challenges
System Development Life Cycle
Change Management
Segregation of Duties
Copyright OASIS, 2005 / 2007
Solution / Problem Metrics





Can I create a standard simple open format to
describe my message structures and data
content rules?
Can my partners validate their transactions in
test BEFORE they send them?
How do people know what I will send them?
I want something that’s simple and standards
based – leverages existing XML components
Can I generate HTML documentation that is
readable by business analysts?
Copyright OASIS, 2005 / 2007
Why not use XSD?






Today’s XML schemas have massive complex
structures with no context awareness + no cross
field association rules + no dynamic lookups
The XSD provides a model of ALL possible
structure instances – not the particular instance
Excessive use of namespaces make for fragile
XML transaction handling
Generating valid sparse transaction layout tough
Documentation diagrams hard to read
How to create simple re-usable templates?
Copyright OASIS, 2005 / 2007
Templates - Use Models
Analysis / Design
Publish
Templates
Templates
Structure
Rules
Context
1
Samples
5
Validate
3
User
Creates
XML
Results
Test
Report
html
XML
6
Pass / Fail
4
User
Certification
Rules
Editor
Results
html
Verify
Analyst
Rules
html
Develop
2
XML
XML
Business Functionality

Simple and obvious domain solution templates

Local deployment and simple change support

Handling local context drivers and flexibility



Opening up business integration rules so that
partners can confirm their usage + validating
HTML reporting of rules and layouts
Processing content with open public specification
and sharable rules base
Copyright OASIS, 2005 / 2006
Part 2
Presentation
February 9th, 2007
Bethesda MD
TECHNOLOGY

Introduction to OASIS CAM

Architecture Overview

Challenges and Needs?
Copyright OASIS, 2005 / 2007
History and Status of CAM






OASIS technical committee
Five years of combined work in UN/CEFACT
and OASIS
OASIS v1.1 committee specification
jCAM open source implementation in Java
Creating simple XML-scripted open standard
mechanisms for XML transaction assembly
and processing
Developing templates for common industry
formats
Copyright OASIS, 2005 / 2007
CAM Process Architecture
XML Parser
/ DOM
CAM
XPath
handler
XML-aware
Built-in
Functions
EXTENSIONS
Rule Engine
PostProcessing
/ Errors
SQL
persistence
Terms
Registry
Copyright OASIS, 2005 / 2006
jCAM Functional Components
XML Parser
/ DOM
CAM
xerces
jaxen
XPath
handler
XML-aware
cam
Built-in
Functions
EXTENSIONS
Rule Engine
e.g.
DROOLS,
Others…
PostProcessing
/ Errors
Saxon xslt
SQL
persistence
XML Data
Mapping
X
Terms
Registry
planned using
AJAX / ebXML
Copyright OASIS, 2005 / 2006
Deployment Options
Structure
Rules
Context
Web services
B2B
Templates
Templates
1
Request
XML
2
Validate
jCAM
engine
Java
API
XML Process
3
jCAM
engine
XML
Message
System
Receive 1
2
Process
Server
XML
Response
Java
API
3
Standalone
html
Report
html
Template
EDITOR
XML
Versioning Challenges




If the schema version changes – how to ensure it does
not break our in place validations?
How to rapidly adapt to rule changes in a production
environment?
How to develop user context driven deep version
control and re-use of sub-components?
Enhance and automate Test release cycle by
improving transparency for bug fix process and expose
change deltas to speed testing process? Support for
regression testing?
Copyright OASIS, 2005 / 2006
Who is doing this?







Templates for OASIS UBL subset transactions
UK – BTplc – prototyping UBL telephone industry
service provisioning
MetLife - modified templates approach for ACORD
OVS - OASIS EML voting records templates
OASIS BPSS v2.0.4 now supports Context + CAM
Prototype scripts for PESC loan applications /
PreisShare (Asian electronics market pricelists)
How do I do this using my everyday XML
transaction instances? Demonstration next!
Copyright OASIS, 2005 / 2007
Part 3
Presentation
February 9th, 2007
Bethesda MD
DEMONSTRATION




Tools Overview
Solving agility – your very own XML example
Value proposition
Call to action/next steps
Copyright OASIS, 2005 / 2007
How does jCAM process work?




CAM uses WYSIWYG approach to XML
Starting with your XML sample – creates structure
template from that + default data content model
Next – add your structure use rules – optional /
repeatable, date fields, allowed values, lookups
Then make context business rules – cross field use
rules, exclude, include, variables

Save template – run against samples

Eclipse editor tool makes this all easy to do!

Deploy to production using jCAM processor
Copyright OASIS, 2005 / 2006
Eclipse CAM Editor
1 Available structures
Rule Details
3
4
Validation
Process
2
Structure Rule Viewer
5
Results Viewer
Using jCAM :

Start with sample XML

Use Eclipse template editor

Load XML, generate CAM

Enhance base template

Test, refine and deploy

Deliver business solution
1
Simple
XML instance
2
Build Simple
Template
3
Extending
Template
4
5
Verify Results
Document
Rule Details
Copyright OASIS, 2005 / 2006
Value Proposition

Making XML transaction handling simpler and predictable

Extends and clarifies your existing XSD schema structures

Quick and easy rule building from sample XML transaction

Enabling more robust fault tolerant processing

Providing open sharable templates and documentation

Re-use easier through support for includable components

Ability to integrate to business processes and context

Open source, open public standard toolkit – editor + engine
Copyright OASIS, 2005 / 2006
What’s Next / Call to Action

XSD auto-mapping support

XPath v2 support

Possible use for mash-up content checking

Referencing Registry semantics - business nouns

W3C RIF / OMG PRR / OWL / DROOLS semantic rules

Develop template sets for your business domain members

Integrate into your messaging exchanges validations
Copyright OASIS, 2005 / 2006
QUESTIONS
ANSWERS
Resources:
www.jcam.org.uk
camprocessor.sourceforge.net
www.drools.org
www.oasis-open.org/committees/cam
Copyright OASIS, 2005 / 2007
Credits:
A special mention for our contributors to the
CAM and jCAM work:
UK - Martin Roberts with BTplc
US - Sidhartha Nagolu from AC-Tech / NIH
Copyright OASIS, 2005 / 2007