Top "Wcf-client" questions

For questions about Windows Communication Foundation (WCF) clients.

How to programmatically connect a client to a WCF service?

I'm trying to connect an application (the client) to an exposed WCF service, but not through the application configuration file, …

c# wcf wcf-binding wcf-client
WCF change endpoint address at runtime

I have my first WCF example working. I have the host on a website which have many bindings. Because of …

c# wcf wcf-binding wcf-client
What is the best workaround for the WCF client `using` block issue?

I like instantiating my WCF service clients within a using block as it's pretty much the standard way to use …

c# vb.net wcf using wcf-client
How to make sure you don't get WCF Faulted state exception?

I am getting this exception: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is …

wcf exception wcf-client
Error consuming webservice, content type "application/xop+xml" does not match expected type "text/xml"

I'm having a weird issue when consuming a webservice for a product that my company has bought. The product is …

c# .net webservice-client wcf-client
The server was unable to process the request due to an internal error. in WCF error

I have written my service in framework 4.0 using C#. It's an simple method which returns a value The Web.config …

wcf wcf-client
How to consume WCF web service through URL at run time?

I want to access all the methods exposed in the service through the URL. if suppose the URL will be : …

wcf wcf-binding wcf-client
WCF client endpoint: SecurityNegotiationException without <dns>

I'm having a strange situation here. I got it working, but I don't understand why. Situation is as follows: There …

wcf configuration dns wcf-security wcf-client
How to add custom soap headers in wcf?

Can I add Custom SOAP header in WCF incoming/outgoing messages in basicHttpBinding, like we can add custom authentication header …

wcf wcf-client