5,666,979 members and growing! (16,705 online)
Email Password   helpLost your password?
Enterprise Systems » Microsoft BizTalk Server » General     Intermediate

HOW TO Auto-generate schemas using Well-formed XML documents and DTD documents in Biztalk

By Naveen Karamchetti

An article on auto generating schemas using Well-formed XML documents and DTD documents in Biztalk.
C# 2.0, C#, Windows, .NET, .NET 1.1VS.NET2003, Visual Studio, Dev

Posted: 3 Dec 2006
Updated: 3 Dec 2006
Views: 9,575
Bookmarked: 8 times
Announcements
Loading...



Search    
Advanced Search
Sitemap
3 votes for this Article.
Popularity: 1.55 Rating: 3.25 out of 5
1 vote, 33.3%
1
1 vote, 33.3%
2
0 votes, 0.0%
3
0 votes, 0.0%
4
1 vote, 33.3%
5
Note: This is an unedited contribution. If this article is inappropriate, needs attention or copies someone else's work without reference then please Report This Article

Introduction - First things First!

Sometimes in life, it is necessary to make common tasks easier, for eg. generating schemas from already existing XML documents. For instance we might receive a XML document from a client and then we would need to make some changes to it and create messages within an Orchestration. This article shows a quick demo on how to create a schema from an existing XML document.

Step 1: Configuring BizTalk to process Valid-XML and DTD documents

Step 1 : Navigate to the folder shown in the screen shot shown...

C:\Program Files\Microsoft BizTalk Server 2004\SDK\Utilities\Schema Generator

Execute the vbs scripts from the command-line window. This will enable the processing of DTD documents and valid XML documents.

  1. InstallDTD.vbs - for generating schemas from DTD documents.
  2. InstallWFX.bs – for generating schemas from Well-formed XML documents.

NOTE: This is a one time operation, this step need not be performed everytime.

Step 2: Using the "Add Generated Items" wizard

Right-click on the Project and select Add -> Add Generated items. In the dialog box that appears, select “Generate Schemas” list item.

Menu Items

Step 3: Document type selection

Select the document type from the Drop down list and specify the location of the file as shown in the screen below.

Wizard

Quick Takeaways

  1. Using the Schemas Generator wizard is both accurate and efficient way to develop schemas.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Naveen Karamchetti


Naveen Karamchetti has done his Masters (M.S.) in Software Engineering from B.I.T.S, Pilani and is based out of Fremont, CA.
The author has more than 8.5 yrs of experience in the IT industry, has started his career
starting from the good old days of using a Unix, Tcl/tk. The author has been associated with
several companies based out of Silicon Valley, California.

The author has won several programming awards within the organizations worked and is well-recognized. The author has also worked for Microsoft based at Redmond.

Hobbies include training, mentoring and research. Spends his free time travelling in the BART (Bay Area Rapid Transit) in Fremont, CA.
Occupation: Software Developer (Senior)
Location: United States United States

Other popular Microsoft BizTalk Server articles:

Article Top
Sign Up to vote for this article
You must Sign In to use this message board.
FAQ FAQ Noise ToleranceSearch Search Messages 
 Layout  Per page   
  (Refresh) 
-- There are no messages in this forum --

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 3 Dec 2006
Editor:
Copyright 2006 by Naveen Karamchetti
Everything else Copyright © CodeProject, 1999-2008
Web19 | Advertise on the Code Project