title: How to use SOAP Request within AJAX call
body: <p>This is my AJAX Application where i need to contact my Webservice running in server .</p>
  
  <pre><code>function sendRequest(method, url)
  {
  method == 'post';
  {
  http.open(method,url,true);
  http.onreadystatechange = handleResponse;
  http.send(null);
  }
  }
  </code></pre>
  
  <p>This is the SOAP Request which i picked up from the SOAP  UI , which was working fine </p>
  
  <pre><code>&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.bayer.tata.com/" xmlns:tkw="http://tata.com/bayer" xmlns:chim="http://tata.com/chimera"&gt;
     &lt;soapenv:Header/&gt;
     &lt;soapenv:Body&gt;
        &lt;ser:strategy&gt;
           &lt;!--Optional:--&gt;
           &lt;request&gt;
             &lt;xmlMessage&gt;
  &lt;![CDATA[&lt;test&gt;or like this&lt;/test&gt;]]&gt;
  &lt;/xmlMessage&gt;
          &lt;/request&gt;
        &lt;/ser:strategy&gt;
     &lt;/soapenv:Body&gt;
  &lt;/soapenv:Envelope&gt;
  </code></pre>
  
  <p>Please tell me how can i use use  this SOAP XML message within the sendRequest function .
  I am using only plain Java Script AJAX ( Nothing like Jquery , DOJO , or any )</p>