Wann UriTemplate im REST WCF service

habe ich einfache Schnittstelle, die ich möchte um es zu testen, aber ich habe nicht verstanden, Wann URITemplate:

wie würde ich access XMLData-in diesem Fall...?

[OperationContract]
        [WebInvoke(Method = "GET",
            ResponseFormat = WebMessageFormat.Xml,
            BodyStyle = WebMessageBodyStyle.Wrapped)]
        string XMLData(string id);

 public class RestServiceImpl : IRestServiceImpl
    {    
        public string XMLData(string id)
        {
            return "my xml data:" + id;
        }

InformationsquelleAutor Nick Kahn | 2010-11-17

Schreibe einen Kommentar