1 Hinweis In der Notizseitenansicht finden sich nun auch kurze Kommentare zu den meisten Folien.

Post on 05-Apr-2015

108 views 4 download

Transcript of 1 Hinweis In der Notizseitenansicht finden sich nun auch kurze Kommentare zu den meisten Folien.

1

Hinweis

In der Notizseitenansicht finden sich nun auch kurze Kommentare zu den meisten Folien.

BizTalk Server 2000

Überblick und technischer Einstieg

Tilo BöttcherTechnology Consultant Developer GroupMicrosofttiloboet@microsoft.com

Frank LangeSystem Engineer Developer GroupMicrosoftfranklan@microsoft.com

3

Microsoft BizTalk Server 2000 – Überblick und technischer Einstieg

Im Mittelpunkt dieses TechTalks steht die Frage, wie Sie Geschäftsprozesse auf der Basis von strukturierten (XML) Dokumenten mit Hilfe der Werkzeuge des BizTalk Servers 2000 modellieren, programmieren und verarbeiten können. Besondere Aufmerksamkeit soll dabei der Festlegung und dem manuellen sowie funktionsorientierten Mapping von

Schemata gelten. Stichworte wie Transaktionen, Parallelisierung und Fehlerbehandlung sollen skizziert und ein

Exkurs in die Business-Prozess Design- und Entwicklungsumgebung unternommen werden.

Angesprochen ist der technisch orientierte Business Prozess Analyst ebenso wie der Programmierer von Komponenten und

Geschäftsanwendungen.

4

Inhalt dieses TechTalk

Funktionsweise und Aufgaben des BizTalk Servers

Dokumentenaustausch

Integration von Applikationen

Wo ist der Developer gefragt?? Demos!!

5

Agenda

BizTalk Initiative

BizTalk Server

Management der Handelspartner

Dokumenten Mapping und Anpassung

Dokumenten Routing und Zustellung

Integration von Applikationen

6

BizTalk Initiative

XML wird als DAS Format zum XML wird als DAS Format zum Dokumentenaustausch im Inter-/Intranet Dokumentenaustausch im Inter-/Intranet angesehen.angesehen.

Firmen stellen Ihre branchenspezifischen Firmen stellen Ihre branchenspezifischen XML-Schemata bereit, andere können diese XML-Schemata bereit, andere können diese als Vorlage hernehmen.als Vorlage hernehmen.

SW-Hersteller liefern Tools und SW-Hersteller liefern Tools und Anwendungen für den Umgang mit XML.Anwendungen für den Umgang mit XML.

7

BizTalk Framework

Veröffentlichen vorhandener Schemata

Erstellung neuer SchemataP&G Planung der Zusammenarbeit

Merisel High-Tech Distribution

FDC/Citigroup TransPoint Internet Abrechnung

Tools für die Erstellung von Biztalk Apps zur Verfügung stellen

Verwaltung unter http://www.biztalk.org

8

BizTalk Community

www.biztalk.org

Web basierte Schema Bibliothek

Tools für die Registrierung und das Tracking von Schemata

300+ 3rd Party XML Schemata

150+ Registrierte Organisationen

9

Microsoft und BizTalk

Windows 2000 (XML/XSL)

Visio 2002 wird XML Formate haben

BizTalk Server 2000

Visual Studio 6 / VS.NET

Commerce Server 2000

Windows 2000 Server

SQL 7/2000Visio 2000

BizTalk Server 2000

Vis

ual

Stu

dio

10

Agenda

BizTalk Initiative

BizTalk Server

Management der Handelspartner

Dokumenten Mapping und Anpassung

Dokumenten Routing und Zustellung

Integration von Applikationen

11

Kommerzielle B2B Szenarien

Die wichtigsten Commerce Szenarien heute:

Zusammenführung von Handelspartnern

Automatisierte Abrechnung

B2B Portale/Extranets

Integration von Business Prozessen

Zukunftsaspekte

XML als W3C Standard gewinnt Bedeutung

Der Weg hin zu XML wird leichter

WebServices basieren auf XML

12

Beispiel: Marks and Spencer Projekt35 Mio Docs/Tag -> 400 Docs/sec, ca. 600 Geschäfte weltweit

•BizTalk ServerBizTalk Server•MSMQMSMQ•Windows 2000Windows 2000

MESSAGING HUBMESSAGING HUB

Lager/Laden

zentrale Windows 2000 Umgebung S/390 Umgebung

NT Umgebung

DB2Database

Model 204APPLICATION

SQLSQLDatabaseDatabase

MSMQ

Transactionswrapped in XML

XMLXML

BizTalkdoc

COM-TI CICS

data

MSMQ/MQ SeriesBridge

MQ Series

data

MSMQ MSMQ

BizTalkdoc

13

Demo (Verwaltung: Tools und Dienste)

BTS-Verwaltung (BT-Servergruppen)

SQL-Server DBs im Hintergrund

XLANG Scheduler (COM+ App, Komponentendienst)

BTS Messagingdienste (Dienste auf dem Rechner)

WebDAV (XML-Schemata- und Mapping-Reopsitory)

BTS-Administratorgruppe

14

Fähigkeiten des BizTalk Servers

BestellungBestellung

RechnungRechnung

TradingTradingProfilesProfiles

TradingTradingProfilesProfiles

SQL

Management von Handelspartnern

Dokumenten Mapping und Anpassung

Dokumenten Routing und Zustellung

Integration von Applikationen

Extraktion und Analyse von Daten

Firma A Firma B

15

Demo (Messaging Dienste)

Organisation „RechnungsGmbH“

XML-Schemata: Bestellung, Rechnung

XML-Konvertierung (Mapping)

Port zum „Rechnungsotto“ (z.B. Filetransport)

Kanal zum Port: Bestellung rein, Rechnung raus

Dateiempfangsfunktion: speisen des Kanals

Dokumenten-Tracking

XML-Dokumentendefinition (in die DB)

16

BizTalk Server Key Features (I)

Management von HandelspartnernOrganizationen

Vereinbarungen

Kommunikations-Ports und Kanäle (Channels)

Dokumenten Mapping und Anpassung XML basiert

EDI – X12 und EDIFACT

Flat Files – getrennt/feste Länge

17

BizTalk Server Key Features (II)

Zuverlässiges Routing und Zustellung von Dokumenten

Unter Nutzung verschiedener Internet Protokolle:

• HTTP, HTTPs,SMTP, DCOM, File, MSMQ Empfangen von Applikationen

Direkte Integration Generische Integration

Extraktion und Analyse von DatenDokumenten Tracking Logs über Aktivitäten

18

Benutzung der Windows 2000 Services

Fehlertoleranz und Skalierbarkeit Benutzung der Load Balancing und Clustering Services

Sicherheit Benutzung der Public Key Infrastruktur

Einfache Administration Mit dem Windows Management Interface

Active Directory (optional)Ablage von Handelspartner-Zertifikaten (nur einmal notw.)

Sicherheitsprinzipien im AD können auf Partner gemapped werden

19

Vis

ual

Stu

dioBizTalk Server Versionen

Windows 2000 Server

SQL 7/2000Visio 2000

BizTalk Server 2000

YesYesNoSDK

unlimitedunlimited5 max.Internal Applications

unlimitedunlimited5 max.Trading Partners

unlimited**unlimited**NoneFailover clustering

unlimited

unlimited

Developer

unlimited

unlimited

Enterprise

NoneScale-out clustering

OneProcessor Support

StandardFeatures

YesYesNoSDK

unlimitedunlimited5 max.Internal Applications

unlimitedunlimited5 max.Trading Partners

unlimited**unlimited**NoneFailover clustering

unlimited

unlimited

Developer

unlimited

unlimited

Enterprise

NoneScale-out clustering

OneProcessor Support

StandardFeatures

20

BizTalk Server Installationsvoraussetzungen

Hardware:An Intel® Pentium 300 processor.

128 megabytes (MB) of RAM.

6-gigabyte (GB) hard disk.

CD-ROM drive.

network adapter card.

VGA or Super VGA monitor.

Microsoft Mouse or compatible pointing device.

Software:Complete installation Tools installation Custom installationMicrosoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, or Microsoft Windows 2000 Professional with the NTFS file system and Service Pack 1

Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, or Microsoft Windows 2000 Professional with the NTFS file system and Service Pack 1

Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, or Microsoft Windows 2000 Professional with the NTFS file system and Service Pack 1

Microsoft Internet Explorer 5 or later Microsoft Internet Explorer 5 or later Microsoft Internet Explorer 5 or laterMicrosoft Visio® 2000 SR-1A or later (required to use BizTalk Orchestration Designer)

Microsoft Visio 2000 SR-1A or later (required to use BizTalk Orchestration Designer)

Microsoft Visio 2000 SR-1A or later (required to use BizTalk Orchestration Designer)

Microsoft SQL Server™ 7.0 and SQL Server Service Pack 2 (SP2) or SQL Server 2000

Microsoft SQL Server 7.0 and SQL Server Service Pack 2 (SP2)* or SQL Server 2000

21

Agenda

BizTalk Initiative

BizTalk Server

Management der Handelspartner

Dokumenten Mapping und Anpassung

Dokumenten Routing und Zustellung

Integration von Applikationen

22

Handelspartner Profile

Organisation„My Org“

Application„Source“

Application„Destination“

Port „A“InboundAgreement

Port „B“OutboundAgreement

XXXXXX

DocumentDefinition

Channel

23

BizTalk Messaging Manager

Definition von Organizationen und Applikationen

Definition von VereinbarungenAnlegen von Quelle/Ziel

Eingang/Ausgang

Dokumenten Definitionen

Sicherheit

Definition von Nachrichten-Ports und Kanälen

Mapping

24

BizTalk Editor

Erstellen und Speichern von XML Schemata

Export der BizTalk XDR Syntax (XML reduced)

Import Module fürWellFormed-XML

DTD

XDR Schema

Benutzung für XML/Non-XML X12

EDI

Flat (Delimited & Positional)

25

Agenda

BizTalk Initiative

BizTalk Server

Management der Handelspartner

Dokumenten Mapping und Anpassung

Dokumenten Routing und Zustellung

Integration von Applikationen

26

Mapping zwischen XML Schemata

als XDR Schema speichern

Breite Palette an MöglichkeitenFunctoids

Script

Compilierung und Test der Maps

BizTalk MapperBizTalk Mapper

27

Vielzahl an Transportmöglichkeiten und Formaten

BizTalkServer

HTTP

SMTP

DCOM

HISServer

FileSystem

ADO

MSMQ

SAPIDOCXML

XMLEDI

28

Mapping Mapping und Anpassung von und Anpassung von DoDokkumentumentenen

XSLMap

XMLDocument

XMLDocument

XSLEngine

Beispiel 1: XML zu XML

XSLMap

EDIDocument

Flat FileDocument

DataParser

XMLDocument

XMLDocument

XSLEngine

XSLEngine

XMLSchema

XSLMAP

Beispiel 2: EDI zu Flat File

29

Agenda

BizTalk Initiative

BizTalk Server

Management der Handelspartner

Dokumenten Mapping und Anpassung

Dokumenten Routing und Zustellung

Integration von Applikationen

30

BizTalk Architektur

Application

BizTalkServer

DataCommunication

BizTalkServer

Internet

BizTalk Message –XML based

XML Output

XMLInput

DataCommunication

Application

Organisation A Organisation B

Wenn beide Partner BTS einsetzen, dann ist XML das beste Austauschformat.

31

Agenda

BizTalk Initiative

BizTalk Server

Management der Handelspartner

Dokumenten Mapping und Anpassung

Dokumenten Routing und Zustellung

