Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


September 2000

Microsoft's BizTalk Initiative


RSS
Subscribe to Windows IT Pro | See More Electronic Commerce Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Let this B2B e-commerce solution do the talking for your online business

usiness-to-business (B2B) e-commerce lets companies do business over the Internet without manual processes. Frequently, companies doing business use different applications and document formats, and integrating applications that use different data structures makes building a B2B e-commerce system a challenge. Traditionally, large companies have used EDI document standards to implement business application integration and trading. However, EDI is costly to implement, and few small to midsized companies can afford this solution.

To tackle the application integration problem and minimize the cost of developing a B2B e-commerce system, the IT industry is considering the World Wide Web Consortium's (W3C's) XML as the standard language for B2B e-commerce data. XML is free, easy to use, and supports data description for any application and platform. When two trading partners use the same XML document specification to exchange information, their XML-enabled applications can receive and handle data without manual data transformation and entry. (For more information about XML, see "Related Articles in Previous Issues," page 94.)

Several vendors, including IBM, SoftQuad, and Microsoft, offer XML-based B2B e-commerce applications. In 1999, Microsoft announced the development of its XML-based B2B e-commerce solution, code-named the BizTalk Initiative. In 2000, Microsoft released BizTalk Framework and BizTalk Server (BTS) 2000, two of the BizTalk Initiative's main building blocks. BizTalk Framework is a technical specification that defines BizTalk's architecture and message structure. BTS 2000 is a server product that integrates applications and automates business processes by automatically routing and transforming documents. Before you can use BizTalk to give your e-commerce business a voice, you must understand the components of this solution.

BizTalk Framework
In January, Microsoft released "BizTalk Framework 1.0a Independent Document Specification," which describes BizTalk's architecture and message structure. (To obtain this specification, go to http://www.microsoft.com/biztalk/download/biztalkframework1a.doc.) As Figure 1 shows, in a BizTalk-based B2B e-commerce system, trading partners use BizTalk servers to exchange business documents. (A third-party software vendor can develop a version of BizTalk Server as long as the version supports the BizTalk Framework.) When a business event occurs in the source organization, the source application uses the BizTalk schema that corresponds with that business event to generate an XML-based business document. For example, when the source organization wants to order equipment from the destination organization, the source organization's accounting application generates a purchase order according to a purchase order schema. The source application sends the document to the source BizTalk server, which constructs a BizTalk message and sends it to the destination organization's BizTalk server. The destination organization's BizTalk server uses the corresponding schemas to validate the received message and send the document to the destination application for business data processing.

A BizTalk schema is a BizTalk-specific XML schema that defines the vocabulary that BizTalk uses to describe the content and structure of a business document. Trading partners must use the same schema to submit and receive documents. Microsoft uses a Web site, http:// www.biztalk.org, as a central repository that stores and publishes XML schemas for BizTalk documents. Any organization can participate in defining an XML schema for a specific type of business document and publish it on the BizTalk Web site for public use. To find a specific schema in BizTalk's schema library, you can search by an industry category or keyword, then download the schemas you need.

As Figure 2 shows, the structure of a BizTalk message consists of a transport envelope and a BizTalk document. The transport envelope specifies the transport protocol that the BizTalk server uses to deliver the BizTalk message. However, in the BizTalk Framework specification, Microsoft didn't predefine a transport service for BizTalk messages. The transport service depends on the implementation of the BizTalk server. For example, BTS 2000 supports HTTP, HTTP over Secure Sockets Layer (HTTPS), FTP, SMTP, Microsoft Message Queue Server (MSMQ), fax, and Application Integration Components (AICs) for transport services. (An AIC is a COM component that integrates an application with BTS 2000 based on your business information exchange needs.)

A BizTalk document is a well-formed XML document, which always begins with an XML tag <biztalk_1 a BizTalk namespace reference> (the namespace reference is a variable that will change for each organization) and ends with the XML tag </biztalk_1>. Inside these tags are a document header and a document body. The document header contains delivery information and a document manifest. The delivery information provides destination and source addresses, the time that the source organization sent the message, and the message subject. (These fields are similar to the To, From, Time, and Subject fields in an email message header.) The sending and receiving BizTalk servers can use the delivery information for message routing. The document manifest describes what the BizTalk document is about (e.g., a purchase order). The document manifest can also include a message attachment in a file (e.g., a company logo image). The document body contains one or more business documents that provide business transaction information such as the quantity, equipment, price, and shipping address in a purchase order. The XML tags in Figure 2 show the hierarchical relationship of the main tags (aka BizTags) in a BizTalk message.

