WCF Error : Only WS-ReliableMessaging messages are processed by this endpoint

Damir Dobric Posts

Next talks:

 

    

Follow me on Twitter: #ddobric



 

 

Archives

This error occurs, when the target service is configured for reliable messaging and the client not.

To configure the service or client for enabling of reliable message two approaches can be used: Programmatically or by using of configuration. Following code snippets show how to do that:

 

Programattically:

((WSHttpBinding)sh.Description.Endpoints[0].Binding).ReliableSession.Enabled = true;

((WSHttpBinding)sh.Description.Endpoints[0].Binding).ReliableSession.InactivityTimeout = TimeSpan.FromSeconds(10);

((WSHttpBinding)sh.Description.Endpoints[0].Binding).ReliableSession.Ordered = true;

 

By using of configuration:

  <reliableSession enabled="true" ordered=”true” incactivityTimeout="00:00:10"></reliableSession>

 


Posted Oct 19 2006, 03:19 PM by Damir Dobric
Filed under:

Comments

Grant wrote re: WCF Error : Only WS-ReliableMessaging messages are processed by this endpoint
on 07-11-2007 19:46

Thanks!  This helped a lot!

Drew wrote re: WCF Error : Only WS-ReliableMessaging messages are processed by this endpoint
on 10-24-2007 16:26

Thank you.  Saved my head from some bruises :)

developers.de is a .Net Community Blog powered by daenet GmbH.