xml web services: xml asset management using xml spy 4.2 and

52
1 XML Web Services: XML Asset Management Using XML Spy 4.2 and TIBCO Canon/Developer Portal Brand Niemann “XML Web Services Evangelist” Data Standards Branch October 1, 2001 Disclaimer: Any reference to or depiction of the commercial product of any vendor is for illustrative purposes only and does not constitute an endorsement by EPA or the trainer.

Upload: khanyasmin

Post on 17-Feb-2017

1.695 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: XML Web Services: XML Asset Management Using XML Spy 4.2 and

1

XML Web Services: XML Asset Management Using

XML Spy 4.2 and TIBCO Canon/Developer Portal

Brand Niemann“XML Web Services Evangelist”

Data Standards BranchOctober 1, 2001

Disclaimer: Any reference to or depiction of the commercial product of any vendor is for illustrative purposes only and does not constitute an endorsement by EPA or the trainer.

Page 2: XML Web Services: XML Asset Management Using XML Spy 4.2 and

2

Overview

• 1. Internet Explorer 6.0 Support for XML• 2. XML SPY 4.0 Suite• 3. TIBCO Canon/Developer/Portal• 4. Creation of An XML Schema from a

Database• Appendix: MS SQL Server Installation for

Canon/Developer/Portal

Page 3: XML Web Services: XML Asset Management Using XML Spy 4.2 and

3

1. Internet Explorer 6.0 Support for XML• XML: Includes support for Microsoft XML (MSXML) 3.0, providing better

performance and up-to-date XML standards support.• Enhanced SMIL 2.0 Multimedia Support: Provides continued support for

the developing synchronized multimedia integration language (SMIL) 2.0 in progress at the World-Wide Web Consortium (W3C), most notably in the area of transitions, allowing the application of filters and effects, such as fading an image, transitioning between text or media elements by using wipes, and applying a graduated color background to an element, all at designated times, without the need for script. Also supports the SVG Viewer from Adobe Systems.

• .NET Integration: As part of the WebService behavior, makes integration of server and client side code easier, and enables applications to call functions on the server asynchronously. You can use this behavior to avoid page navigations and to retrieve data from the server using XML and SOAP.

• Full DOM Level 1 Support: Provides enhanced support for standards-based applications and development of informative content for users. Fully compliant with the W3C Document Object Model (DOM) Level 1, an interface that allows programs and scripts to dynamically access and update document content, structure, and style without platform or language restrictions.

Page 4: XML Web Services: XML Asset Management Using XML Spy 4.2 and

4

2. XML SPY 4.0 Suite

• Product Family• Training• Installations• License Manager• Help Files and Tutorials• Integrated Development Environment• Examples with EPA DTDs

Page 5: XML Web Services: XML Asset Management Using XML Spy 4.2 and

5

Product Family• Integrated Development Environment

– Powerful XML Editor– XSLT Edit and Transform– Graphical Schema Design– Database Connectivity

• XSLT Designer– Powerful Visual Design– Schema-driven Process– Create e-Forms– Requires no prior XPath or XSLT Experience

• Document Editor & Browser Plug-In– Freeflow WYSIWYG Editing– Word-processor Like– e-Forms Data Entry– Real-time Validation

Page 6: XML Web Services: XML Asset Management Using XML Spy 4.2 and

6

Training• XML Spy BootCamp

– Developed by the Richard Hale Shaw Group (RichardHaleShawGroup.com -- creators of the XMLBootCamp, UMLBootCamp and other BootCamp-style, training courses for software developers on COM, ASP, UML and .NET), XMLSpyBootCamp is a 5-day, hands-on intense immersion in learning XML using XML Spy 4.0. Starting with XML fundamentals and mark-up, and moving quickly to style-sheets (XSL and XSLT using the XSLT Designer in XML Spy) and validation (DTDs and Schemas, plus the XML Spy Schema Editor and IE plug-in), the course covers both the DOM and the SAX parser, as well as server-side XML and SOAP. Taught in a rigorous, hands-on fashion by professionals such as Josh Holmes (who wrote the XML Spy BootCamp course and who teaches the XMLBootCamp), you'll complete this class knowing exactly how to utilize the latest features of XML Spy 4.0 for building a variety of applications using XML. This course will be taught publicly, starting in late October, 2001, and is available as on-site training as well. For details see XMLSPYBOOTCAMP.com.

