How do I call this webservice from javascript using JSON?!
Also any help on testing the same directly with the browser will be appreciated.
Snippet
[OperationContract]
[WebInvoke(
Method="GET",
UriTemplate="SelectionRule/ruleName={ruleName}&lists={lists}",
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json,
BodyStyle=WebMessageBodyStyle.Wrapped
)
]
[return:MessageParameter(Name="SelectionRule")]
IList<string> FireSelectionRule(string ruleName, ListEntityParameters[] lists);