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
0
votes
1 answer

Choosing between accessing WCF via API Endpoint or via Dll reference

I have been contemplating on a dilemma for hours. I have a Visual Studio Solution that contains a WCF, WebForms, UWP, Xamarin and a SharedLibrary Projects. I intend to use the WCF project as the backend which talks to the database and process Email…
Olorunfemi Davis
  • 1,001
  • 10
  • 23
0
votes
0 answers

WCF endoint works live, but not in WinForms designer

I have a Winforms application that talks to a WCF service. When run, it works. However, when you load a form that has a dependency on one of the datatypes in the service, it fails. In fact, it then crashes VS2017 and VS2015, making it tougher. The…
Dave
  • 1,521
  • 17
  • 31
0
votes
0 answers

SVCUTIL excluding an endpoint of a multi-endpoint service

I have a service that contains two endpoints. I have a client that wants to use just the methods in one of the endpoints. If I use Add Service Reference both endpoints and all their methods are imported. I am working on defining an svcutil…
jgraff
  • 1
  • 1
0
votes
2 answers

Two Bindings for the same contract

I have a contract for which i have an basicHttpBinding. I want to add another…
SaravananArumugam
  • 3,680
  • 6
  • 33
  • 45
0
votes
1 answer

Returning JSON from a WCF service whose service contract is marked with XmlSerializerFormatAttribute

Let me describe my problem a bit first. I got to work on an Xamarin app that had to utilize our API. The API is exposed via WCF service on two endpoints and it is either tcp or basic http. Because of the limitations of Xamarin platform I ended up…
Robert
  • 2,407
  • 1
  • 24
  • 35
0
votes
1 answer

Can I access ServiceEndpoint in Azure WCF Service Web Role?

I used to override CreateServiceHost for my regular WCF Service and modify the endpoint there (adding some method dynamically). Now moving to Azure, and having WCF Service Web Role, the myServiceHost.Description.Endpoints is empty (which I guess is…
Andres
  • 215
  • 2
  • 9
0
votes
2 answers

How to call WCF REST service method in a browser

I had created WCF REST service which return JSON format. My question was " I am unable to find my Operation Contract method in a browser?" Below is my Service Contract using System.ServiceModel; using System.ServiceModel.Web; namespace…
Shakeer Hussain
  • 2,230
  • 7
  • 29
  • 52
0
votes
1 answer

System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at configured url

My wcf service was working until I made two changes. When I run it in debug mode I get no errors but when I deploy it to production I get the "No End Point" exception. I've followed the advise given in other posts but no change. Can anyone help me…
0
votes
1 answer

How to use WCF hosted in windows service in VM

I don't have enough experience with WCF and its configuration and I don't know how to approach this problem. So I am sorry for this, possibly dumb, question. I have virtual machine with windows service that hosts WCF. I want to communicate with this…
benderto
  • 896
  • 11
  • 39
0
votes
1 answer

Choose between which type of WCF proxy generation path we should take?

I am new to WCF service. I am aware about three ways to generate proxies. Using Service reference Using SvcUtil Using ClientBase But I am confused in which case I should use which type. In my case I have to generate proxies for third party service…
Manjay_TBAG
  • 2,176
  • 3
  • 23
  • 43
0
votes
1 answer

Error "Endpoint not found" in WCF Service when calling an operation

I have developed a REST Web Service in WCF. When I browse http://localhost:18349/SvcLipigas.svc I see the home page of the service. When I load http://localhost:18349/SvcLipigas.svc?wsdl I can see the definition, and so on. However, when I try to…
jstuardo
  • 3,901
  • 14
  • 61
  • 136
0
votes
1 answer

C# endpoints in App.Config

So here's my App.config from the client side, but I need to do this with C# code, so can anybody help me? I've tried some ways to do that but still I could not find out how.