Page 7: XML Web Services: XML Asset Management Using XML Spy 4.2 and

7

Installations

Page 8: XML Web Services: XML Asset Management Using XML Spy 4.2 and

8

License Manager

Page 9: XML Web Services: XML Asset Management Using XML Spy 4.2 and

9

On-Line Manual

Page 10: XML Web Services: XML Asset Management Using XML Spy 4.2 and

10

Online Manual Tutorial• Overview of the interface.• Create a Schema from scratch.• Making Schema components reusable.• Generating Schema documentation.• Creating an XML document.• XSL transformation.• Importing and exporting database data.• Creating a database schema.• Creating a project.Note: The 2-day GPO Class does hands-on with this

tutorial.

Page 11: XML Web Services: XML Asset Management Using XML Spy 4.2 and

11

Acrobat Tutorial

Page 12: XML Web Services: XML Asset Management Using XML Spy 4.2 and

12

Document Editor Help Files

Page 13: XML Web Services: XML Asset Management Using XML Spy 4.2 and

13

XSLT Designer Help Files

Page 14: XML Web Services: XML Asset Management Using XML Spy 4.2 and

14

Integrated Development Environment

Page 15: XML Web Services: XML Asset Management Using XML Spy 4.2 and

15

Examples with EPA DTDs

• Chemical Data Exchange Schema• Hazardous Waste Manifest Schema• IDEF (Logical Groups) Schema• Unregulated Contaminant Monitoring Rule

(UCMR)• State Drinking Water System (SDWIS Legal)• Superfund Electronic Data Deliverable (SEDD)• Electronic Discharge Monitoring Results (e-DMR)

Page 16: XML Web Services: XML Asset Management Using XML Spy 4.2 and

16

3. TIBCO Canon/Developer/Portal

• Company Products and Services• Installations• Help Files• Sample Files• Turbo XML• Canon/Developer/Portal• Some EPA Uses

Page 17: XML Web Services: XML Asset Management Using XML Spy 4.2 and

17

Company Products and Services• Extensibility.Com acquired by TIBCO Software,

Inc.:– Developer Tools:

• Turbo XML – suite that includes XML Authority, XML Instance, and XML Console.

– Server:• Canon/Developer – registry for collaborative

development/deployment of XML assets and vocabularies within the enterprise and its trading partners.

• Canon/Portal – Web-based publishing and dissemination of XML assets.

– XML Directive:• Customizable training program of on-site, hands-on training in

XML best practices.

Page 18: XML Web Services: XML Asset Management Using XML Spy 4.2 and

18

TIBCO Extensibility Framework

Page 19: XML Web Services: XML Asset Management Using XML Spy 4.2 and

19

Installations

Page 20: XML Web Services: XML Asset Management Using XML Spy 4.2 and

20

Installations

Page 21: XML Web Services: XML Asset Management Using XML Spy 4.2 and

21

Installations

See Appendix for details of SQL server installation.

Page 22: XML Web Services: XML Asset Management Using XML Spy 4.2 and

22

Help Files

Page 23: XML Web Services: XML Asset Management Using XML Spy 4.2 and

23

Help Files

Page 24: XML Web Services: XML Asset Management Using XML Spy 4.2 and

24

Sample Files

Page 25: XML Web Services: XML Asset Management Using XML Spy 4.2 and

25

Turbo XML

Page 26: XML Web Services: XML Asset Management Using XML Spy 4.2 and

26