BTS 2000
BTS 2000 is Microsoft's implementation of the BizTalk server function necessary for the BizTalk Framework. In April 2000, Microsoft released BTS 2000 Technology Preview, which software developers can use to test BTS's functionality before the server's beta and formal release later this year. You can download this preview from Microsoft's Web site (http://www .microsoft.com/biztalkserver/).

Figure 3 shows how BTS 2000's components work together. BTS receives, validates, transforms, and delivers documents and ensures document integrity and security. An inbound agreement and an outbound agreement define the rules about how organizations exchange BTS documents. The agreement includes required information about the source and destination organizations, document specification, and the transport service configuration, and optional information about the document envelope and the document's security setting. For example, suppose you're a supplier who wants to use BTS to accept purchase orders from your customers and send the purchase orders to an internal accounting application. You can use BTS's BizTalk Management Desk to define an inbound agreement to receive the purchase orders and an outbound agreement to deliver the purchase orders to an accounting application. If you want to reply to customers by sending order confirmations and invoices, you need to set up another inbound agreement to receive the confirmations and invoices from an internal application and another outbound agreement to send them to customers. Figure 4 shows a BizTalk Management Desk inbound agreement.

You can define many inbound and outbound agreements in BTS, and you can reuse the agreements for different document exchanges. As Figure 3 shows, pipelines link the related inbound and outbound agreements for a specific document exchange flow and represent the information that BTS uses to receive incoming documents, perform desired actions on the documents, and send the documents to their destinations. You use BizTalk Management Desk to set up a pipeline.

To recognize and validate a document when it arrives, BTS uses a document definition, which you specify for each of the documents you want to exchange with your trading partners. BTS provides several ready-to-use document definitions, but these definitions might not meet your needs. BizTalk Editor lets you create a document definition by importing an available XML schema from an XML schema library (e.g., the BizTalk schema library) or defining a new definition. (However, BTS Technology Preview accepts only BizTalk-specific XML schemas. The final version of BTS might accept XML schemas from other XML organizations, such as xml.org.) BizTalk Editor's GUI lets you easily define a document definition's records and fields. Figure 5 shows a purchase order document definition in BizTalk Editor. BTS supports not only XML documents but also EDI documents in ANSI X12 and EDIFACT formats and text or delimited flat files. Thus, BizTalk Editor also lets you generate EDI document definitions.

The document definitions that you set up for an inbound document and its related outbound document can vary. For example, suppose you set up an XML inbound document but its related outbound document has to be an EDI document because the application that processes the document understands only EDI. In this case, BTS needs to transform the document from XML to EDI. BizTalk Mapper lets you define a transformation map. In BizTalk Mapper's easy-to-use interface, you can map two records or fields in two document structures by connecting them with a line, as Figure 6 shows. The interface's upper-left window shows an inbound document definition, and the upper-right window shows an outbound document definition. The grid in the middle of the interface is the design surface on which you run mapping lines. BizTalk Mapper provides several predefined formulas, called functoids, that you can use to perform a complex transformation, such as converting an integer to a string, adding two values from two source fields, and putting the result into a destination field. If you use a map in document delivery, you need to configure that document's pipeline to use the map.

A BTS group includes more than one BTS system to provide load balancing and fault tolerance. BizTalk Server Administration, a Microsoft Management Console (MMC) snap-in, lets you start and stop the BTS service, add a server to and delete a server from a BTS group, configure receive functions, and manipulate shared queues. For applications that can't use a COM interface to talk to BTS, a receive function submits the application's documents to a receive location (e.g., a file system, FTP server, or MSMQ queue), then sends the document to BTS.

BTS uses three Microsoft SQL Server databases. A BizTalk management database maintains BTS and BTS group configurations. A shared queue database stores documents that BTS is processing. And a document tracking and activity database saves information about document activities in BTS.

Configuring BTS 2000
BTS 2000 runs on Windows 2000 Server or Win2K Advanced Server. BTS 2000 clients, such as BizTalk Management Desk, BizTalk Editor, and BizTalk Mapper, run on any release of Win2K as well as on Windows NT 4.0 and Windows 98. BTS 2000 requires NTFS, Microsoft Data Access Components (MDAC) 2.5, Distributed COM (DCOM) 1.3, and Microsoft Internet Explorer (IE) 5.0. Before you install BTS 2000, you need to install SQL Server 7.0 on the same server or on a system that connects to the BTS 2000 system. (The three databases that BTS uses can even reside on separate SQL Server systems that connect to the BTS 2000 system.) All BTS servers in the same group use the same SQL Server databases. After installation, you're ready to configure BTS 2000.

The following example illustrates how to configure BTS. Suppose your company is E-Seller and your customer is E-Buyer. You want to configure BTS to use an Active Server Pages (ASP) script on the HTTP Web server to receive purchase orders and deliver the purchase orders to an internal accounting application through an AIC. In addition, you want inbound and outbound purchase orders to use the same document definition. However, according to your need and environment, you can use other protocols and mechanisms in receiving and delivering documents. For example, suppose you want to use HTTPS to secure receiving documents and MSMQ to asynchronously deliver the received documents to internal applications. To set up this BTS configuration, you must complete five major steps: define the organizations, create a document definition, define an inbound agreement, define an outbound agreement, and create a pipeline.

   Previous  [1]  2  Next 


Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 9, 2009

An often irreverent look at some of the week's other news, including some more Windows 7 sales momentum, some Sophos stupidity, Microsoft's cloud computing self-loathing, more whining from the browser makers, Zoho's "Fake Office," and much, much more ...

Understanding File-Size Limits on NTFS and FAT

A general confusion about files sizes on FAT seems to stem from FAT32's file-size limit of 4GB and partition-size limit of 2TB. ...


Related Events WinConnections and Microsoft® Exchange Connections

Deep Dive into Windows Server 2008 R2 presented by John Savill

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement