02-13-06 11:01 PM
This is a general question about the "PropertySchema.xsd" document in BizTal
k
Server 2006. I've noticed that no matter how many elements I promote using
Quick Promotion, the PropertySchema document that is generated always has an
element named "Property1".
For example, I created a schema document with a single root element and a
single child field element. I named the child field element "ConfigFile".
When I right-clicked on the child field element and clicked "Quick Promotion
"
the following PropertySchema.xsd document was created:
Code:
<?xml version="1.0" encoding="utf-16"?>
<xs:schema xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
xmlns="http://ETLOrchestration.PropertySchema.PropertySchema"
targetNamespace="http://ETLOrchestration.PropertySchema.PropertySchema"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:appinfo>
<b:schemaInfo schema_type="property"
xmlns:b="http://schemas.microsoft.com/BizTalk/2003" />
</xs:appinfo>
</xs:annotation>
<xs:element name="Property1" type="xs:string">
<xs:annotation>
<xs:appinfo>
<b:fieldInfo propertyGuid="96a7e416-0499-47a4-b6dc-9f8ab2f6d50f" />
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="ConfigFile" type="xs:string">
<xs:annotation>
<xs:appinfo>
<b:fieldInfo propertyGuid="1967c57e-10a9-416f-8260-44e8c00e500a" />
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:schema>
I want to understand how BizTalk works, so could someone explain why this
Property1 element appears along with the element I created? Is this a bug?
How do I specify a value for the property I created?
When I click "Generate Instance" this is what I see:
Code:
<ns0:Property1
xmlns:ns0="http://ETLOrchestration.PropertySchema.PropertySchema">Property1_
0</ns0:Property1>
If I want to specify a value for "ConfigFile" do I have to add another line
like this?
Code:
<ns1:ConfigFile
xmlns:ns1="http://ETLOrchestration.PropertySchema.PropertySchema">ConfigFile
_0</ns1:ConfigFile>
Any help the community could give me is greatly appreciated.
[ Post a follow-up to this message ]
|