title: Post Data to JSNOP enabled WCF Service Using JQUERY
body: <p>Is it possible to post data to a WCF Service using JSONP?  I need JSONP due to same origin policy flexibility.</p>
  
  <p>For example, I have a the following WCF Service:</p>
  
  <pre><code> [OperationContract]
   [WebGet(ResponseFormat = WebMessageFormat.Json)]
   bool SetRate(string Id, string name, double Rate);
  </code></pre>
  
  <p>Or does it need to be:</p>
  
  <pre><code> [OperationContract]
   [WebInvoke(RequestFormat = WebMessageFormat.Json)]
   bool SetRating(string UserId, string MovieId, double Rating);
  </code></pre>
  
  <p>Then on the client side:</p>
  
  <pre><code> $.getJSON('http://test:1000/WebServices.svc/jsonp/SetRate/ABC/DEF/22?callback=?', null, function (r) {
                   alert('Received ' + r.toString());
               });
  </code></pre>
  
  <p>Or do I need to do a $.postJSON(...)?</p>
  
  <p>Or am I way off?  Is this even possible?  I was able to successfully call (get) a WCF Service using JSONP.  This test was a simple "get".</p>