BTDF is superb but I've started to use the Oracle adapter for the first time (BTS 2013 project) and I've hit a problem.
An extract from my PortBindingsMaster.xml:
<PrimaryTransport>
<PrimaryTransport>
Maybe someone else has managed to get this to work with the Oracle WCF adapter?
Thanks,
Rob.
An extract from my PortBindingsMaster.xml:
<PrimaryTransport>
<!-- ifdef ${_xml_preprocess} -->
<!--<Address>${OracleDWAddress}</Address>-->
<!-- endif -->
<TransportType Name="WCF-Custom" Capabilities="907" ConfigurationClsid="af081f69-38ca-4d5b-87df-f0344b12557a" />
<TransportTypeData>
<CustomProps>
<BindingType vt="8">oracleDBBinding</BindingType>
<BindingConfiguration vt="8">
<binding name="oracleDBBinding" useAmbientTransaction="false" enableBizTalkCompatibilityMode="true" />
</BindingConfiguration>
<InboundBodyPathExpression vt="8" />
<OutboundBodyLocation vt="8">UseBodyElement</OutboundBodyLocation>
<AffiliateApplicationName vt="8" />
<StaticAction vt="8">
<BtsActionMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!-- ifdef ${_xml_preprocess} -->
<!-- <Operation Name="${OracleSelectOperationName}" Action="${OracleDWFootfallSelectAction}" /> -->
<!-- endif -->
</BtsActionMapping>
</StaticAction>
<ProxyUserName vt="8" />
<ProxyAddress vt="8" />
<!-- ifdef ${_xml_preprocess} -->
<!--<UserName>${OracleDWUsername}</UserName>-->
<!--<Password>${OracleDWPassword}</Password>-->
<!-- endif -->
<InboundBodyLocation vt="8">UseBodyElement</InboundBodyLocation>
<EndpointBehaviorConfiguration vt="8">
<behavior name="EndpointBehavior" />
</EndpointBehaviorConfiguration>
<OutboundXmlTemplate vt="8">
<bts-msg-body xmlns="http://www.microsoft.com/schemas/bts2007" encoding="xml" />
</OutboundXmlTemplate>
<PropagateFaultMessage vt="11">-1</PropagateFaultMessage>
<InboundNodeEncoding vt="8">Xml</InboundNodeEncoding>
<Password vt="1" />
<IsolationLevel vt="8">Serializable</IsolationLevel>
<UseSSO vt="11">0</UseSSO>
<EnableTransaction vt="11">-1</EnableTransaction>
</CustomProps>
</TransportTypeData>
What appears in ProtBindings.xml:<PrimaryTransport>
<Address>oracledb://test_godw_lincoln/</Address>
<TransportType Name="WCF-Custom" Capabilities="907" ConfigurationClsid="af081f69-38ca-4d5b-87df-f0344b12557a" />
<TransportTypeData><CustomProps>
<BindingType vt="8">oracleDBBinding</BindingType>
<BindingConfiguration vt="8">&lt;binding name="oracleDBBinding" useAmbientTransaction="false" enableBizTalkCompatibilityMode="true" /&gt;</BindingConfiguration>
<InboundBodyPathExpression vt="8" />
<OutboundBodyLocation vt="8">UseBodyElement</OutboundBodyLocation>
<AffiliateApplicationName vt="8" />
<StaticAction vt="8">&lt;BtsActionMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
&lt;Operation Name="Select" Action="http://Microsoft.LobServices.OracleDB/2007/03/USER_DWDEV/Table/DW_FOOTFALL/Select" /&gt;
&lt;/BtsActionMapping&gt;</StaticAction>
<ProxyUserName vt="8" />
<ProxyAddress vt="8" />
<!-- ifdef ${_xml_preprocess} -->
<!--<UserName>${OracleDWUsername}</UserName>-->
<!--<Password>${OracleDWPassword}</Password>-->
<!-- endif -->
<InboundBodyLocation vt="8">UseBodyElement</InboundBodyLocation>
<EndpointBehaviorConfiguration vt="8">&lt;behavior name="EndpointBehavior" /&gt;</EndpointBehaviorConfiguration>
<OutboundXmlTemplate vt="8">&lt;bts-msg-body xmlns="http://www.microsoft.com/schemas/bts2007" encoding="xml" /&gt;</OutboundXmlTemplate>
<PropagateFaultMessage vt="11">-1</PropagateFaultMessage>
<InboundNodeEncoding vt="8">Xml</InboundNodeEncoding>
<Password vt="1" />
<IsolationLevel vt="8">Serializable</IsolationLevel>
<UseSSO vt="11">0</UseSSO>
<EnableTransaction vt="11">-1</EnableTransaction>
</CustomProps></TransportTypeData>
As you can see, the BTDF has correctly substituted the <Address> element but hasn't attempted substitution within the <StaticAction> or <UserName> or <Password> element.Maybe someone else has managed to get this to work with the Oracle WCF adapter?
Thanks,
Rob.