390 likes | 984 Views
Microsoft BizTalk Server 2000. Presented 21/01/2001 by Avner Zaitlin. The Problem. Building business-to-business (B2B) e-commerce systems presents many challenges to the system architect.
E N D
Microsoft BizTalk Server 2000 Presented 21/01/2001 by Avner Zaitlin Internet DB Seminar
The Problem • Building business-to-business (B2B) e-commerce systems presents many challenges to the system architect. • Often, each company involved stores their data and documents in formats that are different from the formats used by the other participating companies. These companies need a way to integrate what tend to be vastly different systems. Internet DB Seminar
Product Overview • BizTalk Server2000 unites, in a single product: • Enterprise application integration. • Business-to-business integration • Advanced BizTalk Orchestration technology. • Allow developers, IT professionals, and business analysts to easily build dynamic business processes that span applications, platforms, and businesses over the Internet. Internet DB Seminar
Primary benefits • Faster time to market • Quickly build, manage and track distributed business processes that integrate applications and business partners. • Secure reliable B2B trading • Leverage and support XML & Windows 2000 security services to define and support trading partner relationship. • Lower integration costs • Leverage open standards and specifications in order to integrate disparate applications within and between organizations. Internet DB Seminar
Scenarios • Trading partners • Enable information interchange among trading partners. • Business process integration • Enable businesses to link their multiple business processes. • Automated procurement • Enable businesses to source goods and services with one-one or one-many vendors. • Business to business portals • Enable business to business intermediaries to automate content aggregation and management. Internet DB Seminar
BizTalk Serveragreement • An agreement defines the rules for exchanging data between two or more organizations: • Source and destination organizations • At least one document specification • Document envelopes • Security settings • Transport settings Internet DB Seminar
Agreement types • Outbound agreement • Defines the rules for sending documents. • Inbound agreement • Defines the rules for accepting documents. • An open agreement • A special type that defines a single organization. The missing trading partner information is provided when the document is submitted to BizTalk. Internet DB Seminar
Document Specifications • Document specifications define the structure of a business document in a way that is independent of the underlying data format. • BizTalk represents document specifications internally with XDR (Will be replaced by XML Schema Definition Language - XSDL). • A business document’s physical format may be XML, UN/EDIFACT EDI, X12 EDI, positionally delimited flat files , or comma-separated values. Internet DB Seminar
Document Specifications (Cont.) • Document specifications are required to define the translation from the original document format to the BizTalk Server 2000 intermediate XML format. • Business analysts must review schema initiatives in their industries, perform gap analysis between published specifications and internal business requirements, and negotiate details with trading partners. Internet DB Seminar
Document Specifications Editor Internet DB Seminar
Document Specifications Source XDR Internet DB Seminar
Document transformation • The BizTalk Mapper transforms a document from the internal XML representation of an inbound document to the internal XML representation of an outbound document. • This mapping allows BizTalk Server 2000 to alter the schema (transformation) and data format (translation) of business documents. • The BizTalk Mapper uses standard XSLT technology to internally represent mapping rules. Internet DB Seminar
Document transformation (Cont.) • Microsoft XSLT implementation provides COM and scripting language integration. • BizTalk Mapper take advantage of this integration to provide built-in reusable components called functoids (String, Mathematical, Logical, Date, Conversion etc). • Functoids allows the developer to define custom script logic that will be applied to source data values during the execution of a map. Internet DB Seminar
BizTalk Mapper Internet DB Seminar
BizTalk Mapper Compiled XSLT Internet DB Seminar
Pipelines • Pipelines tie together the built-in or custom processing steps during a data interchange. • Certificate identification and processing rules are defined within a pipeline. • Custom components may be inserted into a pipeline. Internet DB Seminar
Transport Services • BizTalk Server 2000 supports the following transport services: HTTP, HTTPS, SMTP, MSMQ, FTP, file, and fax. • Documents may also be sent with a custom COM. Internet DB Seminar
Receive functions • Receive Functions allow applications to submit business documents to BizTalk. • FTP, file, and message queuing are supported receive functions. Internet DB Seminar
Receive functions (Cont.) • The FTP receive function polls a given location and uses FTP to send files to BizTalk. • The file receive function is invoked by a file system event when activity occurs in the defined directory. The source file is copied and submitted to BizTalk . • The message queuing receive function provides event-based integration with MSMQ to read messages from a queue and submit the message body to BizTalk . Internet DB Seminar
Architecture and Tools • The BizTalk Server uses Windows 2000 Server and Microsoft SQL Server to implement document interchange engine. • A standard deployment may include one or more BizTalk servers configured as a group. • Server groups share document specifications and maps through the Windows 2000 Web Distributed Authoring and Versioning (WebDAV) service. Internet DB Seminar
Architecture and Tools (Cont.) • The servers share working interchange data by accessing a set of shared SQL Server queues. • Four SQL Server queues are used during the processing of a document: scheduled queue, work queue, retry queue, and suspended queue. Internet DB Seminar
BizTalk Server 2000 Deployment Internet DB Seminar
Document Processing • Business data is submitted to BizTalk as text. • The server selects the appropriate parser based on the agreement. • The parser looks up the document specification defined in the agreement, and uses it to create intermediate XML representations of the submitted business data. • If the parsing step fails, the document will be placed in the suspended queue. Internet DB Seminar
Document Processing (Cont.) • The server validate the structure and grammar of the document. • The server loads the map defined in the agreement’s pipeline configuration and applies the transformation to the document. • The document is serialized. • The document is transported. Internet DB Seminar
Security • SSL support is provided through the built-in HTTPS transport service. • Documents may also be encoded using built-in S/MIME encoding components. • The Public Key Cryptography System (PKCS) for encrypting and decrypting document is supported. • Digital signatures may be applied to outbound messages and verified on inbound messages. Internet DB Seminar
Management and Analysis Tools • BizTalk Management Desk • allows the recreation and configuration of trading partner agreements and all associated properties (organizations, distribution lists, document specifications, envelopes, transport protocols, security settings, and pipelines). • Microsoft Management Console (MMC) • Using this console, groups, queue activity, receive functions and individual servers may be managed remotely or locally. Internet DB Seminar
BizTalk Management Desk Internet DB Seminar
Microsoft Management Console (MMC) Internet DB Seminar
BizTalk Orchestration (BTO) • BizTalk Orchestration is a new technology for creating and orchestrating business processes that span time, organizations, applications and people. • BTO is based on a new application of XML called XLANG, which is a language created to define the semantics of business processes and to bind process activities to software implementations. Internet DB Seminar
BizTalk Orchestration Goals • Separation of Definition from Implementation. • The process definition must not be tied to or driven by implementation details and vice versa. • Dynamic Processes. • “Any to Any” Integration. • The process must be able to communicate and interact with any of the constituent parts of the implementation of the process. Internet DB Seminar
BTO Overview • BizTalk Orchestration makes a distinct separation between the process definition and the underlying implementation. • It allows the process to be modified and maintained without breaking the underlying software implementations, and vice versa. Internet DB Seminar
BTO Overview (Cont.) • It allows flexibility of hardware and software choice. The underlying implementations can be upgraded or changed entirely without throwing away the work done to define the process. • It makes it easy to add new elements and new participants to the process. Internet DB Seminar
BizTalk Orchestration form Internet DB Seminar
BizTalk Framework 2.0 • BizTalk Framework provides detailed specifications for the construction of BizTalk Documents and Messages, and their secure transport over a number of Internet-standard transport and transfer protocols. Internet DB Seminar
Microsoft .NET Enterprise Servers • Microsoft Application Center 2000 • Microsoft BizTalk Server 2000 • Microsoft Commerce Server 2000 • Microsoft Exchange 2000 • Microsoft Host Integration Server 2000 • Microsoft Internet Security and Acceleration Server 2000 • Microsoft Mobile Information 2001 Server • Microsoft SQL Server 2000 Internet DB Seminar
Case study - Marks & Spencer • Business Challenge • Marks & Spencer needed to ensure that point-of-sale (POS) data from its stores was transmitted to its data center as quickly as possible. • Solution • Microsoft Windows® 2000 Server in each store, connected through a LAN to POS terminals running a Windows client. Internet DB Seminar
Case study (Cont.) • Solution (Cont.) • Transactions flow from each POS terminal to the server, where every 60 seconds they are aggregated, converted to an XML message, and sent to the corporate data center using the Microsoft Message Queuing Services (MSMQ) • BizTalk Server 2000 receives the XML messages, load balances them across all of the BizTalk processing servers, examines their contents, and intelligently routes the data to the appropriate application in the correct format. Internet DB Seminar
Case study (Cont. 2) Internet DB Seminar
References • Product site: http://www.microsoft.com/biztalk • Biztalk.org: http://www.biztalk.org/BizTalk/default.asp • Case studies: http://www.microsoft.com/servers/net/casestudies.htm • Microsoft Message Queue (MSMQ): http://www.microsoft.com/msmq • XSL Transformation (XSLT): http://www.w3.org/TR/xslt • S/MIME Specification: http://www.ietf.org/rfc/rfc2633.txt Internet DB Seminar