Integration von Applikationen

32

Senden und Empfangen von Dokumenten

Senden von Dokumenten zum BizTalk Server

Direkte Integration

Generische Integration

Empfang von Doks vom BizTalk ServerFile, MSMQ, HTTP

Application Integration Component(s)

33

Direkte Integration

Sendende Applikation

BizTalk Server

IInterchange:submit(1,Document,,,,,Pipeline,Sender,Receiver)

VB-Applikation, ASP-Seite

Direkte Integration: Funktionen von IInterchange

Submit() für asynchrone Kommunikation

SubmitSync() für synchrone Kommunikation

34

Generische Integration

SendendeApplikation

Verzeichnis

EmpfangenderBizTalk Server

Funktion fürDateiempfang

Generische Integration durch die empfangende Funktion

Datei, FTP, MSMQ

35

Application Integration Components

Doc……

DocDoc

Biztalk Server 2000

AIC

Submitted Business document

IPipelineComponent:Execute

36

Demo: Fallbeispiel mit dem MS internen eProcurement System MS MarketScenario

Kauf eines Laptops mit Microsoft´s internem Bestellsystem MS Market

37

Case Study: MS Market Business Process

UserUser POPOApproverApprover

InvoiceInvoiceApproverApprover

FinanceFinanceMS MarketMS Market ShipperShipperReviewerReviewerSupplierSupplier

Purchase requestPurchase request

PO approvalPO approvalPurchase orderPurchase order

ConfigurationConfiguration

ReviewReviewPurchase confirmation and ETAPurchase confirmation and ETA

Shipping orderShipping orderInvoiceInvoice

Invoice request approvalInvoice request approval

Invoice approvalInvoice approvalPaymentPayment

Purchase order acknowledgementPurchase order acknowledgement

RolesRoles

Act

ion

sA

ctio

ns

PO requestPO requestapprovalapproval

38

Case Study: MS MarketDokumente, Schemata und Transportwege

Document Transport MS Market Supplier

PO EDI VAN DelimitedFlat File

X12-850 PO

PO Ack. EDI VAN X12-855 PO X12-855 PO

Invoice FTP SAP I-DOC X12-810 Inv.

Payment EDI VAN EFT / EDI EFT / EDI

39

Case Study: MS MarketTechnische Anforderungen

B2B Integration (Business-to-Business)

A2A Integration (Application-to-Application)

Zusammenspiel und Workflow

40

SupplierSupplierSupplierSupplierMicrosoftMicrosoftMicrosoftMicrosoft

Case Study: MS Market B2B Integration

UserInvoice

ApproverPO

ApproverMS

MarketFinance Supplier Reviewer Shipper

Purchase Request

PO RequestApproval

PO ApprovalPurchaseOrder

Configuration

ReviewPurchase Confirmation and ETA

Shipping Order

Invoice

Invoice Request Approval

Invoice ApprovalPayment

41

SupplierSupplierSupplierSupplierMicrosoftMicrosoftMicrosoftMicrosoft

Case Study: MS Market B2B Integration

UserInvoice

ApproverPO

ApproverMS

MarketFinance Supplier Reviewer Shipper

Purchase Request

PO RequestApproval

PO ApprovalPurchaseOrder

Configuration

ReviewPurchase Confirmation and ETA

Shipping Order

Invoice

Invoice Request Approval

Invoice ApprovalPayment

42

Case Study: MS MarketB2B Integration

MicrosoftCustomer

InacomSupplier

Purchase Order

PO Confirmationand ETA

Invoice

Payment

43

Case Study: MS MarketApplication-to-Application Integration

MicrosoftMicrosoft(Customer)(Customer)

POPO

InvoiceInvoice

PaymentPayment

POPOConfirmationConfirmation

and ETAand ETA

Send POSend PO

ReceiveReceiveConfirmationConfirmation

ReceiveReceiveInvoiceInvoice

SendSendPaymentPayment

POPO

Conf & ETAConf & ETA

