endpoint

How do I secure WCF services for website and mobile device using membership provider?

My question is a bit specific. I am currently hosting WCF services that provide data to a website (JQuery) and a mobile application (iphone). I want to secure this communication using a Membership Provider. I know how to setup the membership provider to secure the services so the Jquery part of the story is complete. However I need ...

How to set and map a Method in the Service file with endpoint elements and binding elements

Hi all, I have created a service file like OSService.svc in that i have two methods like one is FileUpload and FileDownload for e.g :- [WebInvoke(UriTemplate = "/fileupload/{fileName}", Method = "POST")] [OperationContract] void FileUpload(string fileName, Stream fileContents); same as Filedownload also. People you may know these meth...

WCF Large interface at a single endpoint address

I have a wcf service that exposes quite a large number of service methods on a single endpoint address. Up to now, all service methods are implemented in a single service contract class. This service contract class implements several service contract interfaces. Now I would like to split the implementation of of the service contract meth...

Publishing a WS with Jax-WS Endpoint

Hello Folks, I build a minimal Webservice and published it by javax.xml.ws.Endpoint. If I try to get the WSDL at http://localhost:1234/AddService?wsdl it works fine. Trying to recieve it at http://192.168.0.133:1234/AddService?wsdl i don't recieve anything. This address is the same as localhost. Is there a posibiility to publish a we...

JAXWS servlet endpoint and principal propagation

Hello, I'm trying to develop webservice authentication by checking hash_ID given in wsdl URL. I use servlet webservice (JAXWS, without ejb). I've extended WSServlet class. In doGet method I check if the given hashId is valid and if so, I do the programmatic login. The problem is that after login, principal is not propagated from servlet...

Why can't I view the contents of my WCF service's WSDL?

when i navigate to my WCF svc page https://mywebstie.project.com/myproject/myuploadservice.svc, i hit the svc as expected but the svcutil URL it supplies uses the actual server name; not the mywebsite.project.com URL, for example. When i follow the provided link to the WSDL file, only the text https://mywebstie.project.com/myproject/myu...

Change WS endpoint on Axis2 with no servicePath

Hi, I've developed an WS using axis2, which is properly running using the endpoint url like `http://server:port/appname/services/FooService` but I need to get it working through an endpoint like `http://server:port/FooService` since the WS clients can't be changed to use a different endpoint. Getting rid of the "appna...

consuming multiple clients of the same C# webservice from different remote locations

Hello, I'm working on two webservices Call the first one ModelService and the second one ConfigurationService My goal is to have multiple servers running the ConfigurationService and one central server running the ModelService So far what I have working is the ModelService has a ServiceReference added which points to http://localhost...

How do you differentiate between application and infrastructure endpoints?

I'm creating a custom behaviour for WCF which can (for interoperability reasons) only function correctly when a service exposes a single application endpoint. I would like to be able to use the IServiceBehavior.Validate method to check that only one application endpoint is exposed by the service. Currently I'm doing the following: publ...

Exposing WCF Services from Azure to Third Parties

Hello everyone, I have a situation where I am hosting a WCF service in Azure and I want to be able to expose that service to third-party developers around the world. From the research I have done, I see that there have been bugs (or maybe "features") in Azure due to internal architecture that has made it difficult to add proper service...