Canon/Developer/Portal

Page 27: XML Web Services: XML Asset Management Using XML Spy 4.2 and

27

Canon/Developer/Tomcat

Page 28: XML Web Services: XML Asset Management Using XML Spy 4.2 and

28

4. Creation of An XML Schema from a Database

• XML Spy 4.0 Tutorial:– Menu option: Convert, Create Database Schema, select

Microsoft Access database, click Choose file button, Select DB2schema.mdb, click Open button, click Okay button.

– Explore the Schema design view– Menu option: File, Save as, DB2schema.xsd

• Note: Currently only MS Access databases are able to automatically provide the “key” and “keyref” information used to create the databases hierarchy. All other databases currently create a flat structured schema.

Page 29: XML Web Services: XML Asset Management Using XML Spy 4.2 and

29

Database Schema Example

Page 30: XML Web Services: XML Asset Management Using XML Spy 4.2 and

30

Appendix: MS SQL Server Installation for Canon/Developer/Portal

• SQL Server Components and Database Server (2 screens).

• Installation Wizard Choices (9 screens).• Check that MSSQLSERVER is started (3

screens).• Command Line: Run Install (if necessary) (1

screen).• Configure Database (7 screens).

Page 31: XML Web Services: XML Asset Management Using XML Spy 4.2 and

31

Select: SQL Server 2000 Components

Page 32: XML Web Services: XML Asset Management Using XML Spy 4.2 and

32

Select: Install Database Server

Page 33: XML Web Services: XML Asset Management Using XML Spy 4.2 and

33

Start: SQL Server Installation Wizard

Page 34: XML Web Services: XML Asset Management Using XML Spy 4.2 and

34

Select: Local Computer

Page 35: XML Web Services: XML Asset Management Using XML Spy 4.2 and

35

Select: Create a new instance of SQL Server, or install Client Tools

Page 36: XML Web Services: XML Asset Management Using XML Spy 4.2 and

36

Enter: Name and Company

Page 37: XML Web Services: XML Asset Management Using XML Spy 4.2 and

37

Select: Server and Client Tools

Page 38: XML Web Services: XML Asset Management Using XML Spy 4.2 and

38

Select: Default Installation

Page 39: XML Web Services: XML Asset Management Using XML Spy 4.2 and

39

Select: Typical or Minimum

Page 40: XML Web Services: XML Asset Management Using XML Spy 4.2 and

40

Select: Auto Start SQL Server Service and Local System Account

Page 41: XML Web Services: XML Asset Management Using XML Spy 4.2 and

41

Select: Mixed Mode and Check: Blank Password

Page 42: XML Web Services: XML Asset Management Using XML Spy 4.2 and

42

Control Panel and Administrative Tools

Page 43: XML Web Services: XML Asset Management Using XML Spy 4.2 and

43

Services

Page 44: XML Web Services: XML Asset Management Using XML Spy 4.2 and

44

Start: MSSQLSERVER

Page 45: XML Web Services: XML Asset Management Using XML Spy 4.2 and

45

Command Line: Run Install (if necessary)

Page 46: XML Web Services: XML Asset Management Using XML Spy 4.2 and

46

Configure Database

Page 47: XML Web Services: XML Asset Management Using XML Spy 4.2 and

47

Database Users

Page 48: XML Web Services: XML Asset Management Using XML Spy 4.2 and

48

DB connection test successful

Page 49: XML Web Services: XML Asset Management Using XML Spy 4.2 and

49

Configure XML Canon

Page 50: XML Web Services: XML Asset Management Using XML Spy 4.2 and

50

Register XML Canon

Note: 50B4-34E0-3E83-2C8A is good forEPA evaluation until November 15, 2001.

Page 51: XML Web Services: XML Asset Management Using XML Spy 4.2 and

51

Select: Yes

Page 52: XML Web Services: XML Asset Management Using XML Spy 4.2 and

52

Configuration Progress