For questions about Windows Communication Foundation (WCF) clients.
Questions tagged [wcf-client]
757 questions
7
votes
4 answers
WCF Windows Service. Can connect locally, but not remotely
I spent two days trying to figure this out and I am stumped. I have a WCF servers running as a service on Windows. A client can connect to it on the same machine, but as soon as I move try to connect to the service from another machine I cant.
So…

nitefrog
- 1,760
- 6
- 31
- 59
7
votes
4 answers
WCF - There was no endpoint listening at net.tcp://..../Querier.svc that could accept the message
WCF - There was no endpoint listening at net.tcp://myserver:9000/SearchQueryService/Querier.svc that could accept the message.
I have the net.tcp protocol enabled on the IIS application
Windows firewall is off
The net.tcp binding is set to port…

Matt
- 25,943
- 66
- 198
- 303
7
votes
2 answers
WCF Client how can I deserialize an incompatible date format from the JSON response?
I have scoured the Net for info on this, but most of the results are about creating WCF services or situations where the service is under your control.
I am building a WCF client proxy for a RESTful JSON service which is out of my control. I am…

Jordan Morris
- 2,101
- 2
- 24
- 41
7
votes
3 answers
ChannelFactory.Open VS IClientChannel.Open
I am trying to get a better understanding of some of the inner workings of WCF. I have done a fair amount of looking around, but I have not been able to find a clear explanation of what ChannelFactory.Open() does compared to IClientChannel.Open(). …

Trey Combs
- 710
- 5
- 10
7
votes
4 answers
WCF service client application getting "Object not set to an instance of an object"
just deployed my WCF service on a server here at my company using IIS 7.5 and everything seems to work fine. But when i set up my client application and add a server reference to the server and then use this code .
ServerReference.ServiceClient…

user1279173
- 119
- 1
- 1
- 9
6
votes
1 answer
Exception: The client certificate is not provided
I am trying to configure WCF service with security. I have generated 2 certificates (for server and client side) stored in LocalComputer\Personal Certificates. My configuration is:
Server:
…

vajanko
- 329
- 1
- 2
- 9
6
votes
2 answers
How does Node.js work from a network / TCP / HTTP connection perspective? Can WCF emulate this?
My understanding is that node.js is a python app that is geared towards the Linux world. Everyone seems to be quite happy with it's speed and ability to handle many concurrent connections.
I'm coming from a Microsoft background and think node.js…

makerofthings7
- 60,103
- 53
- 215
- 448
6
votes
3 answers
How to add attribute to WCF message header with MessageHeader.CreateHeader() method?
I am adding a WCF custom header with the following code
MessageHeader header = MessageHeader.CreateHeader("Key", "ns", "Value");
OperationContext.Current.OutgoingMessageHeaders.Add(header);
With this I also want to add
…

Tanaji Kamble
- 353
- 1
- 3
- 17
6
votes
3 answers
WCF Timeout issue?
I have a somewhat long-taking WCF-based process. WCF service runs in Azure if its of any help. The issue I believe has to do with timeouts:
1) Winforms client has the following .config setting in the binding section:

Igorek
- 15,716
- 3
- 54
- 92
6
votes
1 answer
.NET Web Service (asmx) Timeout Problem
I'm connecting to a vendor-supplied web ASMX service and sending a set of data over the wire. My first attempt hit the 1 minute timeout that Visual Studio throws in by default in the app.config file when you add a service reference to a project. I…

James Orr
- 5,005
- 7
- 39
- 63
6
votes
2 answers
How to handle incorrect SOAP fault in WCF?
I have to consume to a third-party web service using SOAP. It was easy to get it to work with WCF, but now I have a problem with SOAP faults. The service sends me an incorrect SOAP fault:

chris166
- 4,769
- 4
- 24
- 25
6
votes
1 answer
What happens when a WCF client specifies multiple endpoints for the same contract?
Will it consume from all of them?
Will it throw an exception?

Jader Dias
- 88,211
- 155
- 421
- 625
6
votes
2 answers
How to ensure that the WCF ChannelFactory uses Binding settings in xml configuration (MaxArrayLength is ignored)
How to ensure that the WCF ChannelFactory uses Binding settings in xml configuration (MaxArrayLength is ignored)
Hi, I am new to Wcf and and writing my first Wcf service and client. I prefer not to use
tools to generate config; I would rather write…

Plastikfan
- 3,674
- 7
- 39
- 54
6
votes
3 answers
What is the proper life-cycle of a WCF service client proxy in Silverlight 3?
I'm finding mixed answers to my question out in the web. To elaborate on the question:
Should I instantiate a service client proxy once per asynchronous invocation, or once per Silverlight app?
Should I close the service client proxy explicitly…

Trinition
- 1,153
- 2
- 15
- 25