To create a new schema
In Solution Explorer, select the BizTalk project to which you want to add a schema.
On the Project menu, click Add New Item.
In the Add New Item – <ProjectName> dialog box,
in the Templates section, click Schema.
In the Name box, type a name for the schema, and then click Add.
If necessary, press F4 to open the Visual Studio Properties window.
In the schema tree view, select the Schema node, and then in the Properties window, select the Target Namespace property and type a name for the target namespace. It is important that you set this property in this initial phase of schema creation; avoid using the default Target Namespace property value.
Schema from a non-XSD source
In Solution Explorer, right-click a BizTalk project, point to Add, and then click Add Generated Items.
In the Add Generated Items – <BizTalk ProjectName> dialog box, in the Templates section, click Generate Schemas, and then click Add.In the Generate Schemas dialog box, in the Document type drop-down list, select XDR Schema, DTD Schema, or Well-Formed XML.
If you see either DTD (Not Loaded) or Well-Formed XML (Not Loaded) in the drop-down list, select the appropriate document type anyway, and you will be guided through the process of installing the missing DLL. Then repeat these steps.
In the Generate Schemas dialog box, click Browse, locate the file you want to import, and then click Open. The file you locate must match the document type you selected in the previous step.
A new schema is generated from the specified file, using the same name as that file with the .xsd extension, and opened in BizTalk Editor.
!! Keep visiting BizTalkLive !!
!! Keep visiting BizTalkLive !!
Comments
Post a Comment
Please write comment only that belongs to this blog