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

WCF different endpoint per method?

Is it possible to restrict a method in WCFService to only respond to a particular endpoint? e.g. I have a service that has multiple methods, one of which will be receiving a file. I have exposed two endpoints, one using MTOM. Is it possible to only…
BlueChippy
  • 5,935
  • 16
  • 81
  • 131
2
votes
1 answer

Get Api end points from wsdl file

I'm trying to consume a commercial soap Api. I know their wsdl file but did not have any api endpoints to make request. I have searched on internet about how to get api endpoints from wsdl file but did not succeed. the wsdl file location is …
Haseeb Mazhar Ranga
  • 555
  • 1
  • 5
  • 16
2
votes
1 answer

Accessing wcf web service with powershell2

I'm trying to write a cmdlet that accesses one of my wcf webservices. I've been looking at the new cmdlet : New-WebServiceProxy, but it only really seems capable of consuming ASMX webservices. I've seen this article; which is focussed around…
GordonBy
  • 3,099
  • 6
  • 31
  • 53
2
votes
0 answers

What is the difference between these code segments?

if (this.UserManagmentType != UserMgmtType.NONE) { return (User)GetUserBaseById(userId); } if (this.UserManagmentType != UserMgmtType.NONE) { return GetUserBaseById(userId) as User; } I understand the difference between casts. The first if…
Carl
  • 83
  • 6
2
votes
1 answer

WCF Client Side Configuration for different Endpoint URI

I am in a situation where I need to develop a WCF Client which will have different EndPoint URI but other settings would remain same. I would get the EndPoint URI from the user. So I wanted to know if I consume the WCF service using ChannelFactory,…
shyam_baidya
  • 119
  • 2
  • 9
2
votes
1 answer

Reduce repeated nested identity in WCF config

My web.config for my WCF app has a series of endpoints defined like so:
jcolebrand
  • 15,889
  • 12
  • 75
  • 121
2
votes
1 answer

WCF DataService over Https

I am developing a WCF DataService that's self-hosted inside a Windows Console Application. I want to activate my service over Https (i.e. SSL) instead of Http. How can I do that? Thanks
Hasan Baidoun
  • 1,095
  • 9
  • 18
2
votes
1 answer

Data Services endpoint with System.Data.Services.IRequestHandler contract throws error

I am receiving the following error when trying to create an endpoint with the System.Data.Services.IRequestHandler contract The operation 'ProcessRequestForMessage' could not be loaded because it has a parameter or return type of type…
2
votes
1 answer

How to host a WCF Service in IIS Programatically?

I have a WCF 3.0 service which has been configured in the web.config of my web application where it's hosted via an .svc file:
The Light
  • 26,341
  • 62
  • 176
  • 258
2
votes
1 answer

Resolve endpoint bindings dynamically in a workflow

I have the same issue as this question on MSDN, but I don't understand the solution because it is still not clear to me if Roman Kiss's solution will correctly replace an endpoint address while a single workflow instance being executed concurrently.…
Yuriy Magurdumov
  • 235
  • 2
  • 12
2
votes
1 answer

WCF: Why is Contract on Endpoint and not on Service?

Trying to really 'get' endpoint contracts: I understand offering different endpoints to support different bindings, but when would one define n endpoints for a service, and use different contracts? Seems that in most cases (bar IMetadataExchange)…
Ciel
  • 591
  • 4
  • 12
1
vote
0 answers

How do you capture and store a MeshEntry/P2P Endpoint from a CustomPeerResolverService?

Is it possible to capture and store a MeshEntry much in the same way as you can capture a client callback channel via OperationContext.Current.GetCallbackChannel<>? I can see the MeshEntrys listed in the CustomPeerResolverService but im not sure if…
Christopher Leach
  • 568
  • 1
  • 5
  • 16
1
vote
1 answer

How can I check whether two endpoint address are the same?

My program is a WCF service which publishes several methods and have multiple client. It store list of clients in the database. In some of the methods I need to query the caller's data from the database. This question How can service know the…
Louis Rhys
  • 34,517
  • 56
  • 153
  • 221
1
vote
1 answer

Set wcf service credentials in config file for a service with endpoints created in code

I want to be able to set the uri for a service endpoint in code while having the configuration for the security behaviour set in the config file. The following gets me some of the way there, the service uses the correct binding configuration - but I…
dice
  • 2,820
  • 1
  • 23
  • 34
1
vote
1 answer

WCF & Rest & ISA & Output

I got two questions, but I think that there linked in someways. I made an WCF Rest service, with .NET4, and only on https. On my local pc, everything is ok. Now I deployed it to a hosting provider. For what I know all the requests go through an ISA…
Mescal
  • 123
  • 8
1 2
3
10 11