Well, I just had a quick look at the code and that exception should actually be the least of your problems ;-)
The real problem is that WSDualHttpBinding is not yet supported in Mono.
CreateBindingElements()
is an important abstract method in System.ServiceModel.Channels.Binding
which must be implemented by a binding.
mcs/class/System.ServiceModel/System.ServiceModel/WSDualHttpBinding.cs
has last been changed in 2008 and it's simply throwing a NotImplementedException
:
I must admit that I also haven't used WSDualHttpBinding on Windows before, so I don't know which binding elements it is using (and whether they're already implemented in Mono). These binding elements provide the core functionality, so it's hard to say how long it would take to implement this binding.