Hi Tom,
Thanks for replying so soon.
I wan't aware of the RequireXmlPreprocessDirectives, previously I'd always included the ifdef comments. I do like the ability to turn this off since it makes the btdfproj easier to read / maintain, so I have now set the value of this property to false.
I have found that when I give the PortBindingsMaster.xml TransportTypeData\CustomProps elements a <Password vt="8" >${OracleDWPassword}</Password> element then the resulting bindings fail to import with, with BTSTask raising the error "Invalid or malformed XML data". However, if I change <Password vt="8" >${OracleDWPassword}</Password> to <random vt="8" >${OracleDWPassword}</random> then the bindings file is imported ok but obviously my password doesn't make its way in.
Here's the section from my PortBindingsMaster:
Thanks for replying so soon.
I wan't aware of the RequireXmlPreprocessDirectives, previously I'd always included the ifdef comments. I do like the ability to turn this off since it makes the btdfproj easier to read / maintain, so I have now set the value of this property to false.
I have found that when I give the PortBindingsMaster.xml TransportTypeData\CustomProps elements a <Password vt="8" >${OracleDWPassword}</Password> element then the resulting bindings fail to import with, with BTSTask raising the error "Invalid or malformed XML data". However, if I change <Password vt="8" >${OracleDWPassword}</Password> to <random vt="8" >${OracleDWPassword}</random> then the bindings file is imported ok but obviously my password doesn't make its way in.
Here's the section from my PortBindingsMaster:
<UserName vt="8" >${OracleDWUsername}</UserName>
<Password vt="8" >${OracleDWPassword}</Password>
Here's the resulting content from PortBindings.xml:<UserName vt="8">USER_DWDEV</UserName>
<Password vt="8">dwdev</Password>
Here's an extract from the output window:Checking syntax of XML file 'c:\Workspaces\BTS.GO.FactFeeds\BTS.GO.FactFeeds.Deployment\PortBindingsMaster.xml'...
Syntax of XML file 'c:\Workspaces\BTS.GO.FactFeeds\BTS.GO.FactFeeds.Deployment\PortBindingsMaster.xml' appears to be valid.
Clearing file attributes for 'PortBindings.xml'.
"C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\xmlpreprocess.exe" /v /c /noDirectives /i:"c:\Workspaces\BTS.GO.FactFeeds\BTS.GO.FactFeeds.Deployment\PortBindingsMaster.xml" /o:"c:\Workspaces\BTS.GO.FactFeeds\BTS.GO.FactFeeds.Deployment\PortBindings.xml" /d:CurDir="c:\Workspaces\BTS.GO.FactFeeds" /s:"c:\Workspaces\BTS.GO.FactFeeds\BTS.GO.FactFeeds.Deployment\EnvironmentSettings\Exported_LocalSettings.xml"
XmlPreprocess v2.0.18.0
Copyright (c) 2004-2013 Loren M Halvorson
XML File Preprocessor
Settings XML file: "c:\Workspaces\BTS.GO.FactFeeds\BTS.GO.FactFeeds.Deployment\EnvironmentSettings\Exported_LocalSettings.xml"
Preprocessing "c:\Workspaces\BTS.GO.FactFeeds\BTS.GO.FactFeeds.Deployment\PortBindingsMaster.xml" to "c:\Workspaces\BTS.GO.FactFeeds\BTS.GO.FactFeeds.Deployment\PortBindings.xml"...
PortBindings.xml : Set the value 'GO.FactFeeds' of 5 node(s) matching XPath '//ApplicationName'.
"C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\ElementTunnel.exe" /i:"c:\Workspaces\BTS.GO.FactFeeds\BTS.GO.FactFeeds.Deployment\PortBindings.xml" /o:"c:\Workspaces\BTS.GO.FactFeeds\BTS.GO.FactFeeds.Deployment\PortBindings.xml" /x:"C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\adapterXPaths.txt" /encode+
Nested XML Encoder/Decoder v5.5.100.0
Copyright (C) 2005-2014 Scott Colestock, Tim Rayburn, Thomas F. Abraham
XML encodes/decodes content of element(s) by XPath. Applies escaping rules such
as > for '<'. Namespace decls, PIs, etc. of nested XML are not preserved.
XPaths : 18
Transformed Nodes : 23
Empty Nodes (skipped) : 11
No Transform Req'd (skipped) : 0
Total Matched Nodes : 34
Complete - output file has been saved.
Checking syntax of XML file 'c:\Workspaces\BTS.GO.FactFeeds\BTS.GO.FactFeeds.Deployment\PortBindings.xml'...
Syntax of XML file 'c:\Workspaces\BTS.GO.FactFeeds\BTS.GO.FactFeeds.Deployment\PortBindings.xml' appears to be valid.