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 pass information fetched from message header in DispatchMessageInspector to ServiceContract?

I am trying to pass user information from controller to service layer. IClientMessageInspectors and IDispatchMessageInspectors seem to be the most likely solution. After going through Building an HTTP User Agent Message Inspector and Writing a…
Arnab Chakraborty
  • 7,442
  • 9
  • 46
  • 69
1
vote
2 answers

Customized message for endpoints not found in WCF Rest Service

I am using WCF to create a ReSTful service. Say my OperationContract is like this: [OperationContract] [WebGet( ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped, UriTemplate = "GetItemList/{token}/{value}" )] Stream…
Vipin Menon T P
  • 83
  • 1
  • 3
  • 14
1
vote
1 answer

There is no endpoint listening error when a WCF service is hosted on IIS

I have a MVC page which consumes a WebService over SSL. The certificate is installed and when the application is running its able to detect the certificate. The problem is this codes works perfectly fine in my local machine while i try to call the…
Aditya
  • 173
  • 1
  • 3
  • 12
1
vote
2 answers

Unable to resolve WCF webservice hosted at appharbor

I am trying to host a WCF webservice at appharbor.com The service is responding as expected when hosted locally, but when build and hosted at appharbor, it only returns 404. The service is running in a console application: namespace Service.Host { …
AndreasPK
  • 643
  • 5
  • 7
0
votes
2 answers

How to use WCF to make a computer "call home"?

I am architecting a solution that will use WCF to make all the computers in my organization periodically "call home". Let's suppose for the sake of discussion that each computer in my organization has a weather sensor connected to it. The purpose…
Vivian River
  • 31,198
  • 62
  • 198
  • 313
0
votes
2 answers

WCF RIA gives EndpointNotFoundException in Azure when accessing with WP7

I've been fighting a problem with a WCF RIA Domainservice the whole day long. I'm writing a WCF RIA Service Library, which is deployed on Windows Azure. I access it via a Silverlight and a Windows Phone 7 Client. I have two ASP.NET-Projects as two…
Torsten
  • 1,696
  • 2
  • 21
  • 42
0
votes
1 answer

Geting net.tcp not supported when adding service reference

i have hosted my WCF service in IIS and have following endpoints configured
Nitin Bourai
  • 430
  • 7
  • 20
0
votes
2 answers

Advantages of multiple endpoints in WCF service

I am new to WCF. Please tell me what is advantage of creating multiple endpoints to a wcf web service? Also can you please help me with an example that how to host such service in IIS and how a wcf client will connect to exact endpoint…
Prateek Deshpande
  • 215
  • 1
  • 5
  • 18
0
votes
1 answer

Nested WCF Service Call does not work?

I have a number of WCF Services which are called for a certain function from an ASP.NET MVC application. The MVC app calls Contract-Service (WCF Service) Contract-Service during its processing calls Contract-Buy-Service…
0
votes
3 answers

wcf service endpoint null

I have this App.config in my wcf service library:
Saint
  • 5,397
  • 22
  • 63
  • 107
0
votes
0 answers

Accessing BasicHttpBinding endpoint fails with System.ServiceModel.Security.SecurityAccessDeniedException: 'Access is denied.'

I have a WCF service exposing basic HTTP binding and HTTPS binding (with federation). The client app can access the service with HTTPS, but the basic HTTP endpoint method access started giving "Access…
0
votes
1 answer

The provided URI scheme 'http' is invalid; expected 'https'. Parameter name

i went through some previous questions, but i think am missing somewhere, As WCF is totally new for me. web.config in WCF service application
user8435866
0
votes
1 answer

Change WSDL for WCF Service based on an environment

I've WCF service and .net client on local machine. I've generated wsdl for the client. It has bunch of files like .svcinfo, .wsdl, .xsd, .svcmap, .cs. Some of the files have address of the service https://localhost:12345/foo/bar.svc Eventually the…
gmail user
  • 2,753
  • 4
  • 33
  • 42
0
votes
1 answer

WCF - EndpointNotFoundException

I have the following scenario: Project A contains 2 interfaces A, and B and two service endpoints, EndpointA and EndpointB, each implementing the matching interface. I have a unit test Project, which uses Cassinini to test the services. I use a…
laconicdev
  • 6,360
  • 11
  • 63
  • 89
0
votes
1 answer

wcf - how to handle a service with multiple endpoints that share the same action

i get the following error when trying to start my service: Could not start the Service: System.InvalidOperationException: This service has multiple endpoints listening at 'https://b2e.my.loc:8093/' which share the same initiating action…
Dardar
  • 624
  • 3
  • 13
  • 30