Upload
aequor-technologies
View
272
Download
2
Tags:
Embed Size (px)
Citation preview
To ask a questionTo ask a questionType your question in the “To ask the Type your question in the “To ask the presenter(s) a question, type it here presenter(s) a question, type it here and click Ask” field; then click the Ask and click Ask” field; then click the Ask buttonbutton
To give feedback or ask for helpTo give feedback or ask for help
• For assistance, select need Help from the “Feedback to Presenter” drop-down menu in the Seating Chart pane.
OverviewOverview
• BizTalk and application integration
• Basic BizTalk Server functions
• BizTalk Server components
• Document transportation
• Document conversion
• Business process management
• How BizTalk Server processes messages
• Case study: an enterprise application integration scenario
InternetInternet
How Do Enterprises Work Today?How Do Enterprises Work Today?
Contoso
ERPERP
HR HR SystemSystem
eCommeComm
CRMCRM
Logistics
Customer
Customer
Bank
Supplier
EDI
EDI
Rosetta
Rosetta
Net
Net
SWIFSWIFTT
XMLXML
Point-to-Point Integration ArchitecturePoint-to-Point Integration Architecture
CRM System
Purchasing
SCM System
OrderEntry
ERP
Advantages Higher performance Tighter integration Easier to implement
(but not always)
Disadvantages Increased complexity Difficult to modify Changes affect many
systems
Advantages Higher performance Tighter integration Easier to implement
(but not always)
Disadvantages Increased complexity Difficult to modify Changes affect many
systems
Financial Systems
Marketing
Hub-and-Spoke Integration ArchitectureHub-and-Spoke Integration Architecture
CRM System
Purchasing
SCM System
OrderEntry
ERPAdvantages Centralized Management Transforms documents Simpler integration
Disadvantages Requires communications
broker Involves more complex
communications
Advantages Centralized Management Transforms documents Simpler integration
Disadvantages Requires communications
broker Involves more complex
communications Financial Systems
Marketing
Hub
BPA B2BB2BEAIEAI
Contoso
InternetInternetLogistics
Customer
Customer
ERPERP
HR HR SystemSystem
eCommeComm CRMCRM
Bank
Supplier
Comprehensive Integration SolutionComprehensive Integration Solution
SWIFTSWIFT
XMLXML
EDIEDIEDI
EDI
RosettaNet
RosettaNet
BizTalk ProvidesBizTalk Provides
• Integration development environment
• Integration runtime environment
• Integration framework
Basic BizTalk Server FunctionsBasic BizTalk Server Functions
Business Process MgmtBusiness Process MgmtDocument ConversionDocument Conversion
Company BCompany A
Document TransportationDocument Transportation
Company BCompany A
Messaging Orchestration
BizTalk Server ComponentsBizTalk Server Components
BizTalk Server 2006 Engine
OrchestrationOrchestration
MessagingMessaging
Business Activity
Monitoring
Business Activity
Monitoring
Business Activity Services
Business Activity Services
Business RulesEngine
Business RulesEngine
Health and Activity Tracking
Health and Activity Tracking
EnterpriseSingle Sign-on
EnterpriseSingle Sign-on
Management And Operation
Tools
Management And Operation
Tools
Document TransportationDocument Transportation
CRM SystemCRM System
ERPERP
DatabaseDatabase
SCMSCM
MainframeMainframe
Financial SystemFinancial System
AdaptersAdapters Connect applications to an integration
system Provide a fast no-coding integration
solution
Adapters Connect applications to an integration
system Provide a fast no-coding integration
solution
BizTalk native adaptersWeb Services, File, FTP, HTTP, MSMQT,
SMTP, SQL, EDI
MSMQ, WebSphere MQ, POP3, WSS
BizTalk native adaptersWeb Services, File, FTP, HTTP, MSMQT,
SMTP, SQL, EDI
MSMQ, WebSphere MQ, POP3, WSS
Document ConversionDocument Conversion
XSLTStyle sheet
XSLTStyle sheet
ItemID
UnitPrice
RecordPOStatus
OrderPO Number
Date TimeItem NoWeight
OrderStatus
Destination SchemaSource Schema
Date
Char to Numeric
Total AmtMultiply
+TimeQty
Message translation BizTalk Server is XML centric Conversion between XML and native formats (non-XML)
Message transformation Conversion between 2 XML documents Performs computational and other data operations Automatically inserts the data from one message into another during runtime
Message translation BizTalk Server is XML centric Conversion between XML and native formats (non-XML)
Message transformation Conversion between 2 XML documents Performs computational and other data operations Automatically inserts the data from one message into another during runtime
Terminologies Parsing: native -> XML Serialization: XML->native Map: defines the correspondence
between records and fields in two schemas
Terminologies Parsing: native -> XML Serialization: XML->native Map: defines the correspondence
between records and fields in two schemas
Business Process ManagementBusiness Process Management
Orchestration Designer Orchestration Designer
BizTalk ServerOrchestration
OrchestrationShapes
CompilePort Operation Request
Receive
Construct Message
Transform
Send
Port Operation Request
How BizTalk Server Process Messages?How BizTalk Server Process Messages?
MessageBox Database
XML
XML,Flat File
ReceiveAdapterReceiveAdapter
ReceivePipelineReceivePipeline
Receive Location1
2
3
Business Process
Mapping
Orchestration
<tag> <tag><tag> <tag>
XML 4
1-2-3
5
XML,Flat File
XML
SendPipelineSend
Pipeline
SendAdapterSend
Adapter
Send Port
6
7
Case study: Enterprise Application IntegrationCase study: Enterprise Application Integration
BizTalk Server 2006 Engine
OrchestrationOrchestration
ERP System
Send Approved Request
Send Approved Request
2bMessagingMessaging
Send order Request
Send order Request
1
Warehouse Inventory System
Send Denied Request
Send Denied Request
2a
BizTalk Solution Design ConsiderationsBizTalk Solution Design Considerations
• How many applications involved?• Warehouse• ERP System
• What are the document formats?• Inbound Request from Warehouse in XML file format• Outbound Request to ERP System in XML format• Outbound ReqDecline to Warehouse in XML format
• What are the transportation methods?• File Transport
• What is the workflow• If Quantity > 500, send ReqDecline to Warehouse• If Quantity <= 500, forward Request doc to ERP
BizTalk Solution Development ProceduresBizTalk Solution Development Procedures
• Creating BizTalk projects
• Creating schemas, maps, orchestrations, pipelines and other artifacts
• Compiling BizTalk projects
• Deploying BizTalk projects
• Testing BizTalk projects
ReviewReview
Company BCompany B
Company ACompany A
InternetInternet
ApplicationApplication
ApplicationApplication
ApplicationApplication
ApplicationApplication
ApplicationApplication
BizTalk ServerBizTalk Server
BizTalk Server 2006 provides: Orchestration and Messaging Engine Integrated development tools Web services integration Business Rules Framework Single sign-on Health and Activity Tracking Business Activity Services Business Activity Monitoring
BizTalk Server 2006 provides: Orchestration and Messaging Engine Integrated development tools Web services integration Business Rules Framework Single sign-on Health and Activity Tracking Business Activity Services Business Activity Monitoring
OverviewOverview
• Lesson 1: Introduction to BizTalk schemas
• Lesson 2: Using BizTalk Editor extensions (Optional)
Lesson 1: Introduction to BizTalk Schemas Lesson 1: Introduction to BizTalk Schemas
• What is BizTalk schema?
• Uses of BizTalk schemas
• Understanding BizTalk Editor interface
• Creating XML schemas
• Inserting records and fields
• Promoting properties
• Demo: creating schemas
What is BizTalk Schema?What is BizTalk Schema?
XML Schema<xs:element name="Item"> <xs:complexType> <xs:sequence> <xs:element name="Description“ type="xs:string" /> <xs:element name="Quantity" type="xs:int" /> <xs:element name="UnitPrice" type="xs:string" /> <xs:element name="TotalPrice" type="xs:decimal" /> <xs:element name="ItemID" type="xs:long" /> </xs:sequence> </xs:complexType></xs:element>
XML Instance <Item> <Description>Description_0</Description> <Quantity>10</Quantity> <UnitPrice>UnitPrice_0</UnitPrice> <TotalPrice>10.4</TotalPrice> <ItemID>10</ItemID> </Item>
An XML schema defines: Elements Attributes Data types Order of tags Mandatory fields Multiple occurrences
An XML schema defines: Elements Attributes Data types Order of tags Mandatory fields Multiple occurrences
BizTalk Server uses XSD
BizTalk Server uses XSD
Uses of BizTalk SchemasUses of BizTalk Schemas
• Validating documents
• Translating documents• from XML to native
• from native to XML
Translation (Parsing/Serialization)
Transformation
Understanding BizTalk Editor InterfaceUnderstanding BizTalk Editor Interface
Schema Tree ViewSchema
Tree ViewProperty
PageProperty
PageXSD ViewXSD View
BizTalk Editor Integrated with Visual
Studio.NET Become active when a
schema is opened or added to a project
Generating XSD schemas
BizTalk Editor Integrated with Visual
Studio.NET Become active when a
schema is opened or added to a project
Generating XSD schemas
Creating XML SchemasCreating XML Schemas
Creating schema from scratch Creating FF schema using wizard Creating schema from non-XSD source
Well-formed XML documentXDR schemaDTD schema
Creating schema from scratch Creating FF schema using wizard Creating schema from non-XSD source
Well-formed XML documentXDR schemaDTD schema
Inserting Records and FieldsInserting Records and Fields
Schema nodeRoot nodeRecord nodeElement field nodeAttribute field node
Schema nodeRoot nodeRecord nodeElement field nodeAttribute field node
Schema node at top of hierarchyRoot represents type of documentRecord denotes collection of dataRecord can contain other records
and fieldsField represents the dataField can not contain child nodes
Schema node at top of hierarchyRoot represents type of documentRecord denotes collection of dataRecord can contain other records
and fieldsField represents the dataField can not contain child nodes
Demo: Creating SchemasDemo: Creating Schemas
• Creating schema for Request document
• Creating schema for Request Decline document
Lesson 2: Using BizTalk Editor ExtensionsLesson 2: Using BizTalk Editor Extensions
• BizTalk Editor Extensions
• Flat File Extension
• Creating a flat file schema
• Demo: creating a flat file schema using the wizard
BizTalk Editor ExtensionsBizTalk Editor Extensions
• Flat file extension
• EDI extension
• Create custom extensions using the Microsoft.BizTalk.SchemaEditor.Extensibility namespace
Flat File ExtensionFlat File Extension
• Supports positional and delimited flat files
• Flat file view
• Flat file specific properties
Creating a Flat File SchemaCreating a Flat File Schema
• Specify the Schema Editor Extensions property for the schema as Flat File Extension
• Delimited records• Specify the Structure property Delimited or Positional
• Specify the Child Order, the Child Delimiter Type and the Child Delimiter properties for the node containing delimited child elements
• Positional Records• Specify the Positional Offset and the Positional
Length for the child elements of a positional record
Using BizTalk Flat File Schema WizardUsing BizTalk Flat File Schema Wizard
• Using real flat file instances as input
• Visual design surface for working with delimited and positional flat file schemas
• Preview capabilities for the file format
Demo: Creating a FF Schema Using WizardDemo: Creating a FF Schema Using Wizard
• Create schema for Request document in flat file format
ReviewReview
• What is BizTalk Schema?
• What is the BizTalk tool for creating schemas?
• How to create a schema for a flat file?