I have WCF service. Here is configuration
The polling duplex HTTP binding is only supported by Silverlight clients. Since you're using svcutil
to generate the reference, I assume you're building a "normal" (i.e., non-SL) client for the server, so that won't work.
If you want to use a duplex binding on a non-Silverlight application, you can take a look at either the wsDualHttpBinding
or netTcpBinding
.
I've solved that. Empty reference was due to some problems with ambiguous types. When I fixed it, reference.cs file generated well.
So, solution is to look not only at errors, but at warnings too. I have found there all information what I need for my problem. Happy codding