BrainDump
  Home arrow BrainDump arrow Page 5 - Microsoft BizTalk Server 2004: Creating Sc...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
BRAINDUMP

Microsoft BizTalk Server 2004: Creating Schemas
By: MSDN Virtual Labs
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 9
    2006-02-16

    Table of Contents:
  • Microsoft BizTalk Server 2004: Creating Schemas
  • Exercise 1 Creating a New BizTalk Project
  • Exercise 2 Creating an XML Schema using the BizTalk Editor
  • Exercise 3 Promoting Schema Properties
  • Exercise 4 Creating a Flat File Schema using the BizTalk Editor
  • Exercise 5 Validating Schemas and Generating Instance Messages
  • Exercise 6 Assigning a Strong Name to the Assemblies

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Microsoft BizTalk Server 2004: Creating Schemas - Exercise 4 Creating a Flat File Schema using the BizTalk Editor


    (Page 5 of 7 )

    Scenario

    In this exercise, you will create a flat file schema to define the structure of a customer contact record.

            Tasks              Detailed steps

    1. Create the customer contact schema.

      This creates the XSD schema that describes the XML structure that flat files will be converted to.

        1. In Solution Explorer, right-click the NWMessaging project, point to Add, and then select Add New Item
        2. In the Add New Item dialog box, in the Templates pane, select Schema; and then, in the Name box, type CustomerOrderFlatFile.xsd and click Open
        3. In BizTalk Editor, right-click the <Root > node, and then rename the schema to Customers
        4. Right-click the Customers node, select Insert Schema Node, and then select Child Record.
        5. Rename the child record to Customer
        6. Add the following Child Field Elements

          • FirstName 
          • MiddleName
          • LastName 
          • ContactNo
    2. Configure the schema as a flat file schema.

      This creates properties for the schema node that map to XSD schema annotations.

      You will use a child delimiter that specifies a carriage return (0D) and a line feed (0A).

        1. Right-click the <Schema> node, and then select Properties.
        2. In the Properties window, click the Schema Editor Extensions property, and then click the ellipsis (…) button. 
        3. In the Schema Editor Extensions window, select the Flat File Extension checkbox, and then click OK
        4. Right-click Customers and click Properties 
        5. In the Properties window, set the following properties:

          Property

          Value

          Child Delimiter

          0x0D 0x0A

          Child Delimiter Type

          Hexadecimal

          Child Order

          Postfix


        6. Right-click Customer and click Properties.
        7. In the Properties window, set the following properties:

    Property

    Value

    Child Delimiter

    ,

    Child Delimiter Type

    Character

    Child Order

    Infix

    Take Microsoft software for a test drive. With MSDN Virtual Labs, you get full access to all available Microsoft products through 90-minute modules, each with its own downloadable manual.
    Try this lab out now.

    More BrainDump Articles
    More By MSDN Virtual Labs


       · We hope you found this article from MSDN Virtual Labs to be enjoyable and...
     

    BRAINDUMP ARTICLES

    - Introduction to Office Live Workspace
    - Using MS Excel for One-way Analysis of Varia...
    - Comparing Data Sets Using Statistical Analys...
    - Import Blogger Posts into WordPress Using Wi...
    - Download WordPress from an FTP Server and Ru...
    - Install and Run WordPress in XAMPP Local Host
    - What Windows 7 Brings to the Table
    - Virtualization and Sandbox Detection
    - Advanced Firebug Techniques in Windows XP Ho...
    - Editing CSS with Firebug in Windows XP Home
    - Using Firebug in Windows XP Home
    - Migrating to Exchange Server 2007
    - Using System Restore on a Non-Bootable PC
    - Finding Logged on Users and More Scripting S...
    - Developing Macro Commands in MS Excel





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek