title: Getting error on calling JQuery AJAX for SOAP Web Service
body: <p>Trying to call a SOAP web service using the below mentioned code.
  Seems to be hitting the error callback function</p>
  
  <pre class="lang-js prettyprint-override"><code>var soapEnv = '&lt;soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"&gt;&lt;soap:Body&gt;&lt;Add xmlns="http://tempuri.org/"&gt;&lt;intA&gt;3&lt;/intA&gt;&lt;intB&gt;3&lt;/intB&gt;&lt;/Add&gt;&lt;/soap:Body&gt;&lt;/soap:Envelope&gt;';
  
  $.ajax({
    url: "http://www.dneonline.com/calculator.asmx",
    type: "POST",
    contentType: "text/xml; charset=\"utf-8\"",
    data: soapEnv,
    processData: false,
    dataType: "xml",
    success: function(res, status, xhr) {
      return;
    },
    error: function(res) {}
  });
  }
  </code></pre>