title: ajax - jquery - xml - webservice
body: <p>I am trying to access the method GetWeatherByPlaceName from the service <a href="http://www.webservicex.net/weatherforecast.asmx" rel="nofollow">http://www.webservicex.net/weatherforecast.asmx</a>. In my "data" attribute included city name as "newyork" but it is not showing any result. Please let me know if it is correct way of representing method name in the url.</p>
  
  <pre><code>    $(document).ready(function(){
        $.ajax({
          type:"POST",
          url:"www.webservicex.net/weatherforecast.asmx/GetWeatherByPlaceName",
          data:"newyork",
          contentType:"text/xml; charset=utf-8",
          dataType:"xml",
          success:function(msg){
            $('span').html(msg);
          }
        });
      });
  </code></pre>