title: How to call wcf web service from ajax?
body: <p>I need to call a wcf service from ajax. My web service Class is given bellow </p>
  
  <pre><code>public class AjaxService : IAjaxService
      {
          readonly Dictionary&lt;string,int&gt; _countryPostalCode = new Dictionary&lt;string, int&gt;
                                                          {
                                                              {"Bangladesh",1000},
                                                              {"India",2000},
                                                              {"Japan",3000}
                                                          };
  
          public int PostalCode(string countryName)
          {
              return _countryPostalCode[countryName];
          }
      }
  </code></pre>
  
  <p>How can I call it from ajax?? It will be very helpful for me if anyone explain it with example.</p>