endpoint

Could not find default endpoint element

I've added a proxy to a webservice to a VS2008/.NET 3.5 solution. When constructing the client .NET throws this error: Could not find default endpoint element that references contract 'IMySOAPWebService' in the service model client configuaration section. This might be because no configuaration file was found for your app...

Why does my WCF service not respond my baseAddress setting in web.config?

I'm trying to learn how to build RESTful services with WCF by recreating the project on this blog post by Anthony Steele. He uses the following XML in his config to setup the endpoint for the service. <host> <baseAddresses> <add baseAddress="http://localhost:8080/greeter"/&gt; </baseAddresses> </host> Howev...

Generated WCF proxy configuration uses server's local name

We have a service hosted behind our firewall that receives request forwarded through to it by the external router. The service is working fine, however whenever one of our clients adds a service reference using svcutil or Visual Studio, the generated app.config file always contains the endpoint address as https://myserver.myinternaldomai...

How can I improve SQL server mirroring

Hello (if the question is more appropriate for RackOverflow please let me know) I've setup SQL server mirroring, using 2 SQL server 2005 standard editions. When the application is being stressed, response times increase 10-fold. I've pinpointed this to the mirror, because pausing the mirror shows acceptable response times. What option...

Has groovy an include mechanism?

We are searching for an include mechanism for groovy scripts to have space for cross-cutting-concerns. In my example we have, web service endpoints as groovy scripts and want to log to our web service protocol. for that we use our implicit object (getting from our framework) to create the logging statement. But this is boilerplate code...

Securing WCF service endpoint with custom authentication

Hi, I want to secure some endpoint of a WCF service, i dont know if you can secure some endpoint and some not. Below I have the stripped WCF service (self hosted). The same WCF serves also the CA Policy file. If I secure this WCF service or some endpoints of ut the CA Policy part must not ask me a username password. The policy file must...

WCF endpoints, baseAddressPrefixFilters, host headers

I have two websites on the same machine. The first (client) references a WCF service on the second site(server). How do I set the address for the service reference? When moving from development on my local machine to the group development server, how do I change the url for the service? The sites are differentiated by host headers, lik...

The Address property on ChannelFactory.Endpoint was null. The ChannelFactory's Endpoint must have a valid Address specified.

Hi. I am getting the following error and I am not sure what I am doing wrong. Does anybody see anything obvious? Below are my project's Web.config and my WCF class library's App.config The Address property on ChannelFactory.Endpoint was null. The ChannelFactory's Endpoint must have a valid Address specified. APP.CONFIG ON SER...

WCF client endpoint certificate reference, how to find when there's a comma in the distinguished name parts?

We are trying to reference a certificate for a client endpoint configuration in our WCF configuration file. The configuration looks like this: <client> <endpoint address="https://domain.server.com/path/service.asmx" binding="basicHttpBinding" bindingConfiguration="TestServiceSoap" contract="..." name="..."> ...

How do I access an incoming request's endpoint (service/user)principalname?

I've had an issue with security in my WCF server, so now we authenticate each request via ServiceSecurityContext.Current.WindowsIdentity. However now, for other reasons, in case that value is null, we need to access the endpoint corresponding to the service being requested and get the ServicePrincipalName or UserPrincipalName supplied ...

When creating a WCF Service with NetTcpBinding, use endpoint "localhost" or machine's host name?

I have a WCF service that uses the NetTcpBinding and is running within a Windows service. Remote clients connect to this service. So far, I have defined the endpoint to use "localhost". If the host machine has multiple network adapters, will it receive messages on all adapters? Would it be better to assign the machine's host name to t...

WCF Consumer Website returning The Address property on ChannelFactory.Endpoint was null. The ChannelFactory's Endpoint must have a valid Address specified.

I've got a simple WCF service that works great on localhost - consumed by another local website and is returning data. Now I upload my service to our host, changing the appropriate addresses in the web.config, and it breaks when the client calls it. Error: The Address property on ChannelFactory.Endpoint was null. The ChannelFactory's...

Purpose of WCF Client Endpoint?

Hello, I understand the purpose of having WCF endpoint on the service side, but I don't quite understand the purpose of configuring endpoint on the client side. Is this for duplex connection or something? Regards James ...

Is it possible to send message to dynamically contructed JMS/WS endpoint in Aqualogic Service Bus?

Aqualogic Service Bus allows creating "business" services for specific end points, but what if the end point is not defined during configuration time or even the number of end points is not fixed. Is it possible to send message to dynamically constructed JMS/WS endpoint in Aqualogic Service Bus? ...

WCF, ChannelFactory, "Could not find endpoint element..."

I'm trying to call a WCF service from within another service, in part using an example I found here on StackOverflow which implements ChannelFactory. I've created a separate console app project within my solution for testing (VS 2008, btw), namespace MyService.Test { class Program { static void Main(string[] args) ...

How to find bad endpoints earlier?

When I try to connect to an unavailable machine, I get an EndpointNotFoundException but it takes too long (about 20 seconds). Setting closeTimeout, openTimeout, receiveTimeout or sendTimeout has no effect. Can I get that exception earlier? ...

Java: using endpoint to publish webservice to tomcat server

hi all, i am creating a simple SOAP web service. i am to ensure that it runs on a tomcat web service. im trying to implement this with JAX-WS (see code) my question is: does the Endpoint.publish use the tomcat server to host this or is it a mini glassfish kind of server? should i be extending UnicastRemoveObject or something simili...

How to apply two Endpoint Behaviors to one behavior configuration?

This question is a follow up to @joshperry's answer on CustomQueryStringConverter. I implemented this solution with a small modification. My version converts System.Int32[] instead of string[]. However, I have a problem with my WCF configuration. My service dishes out SOAP, XML and JSON. SOAP wasn't a problem, this solution works fo...

WCF sending the same exception even if the service endpoint address is valid

Hi, I'm running into a really strange problem with WCF. I need to implement some recovery behavior for WCF service if not reachable endpoint IP address received or service can not bind. The flow is simple if the application fail on exception on service creation it terminate it and request from user another IP address and perform anothe...

WCF endpoint address

Does anyone know if the endpoint used for the service request can be accessed from within the service? ...