Few days ago, I had this problem: I want to map a source schema to a destination schema, wich one of his elements has a fixed attribute (an attribute with a value in Fixed property). This element hadn't any input value and had minOccurs=0, but the mapper generates it. Here is an example:
- Source Schema
- Destination Schema
- Map
- XML Result
<ns0:Root xmlns:ns0="http://MappingError.DestinationSchema" />
<element1>
<field11>element1_0</field11>
<field12>element2_0</field12>
</element1>
<element2 fixedattribute="FixedValue"/>
<element3>
<field31>element3_0</field31>
</element3>
</ns0:root>
One solution is set for this element, an constant input value false, but my problem was that I had a lot elements with fixed attributes that mustn't be generated.
A solution for this is edit the map with notepad (because we can't edit in Visual Studio Properties Window) and set GenerateDefaultFixedNodes property to "No" (default is "Yes").
If we set this property to "No" the result XML is the correct:
<ns0:Root xmlns:ns0="http://MappingError.DestinationSchema" />
<element1>
<field11>element1_0</field11>
<field12>element2_0</field12>
</element1>
<element3>
<field31>element3_0</field31>
</element3>
</ns0:root>
Tuesday, September 25, 2007
BizTalk Server 2006 R2 trial software is available for download
Here is the link from Microsoft TechNet for download a trial version:
http://technet.microsoft.com/en-us/bb738059.aspx
http://technet.microsoft.com/en-us/bb738059.aspx
Saturday, September 08, 2007
Developing Pipelines Components Common Errors - UNC Path
When we add a pipeline component to our toolbox and we receive this error message: "You have selected an invalid pipeline component assembly. Please check security settings for the assembly if you are loading it from an UNC path.", probably our pipeline component don't find a referenced dll.
If you get this error, you must ensure that all referenced assemblies by this pipeline component are located under the same directory of our pipeline component dll or in the GAC.
If you get this error, you must ensure that all referenced assemblies by this pipeline component are located under the same directory of our pipeline component dll or in the GAC.
Thursday, September 06, 2007
BizTalk Accelerator for SWIFT 2007 Message Pack
Today, BizTalk Server Team Blog have announced the release to the web of BizTalk Accelerator for SWIFT 2007 Message Pack.
For download:
http://support.microsoft.com/kb/925731/en-us
For download:
http://support.microsoft.com/kb/925731/en-us
The Future of BizTalk
Great article from Tomas Restrepo about how BizTalk could evolve, expected improvements in new BizTalk version, the impacts of the possible changes in future migrations to new version, ...
Here is the link:
http://www.winterdom.com/weblog/2007/09/03/TheFutureOfBizTalkWCFWF.aspx
Here is the link:
http://www.winterdom.com/weblog/2007/09/03/TheFutureOfBizTalkWCFWF.aspx
Subscribe to:
Posts (Atom)