InvoiceInvoice

PaymentPayment

44

Demo (Orchestration Designer)

Bestellung erhalten (via MessageQueue)

Entscheidung: ob Akzeptanz (XML-Feldabfrage)

Bestellung weiterleiten (via COM)

Rechnung schicken (Kanal Rechnungsotto)

Triggerung z.B. vom WebService - oder hier einfache VB-EXE.

45

Links

BizTalk Infos: http://www.microsoft.com/biztalk XML, XML-Schema, BizTalk Frameworkhttp://msdn.microsoft.com/xmlhttp://msdn.microsoft.com/xml/XMLGuide/schema-overview.aspBizTalk.org, Infos, Community und Schematahttp://www.biztalk.org

BizTalk Server 2000 Enterprisehttp://www.microsoft.com/biztalkserver

46

Fragen?

47

Glossar

AIC – Application Integration Component: Definierte Programmierschnittstelle für den Zugriff auf SystemfunktionenASP - Application Service ProviderASP heißt, dass der Kunde seine Programme, Standardanwendungen und Speziallösungen über das Netz aus einem zentralen Rechenzentrum bezieht. Die IT-Kosten werden so für Ihr Unternehmen zum ersten Mal transparent und genau kalkulierbar. EDI – Electronic Data Interchange For Administration Commerce and Transport" • Gemeint ist damit ein Standard, den die Vereinten Nationen für die elektronische Abwicklung geschäftlicher Vorgänge zwischen Unternehmen, Branchen und Ländern entwickelt habenERP - Eine Abkürzung für Enterprise Resource Planning Systeme, die es Organisationen erlauben, Ressourcen unternehmensweit zu verwalten und gleichzeitig Herstellungssysteme ganz zu integrieren XML - eXtensible Markup Language: Textbasiertes, allgemeines Datenformat, das Grundregeln für den Aufbau eigener Datenformate definiert.XSL - XML Stylesheet Language: XML-basierte Sprache, mit der Transformationen von XML-Daten definiert werden können.

48

BizTalk Server Terminologie und Akronyme

ACH Automated ClearinghouseACID Atomic, Consistent, Isolated, DurableADCU Applications Developer Customer UnitADO Active Directory ObjectAIAG Automotive standard within ANSI X12ANSI American National Standards InstituteAPO Advanced Planning and OptimizationASC Accredited Standards Committees (within ANSI)ASN Advanced Ship NoticeATL Active Template LibraryATM Asynchronous Transfer ModeB2B Business to BusinessB2C Business to ConsumerB3 Baan Business BusBDO Business Document ObjectBDSE Business Document Specification Editor (CIS)BOI Business Object InterfaceBOM Bill of MaterialsCA Certificate AuthorityCIP Commerce Interchange PipelineCIP Common Indexing ProtocolCIPM Commerce Interchange Pipeline ManagerCIS Commerce Interchange Server (Latinum)CORBA Common Object Request

Broker ArchitectureCRL Certificate Revocation ListCS Commerce Server (Plutonium)CSF Content Selection FrameworkDAV Distributed Authoring & Versioning (see WebDAV)DCD Document Content DescriptionDEM Dynamic Enterprise ModelDES Data Encryption StandardDHCP Dynamic Host Control ProtocolDIB Directory Information BaseDISP Directory Information Shadowing ProtocolDIT Directory Information TreeDNS Digital Nervous SystemDNS Domain Name SystemDOM Document Object ModelDSA Digital Signature AlgorithmDSO Data Source Object

DSP Directory System ProtocolDSS Digital Signature StandardDTD Document Type DefinitionEAI Enterprise Application IntegrationEDI Electronic Data InterchangeEDIFACT Predominant EDI

standard supported by UNEDIINTEDI over the InternetEFT Electronic Funds TransferEMPI Enterprise Master Person IndexERP Enterprise Resource PlanningFA Functional Acknowledgement (997)GTDI Guide for Trade Data Interchange – a set of

