title: While calling Web Service using jquery with a SOAP getting 400 bad request error
body: <p>This is my client side code.While calling this function i'm getting 400 bad request error.Can anyone help me.</p>
  
  <pre><code>var req_params="&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;";
                req_params = req_params + "&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;";
                req_params = req_params + "&lt;soap:Header&gt;";
               req_params = req_params + "&lt;UserDetails&gt;";
               req_params = req_params + "&lt;Lastname&gt;Abubakar&lt;/Lastname&gt;";
               req_params = req_params + "&lt;Othernames&gt;Uju, Ayo&lt;/Othernames&gt;";
               req_params = req_params + "&lt;Email&gt;me@me.com&lt;/Email&gt;";
                req_params = req_params + "&lt;Phone&gt;08032458829&lt;/Phone&gt;";
               req_params = req_params + "&lt;/UserDetails&gt;";
               req_params = req_params + "&lt;/soap:Body&gt;";
               req_params = req_params + "&lt;/soap:Envelope&gt;";
               console.log(req_params);
      $.ajax({
      type: "POST",
      url: "http://testservices.interswitchng.com/quicktellerservice/quickteller.svc/CreateUser",
      data: req_params, 
      processData:false,
      contentType: "text/xml; charset=\"utf-8\"",
      dataType: "xml",
      success: function (data) {
          console.log(data);
      },        
      error: function (xhr, status, error) {
          alert(error);
      } 
  });
  </code></pre>