Exposing an REST Endpoint (POST) which processes Xml
For my project I needed to expose an Endpoint, which accepts an HTTP Post with Xml as input/output. As I like to start small I’ve tried to start with a small test project. In this project, I wanted to learn how to expose an endpoint, how to set everything up and what options are there. This, because there are a lot of resources on all sort of specific issues, but the ones I faced were scattered in several blogposts. So for my project I developed a WCF Service, which was created using a WCF Webrole so that I can also publish it in Azure. · Create a new WCF Webrole o Create a new Cloud service o Create a new web role o Which should result in a similar structure · Configure the endpoint to use WCF-WebHTTP and allow a help page At this point, you have a WCF Service, which is not yet exposed a WCF-WebHTTP endpoint. We can do this by: o ...