Transactions WCF NetTcp Exception
I have a Receive Location using WCF-NetTcp binding, and Trnsactionas enabled (Ole). The Receive handler is the BizTalkServerApplication. There is also a Receive Port oy type One-Way for this Receive Location.
Generated a client from the published metadata, which sends several messages within one transactions to the Receive Location. Code looks like this:
Service1Client
client =newService1Client();using (TransactionScope scope =newTransactionScope()){
for (int i = 0; i < 5; i++){
Order o =newOrder();o.One = i;
o.Two =
DateTime.Now.ToString();client.Operation1(o);
}
scope.Complete();}
client.Close();
in the client config binding section the following are set:
transactionFlow
="true"<
reliableSessionordered="true"inactivityTimeout="00:10:00"enabled="true" />However when calling the service the following exception is raised:
The remote endpoint has sent an unrecognized fault with namespace,http://www.w3.org/2003/05/soap-envelope, name Sender, and reason The service operation requires a transaction to be flowed.. The channel could not be opened.
Have I missed something... a setting perhaps?
Cheers

