I’m wanting to make a WCF Web Service that I can access via a url with a querystring and return xml based on that
E.g
Accessing this url
http://mywebsite/mywebservice.svc?name=bob
would return
<person>
<name>bob</name>
</person>
I’ve started going through WCF Web Services, but so far the only way I can see how to use a Service is referencing it in the project and then going MyWebService.GetData()
Essentially I want the MyWebService URL to act as a dynamic xml file. I’m trying to hook it up to a program that takes an xml file as an input, and I want to feed it ‘dynamic’ xml by just giving it the url
Is this possible? Have I explained it so anyone outside my head can understand?