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
1
vote
1 answer

How to specify implemented Service Contract dll in WCF config

My service implementation is present in Calc.dll. WCF Service is present in Svc.dll I have added contract inside endpoint tag in the WCF app.config file of Svc.dll.
meetjaydeep
  • 1,752
  • 4
  • 25
  • 39
1
vote
1 answer

WCF Configuration for Endpoint in Another Project

I have two projects in a single solution. One project, let's call it MainProject, becomes an executable. The other project, let's call it ControlsProject, contains UserControl's and is referenced (and used) within the MainProject. The…
Jason N. Gaylord
  • 7,910
  • 15
  • 56
  • 95
1
vote
2 answers

WCF Default Endpoint not found

I am creating a WCF Service. It is my first one. I am receiving the error: Could not find default endpoint element that references contract 'WCFClient.IWCFClient' in the ServiceModel client configuration section. I have tried switching…
Matt Schubert
  • 1,003
  • 1
  • 10
  • 12
1
vote
1 answer

Why do I get a design time error saying "could not find default endpoint element"?

We have a Windows Form, C#, .NET 4.5.1 application that calls a class library also in C# and 4.5.1. It's worked for years without a problem. This week when I tried to make a change I've run in to a strange error and a strange work around. I'd…
boilers222
  • 1,901
  • 7
  • 33
  • 71
1
vote
1 answer

Multiple endpoint with multiple contracts in WCF

Hi I have 2 service contracts IService1 and IService2 I want different endpoints for each service contract also I want to use only basichttpbinding. Suppose IService1 address is http://localhost:4040/MyApp/Service1.svc then I want to access…
meetjaydeep
  • 1,752
  • 4
  • 25
  • 39
1
vote
1 answer

WCF service resource cannot be found

I have a REST WCF Service that works fine on localhost but returns the below error when deploying online: The resource cannot be found. Note: My WCF service is located under the following path: https://example.com/api/v1/Service.svc I am pretty…
Rami Zebian
  • 539
  • 1
  • 5
  • 23
1
vote
2 answers

Managing WCF configuration when your service references are abstracted behind an API

I have some domain logic exposed via WCF services. Rather than explicitly writing WCF proxy calls, etc. in my MVC web application, I've wrapped the WCF service references up into their own project - MyProject.BizLogic.Endpoint - and then added a…
Dylan Beattie
  • 53,688
  • 35
  • 128
  • 197
1
vote
1 answer

"There was no endpoint listening at" issue with a IIS Hosted WCF Service consuming another web service

I have created a WCF service which is hosted in IIS and that tries to call another web service (3rd party) to return some data. When trying to connect the service fails with the following error: There was no endpoint listening at https://xxx (3rd…
Ramin Toussi
  • 97
  • 1
  • 11
1
vote
4 answers

Restrict client application to consume wcf service on only one endpoint

I have developed a wcf service having two contracts Contract1 and Contract2 exposed on two different endpoints. When i am going to add reference to my client application it allows me to consume both contracts. How i restrict client application to…
Prateek Deshpande
  • 215
  • 1
  • 5
  • 18
1
vote
1 answer

WCF service httpcfg issue

We currently have a situation where we have a WCF service which generates custom excel reports for clients. This service is hosted in a windows service and uses net.tcp bindings. We have redeveloped this service to add a http binding so ASP.NET…
Mick Walker
  • 3,862
  • 6
  • 47
  • 72
1
vote
1 answer

How to get the correct ServiceReference and its endpoint-address for a WCF-Webservice on installation

I'm facing a problem going into the installation of a project of mine. It consists of three parts, a clientside WindowsForms-application, a WCF-Webservice and a Database (SQLExpress atm). At the moment, the endpoint-address and service-reference…
Daniel
  • 578
  • 6
  • 18
1
vote
2 answers

Shape a WCF service by endpoint

I have 2 contracts (cA & cB) implemented by a single WCF service with 2 endpoints (epA & epB). This is not for security purposes, but purely for reasons of clarity/organization, I'd like to only "see" ContractA's operations when I discover the…
with
  • 306
  • 3
  • 15
1
vote
1 answer

creating the wcf service client causes a InvalidOperationException

I have 2 solutions: In solution 1 I have a web project with wcf service references. In solution 2 I have a wpf project where I start the following wcf client: When I create an instance of my wcf client: using (var client = new…
Pascal
  • 12,265
  • 25
  • 103
  • 195
1
vote
0 answers

Error using WCF Service Reference using simplified configuration

I'm building my first WCF web service using .net 4.5.1(a web site...not an application). When I test on my local machine I can add the service reference to a project and actually use the methods. No errors at all. I've configured the site using the…