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
2 answers

Multiple endpoints in wcf

I'm trying to do multiple endpoints for a single WCF Service, so that each endpoint has its separate interface / methods. I'm using TCP app.config: ....
user726720
  • 1,127
  • 7
  • 25
  • 59
1
vote
1 answer

How to detect binding from wcf service end

suppose i have one wcf service with multiple endpoint having different type of binding like tcp, basichttp, wshttp etc.
Mou
  • 15,673
  • 43
  • 156
  • 275
1
vote
1 answer

How to Programmatically Set the Client Callback Address in netTcpBindings

I'm currently working on a service that involves client callback over netTcpBinding. However, I can't find answers to the following two questions: When a client invokes the service, what is the client's address that will be used for callback? How…
1
vote
1 answer

Does PushSharp require opening inbound ports to the machine it is running on?

We are using PushSharp to send GCM (Google Android) Notifications. In the future we will also be using the IOS and WinPhone parts of the lib. There are a few events…
1
vote
1 answer

Wcf endpoint customization for simplified configuration

I have a good amount of service contracts being implemented by the same class exposed over IIS, using simplified configuration (that is, no explicit nodes in the config file). This works fine and saves us a lot of trouble, because we have…
julealgon
  • 7,072
  • 3
  • 32
  • 77
1
vote
1 answer

How can I handle the the Endpoint not found Exception just one time (WCF)

As we know , when there was no connection between client and server, the Endpoint not found Exception will be created from WCF services , I d like to handle this error just one time and uses several times without several try catches for each WCF…
1
vote
1 answer

WCF Error - Could not find default endpoint element that references contract

There are a lot of suggestions on how to resolve this issue but all of them go along the path of editing the config file. I got my services to work in a testing program (where I can edit the file app.config) without any bigger hardship. The problem…
Konrad Viltersten
  • 36,151
  • 76
  • 250
  • 438
1
vote
1 answer

Endpoint not found when accessing via URL in a browser

When I enter the address of my service, I get to see the WSDL file. However, When I add a suffix to the URL, I get the error message: "endpoint not found". It's definitely due to something wrong with my service model declaration but after a few…
Konrad Viltersten
  • 36,151
  • 76
  • 250
  • 438
1
vote
2 answers

wcf oneway non blocking operation

I need such scenario: client sends message to server, not waiting for response, and don't care, if message was send properly. using(host.RemoteService client = new host.RemoteService()) { client.Open(); cliend.SendMessage("msg"); } in scenario…
santBart
  • 2,466
  • 9
  • 43
  • 66
1
vote
1 answer

WCF Web service is throwing EndPointNotFoundException

I am trying to configure a WCF service to support duplex communication to a client service and since I switched to WSDualHttpBinding I now get this on the service in IIS There was no endpoint listening at…
twreid
  • 1,453
  • 2
  • 22
  • 42
1
vote
2 answers

WCF basicHttpsBinding warning: "is invalid according to its datatype"

I created a WCF application, starting with basicHttpBinding. In app.config, I have the following endpoint configured:
JoeMjr2
  • 3,804
  • 4
  • 34
  • 62
1
vote
1 answer

Reference to project with service reference: Unknown endpoint

I have: WCF Service [Application 1] Logic communicating with this service [Project1 Application2] Web Page using this logic [Project2 Application2] In Logic project I added service reference to Service. In WebPage I added project reference to…
Ari
  • 3,101
  • 2
  • 27
  • 49
1
vote
1 answer

WCF Service service call to stream endpoint fails on 3rd call

quick overview of what I've got here: WCF Soap service is running over HTTPS, with Message credential of type certificate. I've got 2 endpoints that I use (besides mex), 1 for my normal service calls, the other for streaming files. Here's my…
TheTFo
  • 741
  • 2
  • 8
  • 25
1
vote
1 answer

Best practices for validating wcf endpoint on client with/without SSL/TLS

I tried to catch all exception of wcf sercue with/without SSL/TLS or endpoint, something like this: try { ServiceReference.ServiceClient serviceClient = new ChartLogicServiceClient(); serviceClient.Open(); …
Quoc Nguyen
  • 348
  • 6
  • 25
1
vote
1 answer

How to Consume WCF Service in Service Reference if it has multiple Endpoint with name

I have very specific question.. If i create one WCF Service and it has multiple endpoints with the name how can i access that using browser ? Also How can i access that in my client application via Add Service Reference ? like my config…
Brijesh Shah
  • 73
  • 1
  • 2
  • 6