[OperationContract] [WebInvoke(Method = "GET", ResponseFormat = WebMessageFormat.Xml, BodyStyle = WebMessageBodyStyle.Wrapped, UriTemplate = "json/?id={id}")] string jdata(string id); and my corrsponding function implementation is: public string json(string id) { return "You Typed : "+id; }
[WebInvoke(Method = "POST", ResponseFormat = WebMessageFormat.Xml, BodyStyle = WebMessageBodyStyle.Wrapped, UriTemplate = "json/?id={id}")] string jdata(string id);
BodyStyle = WebMessageBodyStyle.Bare,ResponseFormat = WebMessageFormat.Xml, RequestFormat = WebMessageFormat.Xml
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)