Questions tagged [wcf-endpoint]

A WCF endpoint is the name given to the combination of address, contract, and binding associated to a Windows Communication Foundation service.

A WCF endpoint is what a Windows Communication Foundation () service exposes. All communication with a WCF service occurs through the endpoints of the service. Endpoints provide clients access to the functionality that a WCF service offers.

Each endpoint contains:

  • An address that indicates where to find the endpoint.
  • A binding that specifies how a client can communicate with the endpoint. It dictates the transformations that are applied as well as the shape of the messages sent to the implementation of the Contract at the Address.
  • A contract that identifies the methods available.

Endpoint is the name given to the fusion of address, contract, and binding.

Resources:

MSDN definition for "Windows Communication Foundation Endpoints"

158 questions
94
votes
17 answers

Service has zero application (non-infrastructure) endpoints

I recently created a WCF service (dll) and a service host (exe). I know my WCF service is working correctly since I am able to successfully add the service to WcfTestClient. However, I seem to be running into an issue when I comes to utlizing my…
user280626
  • 971
  • 1
  • 7
  • 5
92
votes
24 answers

This could be due to the service endpoint binding not using the HTTP protocol

I have a WCF Service running fine on my local machine. I put it on the servers, and I am receiving the following error: An error occurred while receiving the HTTP response to http://xx.xx.x.xx:8200/Services/WCFClient.svc. This could be due to…
Matt Schubert
  • 1,003
  • 1
  • 10
  • 12
14
votes
2 answers

Determine which wcf endpoint is being used on the server

I have a wcf service thats exposing a service using two endpoints. One endpoint is used for web service calls while the other is using rest. Is there a way to determine from which endpoint the server functions are being called?
Marcom
  • 4,621
  • 8
  • 54
  • 78
11
votes
3 answers

How to add maxItemsInObjectGraph programmatically without using configuration file?

I have create a EndpointAddress like that EndpointAddress address = new EndpointAddress("http://example.com/services/OrderService.svc"); But I could not add the Behavior to this Endpoint programmatically. The behavior is given below.:
9
votes
5 answers

WCF is using the computer name instead of the IP address and cannot be resolved

I have a WCF service that works fine on the LAN but when trying to access it from outside the service reference fails. My WCF service is hosted on a win2k3 box that is using a static IP no domain.
baileyswalk
  • 1,198
  • 2
  • 17
  • 29
7
votes
1 answer

Overriding config file WCF Base Addresses in code

I have a WCF Windows service with an endpoint specified in the config file for the service. All works ok. However, in some cases port 9000 might already…
Mark D Jackson
  • 623
  • 1
  • 8
  • 15
7
votes
1 answer

WCF Endpoint Configuration Error: The 'contract' attribute is invalid?

I have a WCF service let's call it UserService. The UserService has a reference to a class library. Let's call it DoWork.dll. The DoWork.dll has a WCF service reference to a different service we'll call CompanyService. Now, when I first tried…
BBauer42
  • 3,549
  • 10
  • 44
  • 81
7
votes
4 answers

WCF - let the client choose the return format

I'm trying to learn some WCF on my own. I have C#/ASP.net knowledge but I am new to WCF. I am using Visual Studio 2010 to develop some apps while I learn. I developed a small web service which acts as the backend for a TODO/Task manager where a…
Morat
  • 503
  • 1
  • 5
  • 13
7
votes
1 answer

Using Castle Windsor WcfFacility to create client endpoints

I have created three assemblies. A web site, a WCF service and a contracts assembly that holds the interfaces that the services implement. I would like to use Castle Windsor to create the services for me on the client (website) so that I do not have…
Aran Mulholland
  • 23,555
  • 29
  • 141
  • 228
6
votes
6 answers

"Configuring Services with Endpoints" Demo Fails For Me (Microsoft/endpoint.tv/Pluralsight)

I'm trying to follow along with the demo videos on the beginners to WCF page on MSDN. The first video worked more or less fine. I'm now towards the end of the second video. I am using VS2010 / .NET 4.0, whereas the video seems to be using VS2008…
bambams
  • 745
  • 1
  • 8
  • 18
6
votes
3 answers

WCF Endpoint Error: Could not find default endpoint element

So here is my problem. I have a client that is utilized within a service, and when I test said service using the built-in test host in Visual studio, all of the service contracts are available. But, when I try to test one of the service contracts,…
MuffinTheKid
  • 103
  • 1
  • 2
  • 10
6
votes
2 answers

Client endpoint configuration '*' was not found in 1 Endpoints, WCF, Mono

Hej guys, i'm trying to access a webservice hosted on a virtual machine (Windows 7) from my Ubuntu Host using Mono. I can import the wdsl file and generate the service reference. I copied the App.config from an other working client accessing the…
Sebastian
  • 1,873
  • 4
  • 25
  • 57
5
votes
1 answer

Single endpoint with multiple service contracts

How can I write a WCF web service that has single endpoint but multiple service contract? Example: [ServiceContract] public interface IWirelessService { [OperationContract] void AddWireless(); } [ServiceContract] public interface…
svlytns
  • 83
  • 1
  • 8
5
votes
2 answers

WCF Multiple Endpoints and IServices

I am just trying to get to grips with using WCF, and I am wandering if someone could tell me if I have the right idea with endpoints. I have been working through the videos on msdn, and now I am wandering about the way to configure WCF Service. The…
Heinrich
  • 2,144
  • 3
  • 23
  • 39
5
votes
1 answer

Possible to have same contract, same binding, same address, but different ports?

I have handhelds that need to communicate via basicHTTPBinding. I have a contract and everything works as advertised. I need to expand it to easily support changing to a test environment, training and of course production. I took the port route,…
DiverKas
  • 53
  • 1
  • 4
1
2 3
10 11