Upload
jaqueline-snellgrove
View
215
Download
0
Tags:
Embed Size (px)
Citation preview
Using XML Technologies To Using XML Technologies To Build eBusiness ApplicationsBuild eBusiness Applications
Eric Schmidt & Zach JasonEric Schmidt & Zach JasonWebData Product LeadsWebData Product LeadsPSS/Developer SupportPSS/Developer SupportMicrosoft CorporationMicrosoft Corporation
9-3329-332
Nerd vs. Nerd
GoalsGoals
Clear understanding of XML Clear understanding of XML Technologies and their relationship Technologies and their relationship to Web Servicesto Web Services
Provide you with focused Provide you with focused knowledge of XML technologies to knowledge of XML technologies to help you build powerful eBusiness help you build powerful eBusiness applicationsapplications
Clear understanding of a real-world Clear understanding of a real-world business scenario that uses many business scenario that uses many of Microsoft’s enabling Web Service of Microsoft’s enabling Web Service technologiestechnologies
DisclaimerDisclaimer
This is a broad session. This is a broad session. We are going to cover a wide range of We are going to cover a wide range of
technologies.technologies. We are going to make assumptions We are going to make assumptions
in certain areas.in certain areas. We will establish a foundation We will establish a foundation
before jumping head first into XML. before jumping head first into XML. Fasten your seatbelts!Fasten your seatbelts!
AgendaAgenda
Take a pragmatic look at your Take a pragmatic look at your development challengesdevelopment challenges
Review current XML TechnologiesReview current XML Technologies Define Web ServicesDefine Web Services Review a tangible eBusiness Review a tangible eBusiness
application that uses XML and application that uses XML and implements Web Servicesimplements Web Services
Provide a roadmap for other XML Provide a roadmap for other XML sessions and other resourcessessions and other resources
Top Needs of DevelopersTop Needs of Developers(building the business internet)(building the business internet) Multi-Platform & Loosely-Coupled Multi-Platform & Loosely-Coupled
SolutionsSolutions Performance with ScalabilityPerformance with Scalability Pluggable ServicesPluggable Services Standards ComplianceStandards Compliance
Security, Availability, ManagementSecurity, Availability, Management
Fundamental Development Fundamental Development ChallengesChallenges Fetching from multiple data storesFetching from multiple data stores Applying business logic (routing)Applying business logic (routing) PersistencePersistence Remoting or Marshalling Remoting or Marshalling Re-hydrationRe-hydration ValidationValidation Presentation and BindingPresentation and Binding UpdatingUpdating
What is Data?
•Relational Data
•File Systems
•Messages
•Internal Structures
•Schema or meta-data
ClientClientTierTier
DataDataTierTier
Application ServicesApplication Services
IIS/ASP, COM+/MTS, MSMQ.IIS/ASP, COM+/MTS, MSMQ.ADO/OLE DB Data Access, ADO/OLE DB Data Access,
Active Directory, XML, Active Directory, XML, CommerceCommerce
Application ServicesApplication Services
IIS/ASP, COM+/MTS, MSMQ.IIS/ASP, COM+/MTS, MSMQ.ADO/OLE DB Data Access, ADO/OLE DB Data Access,
Active Directory, XML, Active Directory, XML, CommerceCommerce
Application LogicApplication LogicTierTier
BrowserBrowserBrowserBrowserASP/COM+ASP/COM+ApplicationApplication
ASP/COM+ASP/COM+ApplicationApplication
Data Access andData Access andStorageStorage
Data Access andData Access andStorageStorage
SQL ServerSQL ServerSQL ServerSQL Server
Other DatabaseOther DatabaseOther DatabaseOther Database
Legacy HostLegacy HostLegacy HostLegacy Host
…………
Rich Rich ClientClient
Rich Rich ClientClient
Internet (TCP/IP, HTTP, HTML, XML)Internet (TCP/IP, HTTP, HTML, XML)
DevicesDevicesDevicesDevices
Over 60% of horizontal and vertical Over 60% of horizontal and vertical marketplaces run on marketplaces run on Windows DNA
Goldman Sachs B2B Survey – 11/99Goldman Sachs B2B Survey – 11/99
Windows DNAWindows DNA
““So what is your web strategy?”So what is your web strategy?”
Pro’sPro’s Great tools for UI Great tools for UI Existing public networkExisting public network
Con’s or Barriers to SuccessCon’s or Barriers to Success Public business model – you are now Public business model – you are now
loosely coupledloosely coupled Customers expect moreCustomers expect more DataData is the primary mechanism of is the primary mechanism of
communicationcommunication
eBusiness “Speech”eBusiness “Speech”
Roll the tapeRoll the tape
What Is eBusiness?What Is eBusiness? Generic marketing term…Generic marketing term… B2B, B2C, Data Brokers, Fulfillment, B2B, B2C, Data Brokers, Fulfillment,
Transaction ManagementTransaction Management eBusiness touches every vertical eBusiness touches every vertical
industry (Retail, Healthcare, industry (Retail, Healthcare, Insurance, Legal, Financial, Insurance, Legal, Financial, Manufacturing, etc.)Manufacturing, etc.)
Moving, selling, validating and Moving, selling, validating and presenting presenting DATADATA
Q: If managing data is the problem – what
technologies are available to help us?
A: XML?
““Elevator” XML NightmareElevator” XML Nightmare
Roll the tapeRoll the tape
XML DefinedXML Defined
XML or Extensible Markup Language is a XML or Extensible Markup Language is a meta-markup language that provides a meta-markup language that provides a format for describing structured dataformat for describing structured data
XML is the universal format for XML is the universal format for structured documents and data structured documents and data
XML provides a XML provides a standardstandard for more precise for more precise declarations of content and more declarations of content and more meaningful search results across loosely meaningful search results across loosely coupled applicationscoupled applications
XML Defined (cont.)XML Defined (cont.)
XML 1.0 Recommendation 2-10-1998XML 1.0 Recommendation 2-10-1998 The rules (in 117 seconds):The rules (in 117 seconds):
Element NestingElement Nesting Optional Closing TagsOptional Closing Tags Single Tag ElementsSingle Tag Elements Double-quote Value DelimitersDouble-quote Value Delimiters Case SensitivityCase Sensitivity Well FormedWell Formed
Element NestingElement Nesting
HTML – Relaxed about nesting HTML – Relaxed about nesting elements for example:elements for example: This text has This text has <B><B>boldbold, , <I><I>bold italic bold italic </B></B>and and italicitalic </I></I>words.words.
XML – Each element must Nest XML – Each element must Nest completely or not at all for example:completely or not at all for example: This text hasThis text has <B> <B> bold,bold, <I><I>bold italicbold italic </I></B> </I></B> <I><I>and italicand italic </I></I>words.words.
Optional Closing TagsOptional Closing Tags
HTML is also relaxed when comes to closing HTML is also relaxed when comes to closing tags. For example:tags. For example: <LI>List One<LI>List One
<LI>List Two<LI>List Two
<LI>List Three<LI>List Three XML (Well-formed) syntax requires that closing XML (Well-formed) syntax requires that closing
element tags are used. For Example:element tags are used. For Example: <MYLIST><MYLIST>
<LISTITEM>List Item One </LISTITEM><LISTITEM>List Item One </LISTITEM>
<LISTITEM>List Item Two </LISTITEM><LISTITEM>List Item Two </LISTITEM>
<LISTITEM>List Item Three </LISTITEM><LISTITEM>List Item Three </LISTITEM>
</MYLIST></MYLIST>
Single Tag ElementsSingle Tag Elements
Some elements in HTML do not Some elements in HTML do not enclose content, and hence do not enclose content, and hence do not have a closing tag. For example:have a closing tag. For example: <HR><HR>
<HR SIZE=”5”><HR SIZE=”5”>
XML does not have a single tag XML does not have a single tag element concept. There must be a element concept. There must be a backslash character with the single backslash character with the single element tag. For example:element tag. For example: <RULE /><RULE />
<RULE SIZE=”5” /><RULE SIZE=”5” />
Double-Quote Double-Quote Value DelimitersValue Delimiters HTML allows attribute values to be used HTML allows attribute values to be used
with or without double-quotes, as long as with or without double-quotes, as long as they don’t contain spaces. For example:they don’t contain spaces. For example: <HR SIZE=5><HR SIZE=5> <H1 ALIGN=CENTER>This is a Heading</H1><H1 ALIGN=CENTER>This is a Heading</H1>
In XML single or double quotes must In XML single or double quotes must always be used. For example: always be used. For example: <HR SIZE=”5”><HR SIZE=”5”> <H1 ALIGN=”CENTER”>This is a <H1 ALIGN=”CENTER”>This is a
Heading</H1>Heading</H1>
Case SensitivityCase Sensitivity
XML is case sensitive unlike HTML. XML is case sensitive unlike HTML. Here is an HTML file that would fail Here is an HTML file that would fail
as a well-formed XML file:as a well-formed XML file: <H1 ALIGN=”CENTER”><H1 ALIGN=”CENTER”>This is a This is a
heading heading </h1></h1>
Well Formed DocumentWell Formed Document
XML Declaration – helps other XML Declaration – helps other applications decipher the content of applications decipher the content of the document. The syntax looks the document. The syntax looks like this:like this: <?xml version=”1.0”?><?xml version=”1.0”?>
Unique Root ElementUnique Root Element <Person><Person>
<FirstName>Bill</FirstName><FirstName>Bill</FirstName>
<LastName>Anderson</LastName><LastName>Anderson</LastName>
</Person></Person>
XML Related Technologies XML Related Technologies (core)(core)
XML DemoXML Demo XML 1.0 (Well Formed Document)XML 1.0 (Well Formed Document) XML DOM (Document Object Model)XML DOM (Document Object Model) Schema (Validation)Schema (Validation) XPath (Query)XPath (Query) XSLT (Transformation)XSLT (Transformation)
MSXML (Core XML Services)MSXML (Core XML Services)
MSXML is Microsoft’s Core XML MSXML is Microsoft’s Core XML Service TechnologyService Technology Validating Parser (DTD & Schema)Validating Parser (DTD & Schema) DOM DOM XPath, XSLTXPath, XSLT Remoting via HTTPRequestRemoting via HTTPRequest
www.www.msdnmsdn..microsoftmicrosoft.com/.com/xmlxml
Evolution To Web ServicesEvolution To Web Services
XMLXML
ProgrammabilityProgrammabilityConnectivityConnectivity
HTMLHTML
PresentationPresentationTCP/IPTCP/IP
Technology
Technology
Innovation
Innovation
FTP,FTP, EE-mail, Gopher
-mail, GopherWeb PagesWeb Pages
Browse Browse the Webthe Web
Program Program the Webthe Web
Web Services
Web Services
Web Services - DefinedWeb Services - Defined
Web Services are the intersection of Web Services are the intersection of connectivity, software and a connectivity, software and a business modelbusiness model
Common, Public end-points to Common, Public end-points to process data (platform, language, process data (platform, language, implementation neutral)implementation neutral)
Ability to program the web with a Ability to program the web with a common integration point – XMLcommon integration point – XML
Build on current languages, tools, Build on current languages, tools, operating systems, API’s operating systems, API’s
Web ServicesWeb Services
PublisherPublisher
SellerSeller
BROKERBROKER
SellerSeller
Order Full-FillmentOrder Full-Fillment ContentContent
PublisherPublisher
Web Service
Web Service
Web Service
Web Service
BookBroker And Tedz-DemoBookBroker And Tedz-Demo
Tedz’ Book Store is an online book Tedz’ Book Store is an online book seller specializing in hard to find seller specializing in hard to find technical bookstechnical books
BookBroker is an information and BookBroker is an information and transaction broker for the transaction broker for the publishing industrypublishing industry
Tedz’ & BookBroker “speak” Tedz’ & BookBroker “speak” XML XML via Web Servicesvia Web Services
Anatomy Of A Book PurchaseAnatomy Of A Book Purchase
Amazon
Ted’z Books
Barnes & Noble
MSPress
Wrox
SamsCommon Data Cache
Catalog Pump
Services
Purchase Book
Services
Customers Book Sellers Book Broker Publishers
XML Based - Web Service XML Based - Web Service Enabling TechnologiesEnabling Technologies BizTalk Server 2000*BizTalk Server 2000* Commerce Server 2000*Commerce Server 2000* SQL Server 2000*SQL Server 2000* SOAP 1.1*SOAP 1.1* MSXML*MSXML*
* Build on XML Core Technologies (XML * Build on XML Core Technologies (XML 1.0, DOM, Schema, XPath & XSLT)1.0, DOM, Schema, XPath & XSLT)
Amazon
Ted’z Books
Barnes & Noble
MSPress
Wrox
SamsCommon Data Cache
Catalog Pump
Services
Purchase Book
Services
Customers Book Sellers Book Broker Publishers
Who really manages your data?Who really manages your data?
HTTP
FTP
XML
EDIFACT
How do I define end
points?
BizTalk Server 2000BizTalk Server 2000
BizTalk Server 2000 is a data and BizTalk Server 2000 is a data and business process integration server business process integration server designed to facilitate collaborative designed to facilitate collaborative e-commerce business processese-commerce business processes
Integrate Trading PartnersIntegrate Trading Partners Provide services to:Provide services to:
Orchestrate business processes that Orchestrate business processes that span applications, platforms and span applications, platforms and organizationsorganizations
Read, transform and securely route Read, transform and securely route messages in loosely-coupled messages in loosely-coupled environmentsenvironments
BizTalk FrameworkBizTalk Framework
BizTalk FrameworkBizTalk Framework™, a set of ™, a set of guidelines for how to publish guidelines for how to publish schemas in XML and how to use schemas in XML and how to use XML messages to easily integrate XML messages to easily integrate software programs together in software programs together in order to build rich new solutionsorder to build rich new solutions
BizTalk.orgBizTalk.org
First open web scFirst open web schema libraryhema library
Tools to register Tools to register schemas and track schemas and track useuse
400+ 3400+ 3rdrd party XML party XML schemasschemas
150+ registered 150+ registered organizationsorganizations
American Petroleum Institute American Petroleum Institute
Ariba Ariba
BaanBaan
BP/AmocoBP/Amoco
BoeingBoeing
Clarus Clarus
CommerceOne CommerceOne
Compaq Compaq
Concur Concur
DellDell
DISADISA
Intellysis Intellysis
I2 I2
JD EdwardsJD Edwards
Merrill LynchMerrill Lynch
MicrosoftMicrosoft
Open Applications GroupOpen Applications Group
Pivotal Pivotal
RosettaNetRosettaNet
SAPSAP
Siebel SystemsSiebel Systems
UPSUPS
BizTalk.Org Steering CommitteeBizTalk.Org Steering Committee
Amazon
Ted’z Books
Barnes & Noble
MSPress
Wrox
SamsCommon Data Cache
Catalog Pump
Services
Purchase Book
Services
Customers Book Sellers Book Broker Publishers
XML – not expected structure
Define an end-point as a Web Service.
BizTalk Server 2000 - AppliedBizTalk Server 2000 - Applied
Transform or Map To
BookBroker Schema
Demo – BizTalk & Demo – BizTalk & BookBrokerBookBroker
DemoDemo
Commerce Server 2000Commerce Server 2000
FeaturesFeatures User Profile SystemUser Profile System Content Targeting SystemContent Targeting System Product CatalogProduct Catalog Transaction PipelinesTransaction Pipelines Data Warehousing & AnalysisData Warehousing & Analysis
Close integration with BizTalk Close integration with BizTalk ServerServer
XML Aware (internal & external)XML Aware (internal & external)
SQL Server 2000 XML ServicesSQL Server 2000 XML Services FeaturesFeatures
HTTP access via URL to XML data - HTTP access via URL to XML data - DEMODEMO
Direct access to XML data via ADO or Direct access to XML data via ADO or OLEDB (MDAC 2.6)OLEDB (MDAC 2.6)
BenefitsBenefits Web Applications have direct access Web Applications have direct access
to XML datato XML data Business-to-business scenarios are Business-to-business scenarios are
more efficient due to common XML more efficient due to common XML formatformat
Amazon
Ted’z Books
Barnes & Noble
MSPress
Wrox
SamsCommon Data Cache
Catalog Pump
Services
Purchase Book
Services
Customers Book Sellers Book Broker PublishersQuerying the data store for native XML.
SQL Server 2000 XML Features - AppliedSQL Server 2000 XML Features - Applied
SQL Server 2000 XML SQL Server 2000 XML ServicesServices APPLIED TO SCENARIOAPPLIED TO SCENARIO
What is SOAP?What is SOAP?
SSimple imple OObject bject AAccess ccess PProtocolrotocol SOAP provides a simple and SOAP provides a simple and
lightweight mechanism (protocol) lightweight mechanism (protocol) for exchanging structured and for exchanging structured and typed information between peers in typed information between peers in a decentralized, distributed a decentralized, distributed environmentenvironment
Flexible/ExtensibleFlexible/Extensible SOAP is Protocol SOAP is Protocol Well formed XML – DEMOWell formed XML – DEMO
SOAP (cont.)SOAP (cont.)
SOAP 1.1 SpecificationSOAP 1.1 Specification SOAP was submitted to W3C (5/8/20SOAP was submitted to W3C (5/8/20
00)00)
SOAP Toolkit for Visual Studio 6SOAP Toolkit for Visual Studio 6
Amazon
Ted’z Books
Barnes & Noble
MSPress
Wrox
SamsCommon Data Cache
Catalog Pump
Services
Purchase Book
Services
Customers Book Sellers Book Broker PublishersWeb Service -Listening for
SOAP Requests
SOAP AppliedSOAP Applied
SOAP Toolkit to Create
SOAP Requests
Demo – SOAP and SOAP Demo – SOAP and SOAP ToolkitToolkit
APPLIED TO SCENARIOAPPLIED TO SCENARIO
Amazon
Ted’z Books
Barnes & Noble
MSPress
Wrox
SamsCommon Data Cache
Catalog Pump
Services
Purchase Book
Services
Customers Book Sellers Book Broker Publishers
Formatting data (XML) for customer presentation.
Demo - MSXML Applied (XSLT)Demo - MSXML Applied (XSLT)
DNA 2000 + XML
DNA 2000 + XML
InternetInternetUsabilityUsability
DNADNA
EnterpriseEnterpriseDesktopDesktop
Technology
Technology
Innovation
Innovation
Great User Experience
Great User Experience
BusinessBusiness
Program Program the Webthe Web
eBusiness eBusiness + + Web Services
Web Services
Evolution of Programming Evolution of Programming the Webthe Web
Windows DNA 2000 & Web Services = Windows DNA 2000 & Web Services = Comprehensive PlatformComprehensive Platform
Tools
Tools
WebWebServicesServices
Integration & Integration & InteroperabilityInteroperability
Data
D
ata
(X
ML)
(XM
L)
Call To ActionCall To Action
Challenge the way you look at data Challenge the way you look at data in your applications and apply XML in your applications and apply XML technologies & Web Servicestechnologies & Web Services
Learn and then attack B2B and B2C Learn and then attack B2B and B2C challenges with XMLchallenges with XML
Seek out the resources and Seek out the resources and sessions that appeal to your needs sessions that appeal to your needs – this week is a great opportunity – this week is a great opportunity
SummarySummary XMLXML
Is integral to the vision for building Is integral to the vision for building next-generation Web Service based next-generation Web Service based applicationsapplications
Is a key technology in Microsoft’s Is a key technology in Microsoft’s Windows DNA 2000 platformWindows DNA 2000 platform
Is DataIs Data Understand that XML is not a panacea Understand that XML is not a panacea
for today’s development challengesfor today’s development challenges Microsoft supports XML standardsMicrosoft supports XML standards Microsoft is integrating XML Microsoft is integrating XML
support into its product and support into its product and technology offeringstechnology offerings
XML Sessions RoadmapXML Sessions Roadmap
MSXML In-depth Features (9-326) Using XSLT to Transform XML (9-333) SQL Server 2000 XML Enhancements (5-324) Advanced XML Processing in SQL Server 2000 (5-330) SOAP Toolkit (9-331 W) Using MSXML (XML Core Services) with Visual Studio
(6-310W) COM+ and CORBA Interop with XML-based Web
Services (1-303) BizTalk Track Commerce Server Track
XML Resources at Tech EdXML Resources at Tech Ed
XML Services on Windows Booth XML Services on Windows Booth Booth (#23) in the Microsoft Product Booth (#23) in the Microsoft Product
PavilionPavilion Demos (MSXML, SOAP, SQL) & Ask Demos (MSXML, SOAP, SQL) & Ask
QuestionsQuestions
Free Training CD’sFree Training CD’s
““Microsoft is the most influential company Microsoft is the most influential company driving the deployment of XML.”driving the deployment of XML.”
Source: Zona Enterprise Usage Survey, Source: Zona Enterprise Usage Survey, Application Development - Q4 1999Application Development - Q4 1999
“…“…recognize the great power that the recognize the great power that the world will derive over the next five or world will derive over the next five or ten years from XML”ten years from XML”
Source: Steve Ballmer, Financial Source: Steve Ballmer, Financial Services Summit 4/2000Services Summit 4/2000
Questions?Questions?
If we run out of time please come to If we run out of time please come to the booth!!!!the booth!!!!