- 1 - Strategic Information Technology Ltd.. - 2 - PUG Challenge Americas 2013 “XML Data Services” for the Business Developer William MacDonald Architect.

Post on 23-Dec-2015

214 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

Transcript

- 1 -

Strategic Information Technology Ltd.

- 2 -

PUG Challenge Americas 2013

“XML Data Services” for the Business Developer

William MacDonaldArchitect Manager

- 3 -

Strategic Information Technology Limited (SIT) designs banking software solutions internationally.

150+ Employees

40+ Developers

About SIT

- 4 -

Never need to “Parse”

XML Documents.

- 5 -

Only 6 Gateway Developers lack Business knowledge

Over 20 Interfaces, adding more each month

Business Developers lack XML Expertise

Tedious to implement new XML interfaces

Differing methods from each Developer

Use Case

- 6 -

String Parsing

DOM Parser

SAX Parser

ProDataSets

XML Options

- 7 -

<?xml version="1.0“ ?>

<dsCustomer>

<eCustomer>

<CustNum>1</CustNum>

<Name>Fred Flintstone</Name>

<Phone>905-555-1234</Phone>

<Balance>0</Balance> </eCustomer>

</dsCustomer>

XML Sample

- 8 -

XML Data Services

Change in Mindset

- 9 -

We focus on the “Data”.

Read and Write the “Data” with different parsers.

XML complicates the Business logic.

Validate XML using XML Schema (XSD).

XML Parsing

- 10 -

<?xml version="1.0"?>

<xsd:schema>

<xsd:element name="dsCustomer">

<xsd:complexType>

<xsd:sequence>

<xsd:element name="eCustomer" minOccurs="0" maxOccurs="unbounded“ >

<xsd:complexType>

<xsd:sequence>

<xsd:element name="CustNum" type="xsd:int" nillable="true" />

<xsd:element name="Name" type="xsd:string" nillable="true" />

<xsd:element name="Phone" type="xsd:string" nillable="true” />

<xsd:element name="Balance" type="xsd:decimal“ nillable="true" />

...

XML Schema (XSD)

- 11 -

Not a Runtime process

Generate Data Model

Unit Test Data Model

Use Data Model

XML Data Services

- 12 -

XML Schema

OOABL

Collections

Serialization

Model Code Generator

What is required?

- 13 -

Demonstration

- 14 -

Quick and Easy to Use

Not limited to XML

Consistent Data Models

Customizable

WebServices without OpenEdge WSDL Analyzer

Conclusions

- 15 -

Questions?

- 16 -

Thank you and enjoy PCA 2013!

top related