Questions tagged [endpoints]

228 questions
52
votes
8 answers

What is an "endpoint" in WCF?

I was under the impression that an endpoint was defined in a config file as the list of possible clients but that makes no sense (in the sense that I assumed it said what computers could connet to the service) now I'm gathering that it's more of a…
Firoso
  • 6,647
  • 10
  • 45
  • 91
52
votes
4 answers

Getting the IP Address of a Remote Socket Endpoint

How do I determine the remote IP Address of a connected socket? I have a RemoteEndPoint object I can access and well as its AddressFamily member. How do I utilize these to find the ip address? Thanks! Currently trying IPAddress.Parse(…
bobber205
  • 12,948
  • 27
  • 74
  • 100
29
votes
2 answers

SendGrid incoming mail webhook - how do I secure my endpoint

I'm currently using SendGrid's Inbound Parse Webhook to feed emails to my application. I've been able to get it working by pointing the URL to an endpoint which my application has exposed. SendGrid just sends the email in the form of a JSON format…
Diskdrive
  • 18,107
  • 27
  • 101
  • 167
16
votes
2 answers

Create WCF endpoint configurations in the client app, in code?

I am trying to consume a WCF web service from a .NET client application, and I think I need to be able to programmatically create endpoints, but I don't know how. I think I need to do this because, when I try to run the application, I am getting the…
campbelt
  • 1,573
  • 5
  • 27
  • 43
12
votes
3 answers

Can several WCF services share a common BaseAddress?

I've got an assembly containing several WCF services, each with its own contract. It all works nicely. The service config in the app.config for the service looks like this:
Sam
  • 28,421
  • 49
  • 167
  • 247
12
votes
5 answers

How to configure a single WCF Service to have multiple HTTP and HTTPS endpoints?

What I am trying to do is get a SINGLE WCF Service to work in the development environment which is the HTTP scheme, and, also, have the SAME service work in the production environment which is the HTTPS scheme. If I remove the two Https endpoints…
Breakskater
  • 415
  • 1
  • 4
  • 18
10
votes
2 answers

"Portable" JAX-WS client

I deployed a JAX-WS Service and use wsimport to generate client code. Because I run wsimport on localhost, I got the client code with binind on "localhost" address. But I want to reuse those client code on other computers which access my deployed…
rnd_nr_gen
  • 2,203
  • 3
  • 36
  • 55
7
votes
3 answers

WCF Self Host Service - Endpoints in C#

My first few attempts at creating a self hosted service. Trying to make something up which will accept a query string and return some text but have have a few issues: All the documentation talks about endpoints being created automatically for each…
Kyle
  • 1,366
  • 2
  • 16
  • 28
7
votes
4 answers

Error with Endpoints in Android : GoogleAuthIOException

I have problem with my project, where I want to connect Google Cloud Endpoints with Android. I'm still getting the same error: 05-12 21:50:23.995: W/System.err(17739):…
user1262348
  • 151
  • 1
  • 4
6
votes
1 answer

RemoteEndPoint vs. LocalEndPoint

As a beginner in C# networking, I wrote a simple Client-Server application. I'm connecting to my local IPAddress and port 8080 where the server is listening. On Client Side: IPAddress remoteaddr = IPAddress.Parse("127.0.0.1"); int…
user3723486
  • 189
  • 1
  • 3
  • 12
6
votes
2 answers

RESTFul API endpoint design with filtering and authorization

I am designing a REST API with consumers that have different permissions. I understand that a representation of a resource should not change according to user. Therefore I am trying to determine which is the best approach: GET - list collection of…
John Royal
  • 371
  • 4
  • 13
6
votes
4 answers

How to check that we are not in a Woocommerce endpoint

since WooCommerce 2.1 pages such as order-received has been removed and replaced with WC endpoints. My checkout page had a custom page template (page-checkout.php) and now all checkout endpoints are also using this custom page template. I need to…
Pbinder
  • 452
  • 1
  • 6
  • 24
6
votes
1 answer

Objectify List> not serialized by Google App Engine endpoints

Hi have two related Entities: Customers and Cars. Each Customer can own several Cars This is a summarized view of the entities: public class Customer { //Inner classes for partial loads public static class NoCars{} @Id protected String…
cvigo
  • 415
  • 3
  • 10
6
votes
1 answer

What happens when a WCF client specifies multiple endpoints for the same contract?

Will it consume from all of them? Will it throw an exception?
Jader Dias
  • 88,211
  • 155
  • 421
  • 625
6
votes
3 answers

WCF service returning another service (service factory?)

We are using WCF for communication between a client and a server application. The client application has many features that requires communication to the server - and we have chosen to implement this in multiple classes (seperation of…
Thies
  • 4,101
  • 2
  • 31
  • 37
1
2 3
15 16