standards published by UN/EDIFACTICE Information and Content ExchangeICMP Internet Control Message ProtocolIDEA International Data Encryption AlgorithmIETF Internet Engineering Task ForceILS Internet Locator ServiceIM Interchange Manager (BizDesk Module)ISAKMP Internet Security

Association and Key Management ProtocolISO/OSI International

Organization for Standardization Open Systems Interconnection (data communications model)

KEA Key Exchange AlgorithmKerberos Protocol developed by

MIT, provides 3 levels of security protectionLCE Loosely Coupled Events (COM+)LDAP Lightweight Directory Access ProtocolLOB Line of BusinessMDN Message Disposition NotificationMDN Message Disposition NotificationMMC Microsoft Management ConsoleMOET Microsoft Order Entry ToolMOM Message-oriented MiddlewareMRP Manufacturing Resource PlanningMTBF Mean Time Between FailuresNACHA National Automated

Clearing House AssociationNNTP Network News ProtocolNSA National Security AgencyNT SSPI NT Security Service

Provider InterfaceOAGIS Open Applications Group Integration

SpecificationOBI Open Buying on the InternetOLAP Online Analytical ProcessingOPA Online Privacy AllianceORB Object Request Broker

PAEB Pan American EDIFACT Board – U.S. reps to UN/EDIFACTPCT Private Communications TechnologyPFM Personal Finance ManagerPFX Personal Information ExchangePKCS Public Key Cryptography Standards

PKI Public Key InfrastructurePOC Proof of ConceptPOR Plan of RecordRDF Resource Description FrameworkResource Manager Any controller of a transacted resource,

such as SQL Server, that participates in distributed. The term comes from the X/Open consortium in their work on transactional protocols.

RFC Remote Function CallSAP Systems, Applications, and Projects in Data Processing (Sap

Aktiengesellschaft)SET Secure Electronic TransactionSFA Sales Force AutomationSHA Secure Hash AlgorithmSOAP Simple Object Access ProtocolSOAP Simple Object Access ProtocolSS Site ServerSSL Secure Sockets LayerSTM Synchronous Transfer ModeSTP Straight Through ProcessingTCO Total Cost of OwnershipTDCC Transportation Data Coordinating CommitteeTIP Transactional Internet Protocol – developed jointly by MS and

Tandem. It’s a relatively lightweight 2-phase commit protocol that operates between multiple potentially dissimilar Resource Managers to ensure distributed transactions with all the desired ACID properties.

TTL Time-to-liveUCS Uniform Communications Standard, the Grocery standard within

ANSI X12UDP User Datagram ProtocolVAN Value Added NetworkVCI Value Chain Initiative (Microsoft)VICS Voluntary Inter-Industry standard within ANSI X12W3C World Wide Web ConsortiumWBEM Web-based Enterprise Management -- integrating Internet

compatibility and system management independent of vendor, protocol, or management standards.

WebDAV Distributed Authoring and Versioning (set of verbs and syntax for HTTP, embodies the set of operations needed to author and manage documents)

X12 Predominant EDI standard in USA (all of the communications-related standards committees within ANSI have names

XML eXtensible Markup LanguageXQL XML Query LanguageXSL eXtensible Style Sheet Language

49

Die Vision von Microsoft

Empower peopleEmpower people

through great through great softwaresoftware

any time, any place,any time, any place,

and on any deviceand on any device

This presentation is for informational purposes only.MICROSOFT MAKES NO WARRANTIES, EITHER EXPRESS OR IMPLIED, IN THIS PRESENTATION.

©2000 Microsoft Corporation. All rights reserved.Microsoft, ActiveX, BackOffice, the BackOffice logo, FrontPage, Microsoft Internet Explorer logo, Visual Basic, Visual C++, Visual FoxPro, Visual InterDev, Visual J++, Where do you want to go today?, Win32, Windows, the Windows logo, the Windows Start logo, and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Other products and company names mentioned herein may by the trademarks of their respective owners.