[Mono-list] DuplexChannelFactory and NetTcpBinding

Ask Stenum ask.stenum at gmail.com
Fri Nov 6 10:38:26 EST 2009


I've been trying to subscribe to a WCF service with a mono client by using a
DuplexChannelFactory to create a channel with a NetTcpBinding. Here's that
part of my code:

  NetTcpBinding binding = new NetTcpBinding(SecurityMode.None, false);
  DuplexChannelFactory<ITestService> cf = new
            new TestInstance(), binding, "net.tcp://URL/");
  ITestService channel = cf.CreateChannel();

where the TestInstance class includes a method void ReceiveStuff(string
The method invocation from the client to the service works without problems,
when I try to call the callback method (ReceiveStuff), the service hangs at
the call. Looking at the packets comming in, I can see the data is received,
but it doesn't ever invoke the TestInstance's method.

I know the System.ServiceModel is far from being done, but it seems that
this part of it should work correctly. Does anyone have an idea of what I
could try to make this work?

Ask Stenum
View this message in context: http://old.nabble.com/DuplexChannelFactory-and-NetTcpBinding-tp26230805p26230805.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list