none
The header 'OleTxTransaction' not understood by the recipient (BizTalk R2 Beta 2) RRS feed

  • Question

  • When a send port, configured with the WCF-NetTcp binding has Enable transactions set to true, with the Transaction protocol set to OleTransactions and called the WCF service is annotaed with attributes below:

     

    Code Snippet

    [OperationBehavior(TransactionScopeRequired=true, TransactionAutoComplete=true)]

    [TransactionFlow(TransactionFlowOption.Allowed)]

    void IFirstContract.OperationA(Order order)

    {

     

    }

     

     

    BizTalk generates the following exception:

     

    The header 'OleTxTransaction' from the namespace 'http://schemas.microsoft.com/ws/2006/02/tx/oletx' was not understood by the recipient of this message, causing the message to not be processed.  This error typically indicates that the sender of this message has enabled a communication protocol that the receiver cannot process.  Please ensure that the configuration of the client's binding is consistent with the service's binding.

     

    Is this something that I've missed, not set or configured correctly or just a limitation of the current R2 Beta 2 release?

     

    Note: when the send port has Enable transactions unchecked, the service receives the data and no exception occurs.

     

    Thanks

     

    BenW

    Friday, August 3, 2007 5:09 PM

Answers

  •  

    Hi,

    What's the binding configuration on your service?  Make sure that it matches that of the send port, e.g check that the TransactionProtocol is set to OleTransactions in your service.

     

    thanks,

    Sarathy

    Saturday, August 18, 2007 9:16 PM