I think this is automatic if your web method has no parameters or all of them fit into the URL pattern.
For example, this declaration sends an empty body:
[OperationContract] [WebGet(UriTemplate = "mykewlservice/{emailAddress}", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped)] void GetStatus(string emailAddress, out long statusMask);
Ivan G. Oct. 26 '11 at 19:23 2011-10-26 19:23
source share