Download presentation
Presentation is loading. Please wait.
Published byAshlyn Lee Townsend Modified over 9 years ago
1
(EBZ239) Building and Mapping XML Schemas Using Microsoft® BizTalk® Server 2004 Michael Woods mwoods@microsoft.com Sr. Technical Product Manager eBusiness Server Group
2
Agenda Session goals XML and schema languages BizTalk Server 2004 and schemas Tools User Experience and Features Demo (most of our time spent here) Discussion, feedback, heckling, etc.
3
Session Goals Provide background on schemas and their effect on tools Introduce you to the newest Editor and Mapper, hosted in Visual Studio Non-goal Teach XSD, XSLT (for that, go to… http://www.w3c.org/XML) http://www.w3c.org/XML
4
XML And XML Schema
5
XML Is Just XML, Right? BizTalk Server 2004: XSD complete BizTalk Server has always been XML centric, and can certainly process XML data streams XML is described by a schema The various schema languages have conceptual intersections
6
Other Schema Languages DTD (Document Type Definitions) Pro: Came first; Cons: Non-XML syntax; not strongly typed XDR (XML Data Reduced) Pros: XML syntax; XSD subset; Cons: Not W3C rec; global typedef scope XSD (XML Schema) Pros: W3C rec; powerful OM alignment; Cons: Newer; business applicability?
7
BizTalk Server 2004 And XML Schema
8
BizTalk Schema Support XSD (XML Schema) Tools, Engine, OM, and Data: Namespaces, element groups, inheritance, scoping, run- time type overrides, the works Other Supported Schema XSD generators for DTD, XDR, and well-formed XML instance data
9
Schema And Tools Design Tree-based instance view great fit for describing business messages Common terminology like “record” and “field” can appeal to the broadest selection of disciplines Challenge: XSD shows through Attributes, elements, element groups Tree limitation: Hard to show some intra-schema relationships (e.g., keys)
10
Editor And XSD And Demo node as container now supports many root nodes Omnipresent group hidden for the most part Complex concepts like equivalence (e.g., inheritance) show through No editing capability for key/keyref and substitution groups XSD commonality with Visual Studio.NET
11
Mapper And XSD And Demo Underlying schema less of a concern to many mapping scenarios Mapper aware of some XSD (e.g., only has 1 child) Wildcard structures like and have limitations Tool does not care where the XSD came from
12
XML Tools User Experience
13
Development Environment XML Tools (and all BizTalk dev tools) hosted in Visual Studio IDE Great integration with Project system – file properties and source control Property Browser – better at-a-glance, multi- selection intersect, extensibility Toolbox – Mapper Functoid container Output Window, Task List, etc.
14
More On Project System All file-level tasks managed here Schema Editor edits *.xsd Mapper edits *.btm (BizTalk Map) Create new and open existing schemas and maps by adding files to a project Access schema generators Generate, validate, and test instance data against schemas and maps
15
2004 Versus 2002 And Older More windows in Visual Studio Schema and map properties relocated Many features reorganized for better fit to Visual Studio experience More schema and map connectedness Better reuse = rapid development Some risk of unintended side-effects
16
Stability Amid The Changes All the old features are still there Editor Still about defining structure using an instance-based tree view Mapper Still about defining transformations using graphical links, and “Functoids” Great support for migration (maps and schemas) from earlier versions
17
Usability Feedback Cycle Extensive usability studies already added many features, refined others Better recognition of the “personas” or customer roles and responsibilities Technical preview and several training events in the last 6 months General Beta announced in June! Participate at http://www.microsoft.com/BizTalk/Beta
18
Editor Focus And Features
19
Editor Focus Support XML Schema (XSD) while also abstracting it Integrate with Visual Studio.NET Enable rapid schema development Type reuse Multi-selection: Eliminate steps Make Tool Extensible API for custom schema generators API for custom annotations and views
20
Editor Feature Highlights Easy-to-use XSD support Schema generators and migration for jumpstarting development More visual cues (icons), at-a-glance features, and Search Interactive schema views for learning XSD, sight debugging, etc. Problem abstraction: One tool to model any kind of data
21
Editor And Non-XML “Flat file” support spun off to extension module: only see it when you need it Several improvements to support for data- level issues Nested positional records Multi-character delimiters Unlimited delimiter depth Variable ambiguity resolution control
22
Mapper Focus And Features
23
Mapper Focus Left-to-right (source-to-target) mapping metaphor continued Functoid architecture Use W3C-approved mechanism for XSLT call-out (i.e., the Functoids) Give user control over multiple implementation options (.NET, script) Buffer users from XSLT 98% of the time
24
Mapper Feature Highlights XSD support (incidental) Compiler improvements (other than XSD- related) Integrated testing, errors and warnings, task list management More ways to reuse Scriptor Functoid implementation
25
Mapper Feature Highlights Power user: Can write inline XSLT Map development accelerants Auto-map New Functoid: Bulk Copy Functoid (required to map ) The other new Functoid: Table Looping Functoid – targets hard-coded output looping
26
demo demo Actual Demo: The Award-Winning XML Tools!
27
More BizTalk Server 2004 Sessions EBZ302 Orchestration EBZ303 Human Workflow Services EBZ304 Admin, Deploy, and Secure EBZ306 Advanced Orchestration EBZ327 InfoPath & BizTalk Server EBZ329 XML Tools EBZ330 EAI End-to-End Sample EBZ342 Rules Engine EBZ343 Business Activity Monitoring
28
Community Resources http://www.microsoft.com/BizTalk/community BizTalk Server 2002 Newsgroups http://www.microsoft.com/BizTalk/community/newsgroups BizTalk Server 2004 Beta Newsgroups http://www.microsoft.com/BizTalk/Beta User Groups: http://www.biztalkug.com/http://www.biztalkug.com/ Sites of Interest http://www.topxml.com/b2b/ http://www.gotdotnet.com/team/entservers/
29
Ask The Experts Get Your Questions Answered I will be at the booth: directly after this session various other times during the week If you: miss me at the booth, want to set a time to meet, or just want to keep in touch… :^) Email:mwoods@microsoft.com IM:dumbassmike@hotmail.com
30
evaluations evaluations
31
© 2003 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.