When you use BizTalk Server 2004 to design an EAI or business-to-business project, creating a schema is a very important link. However, creating schemas manually often makes mistakes. The typical error is that when the input file is placed in the in folder, it disappears in the in folder but does not appear in the Out folder. If you open the log file, there will typically be two to four error messages, such as "error executing the receive pipeline when the Eevnt ID is 5719:", Event ID 5752 "The message engine has suspended a" 1 "message from the adapter" FILE "because of a message processing error. ... "and so on. In fact, if you already have an XML data stream, using BizTalk Server 2004 makes it easy to produce the correct schema that will make you exempt from the 5719 error.
The steps are as follows:
1. Save the XML data stream as an XML file, such as Mytest.xml.
2. Create or open an existing BizTalk project in Vs.net 2003 and add the Mytest.xml file to the project.
3. In Vs.net 2003, in Solution Explorer, double-click the Mytest.xml file to open the file in the XML editing view.
4. Right-click in the XML edit view and select the Create Schema menu item in the pop-up menu to create a mytest.xsd file that is the schema file we are creating.