wcf-binding

WCF service with two binding types for two different clients.

How can I expose a WCF service so that one client using wsHttp bindings and another client using netTcp bindings can both use the service? ...

WCF wsHttp binding, for clientCredentialType should I use Basic or Windows?

Hello, I have several WCF wsHttp services using Transport security over an SSL connection. Presently I use "Windows" for the clientCredentialType and all has worked fine with exception of one scenario where my e-commerce site (its own SSL) had a problem communicating with the other server via SSL and I had to create a separate service ...

Consume a wcf duplex service in console application

I have a wcf duplex service with work fine in silverlight. but the same service I want to consume in windows console application. My code as follow: var context = new InstanceContext(this); var address = new EndpointAddress("http://localhost:31881/PubSubService.svc"); var binding = new CustomBinding( new Pollin...

Why is my WCF Service not loading my Binding config?

I have the problem with the following error: "The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element." So I did some research and found that I needed to increase the buffer and message size, here's my WCF Service c...

How to call WCF service from .NET class library

I have a WCF web service built in .NET 4.0 that is configured to require a username/password on each call and uses a Server certificate in the behaviour to encrypt the request. It currently uses wsHttpBinding. I have a .NET 4 utility app that lets me call the methods on this WCF web service just fine. I need to call this service from a ...