SOAP request XML
<pre><code> var xmlhttp = new XMLHttpRequest();
    xmlhttp.open("POST", "http://service.project-development-site.de/soap.php",true);
    xmlhttp.onreadystatechange=function() {
     if (xmlhttp.readyState == 4) {

    alert(xmlhttp.responseText);

      // http://www.terracoder.com convert XML to JSON 
      var json = XMLObjectifier.xmlToJSON(xmlhttp.responseXML);
      var result = json.Body[0].GetQuoteResponse[0].GetQuoteResult[0].Text;
      // Result text is escaped XML string, convert string to XML object then convert to JSON object
      json = XMLObjectifier.xmlToJSON(XMLObjectifier.textToXML(result));
      alert(symbol + ' Stock Quote: $' + json.Stock[0].Last[0].Text); 
     }
    }
    xmlhttp.setRequestHeader("SOAPAction", "http://service.project-development-site.de/soap.php");
    xmlhttp.setRequestHeader("Content-Type", "text/xml");
    var xml = '&lt;?xml version="1.0" encoding="utf-8"?&gt;' +
     '&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/"&gt;' + 
        '&lt;soapenv:Header/&gt;'+
           '&lt;soapenv:Body&gt;'+
              '&lt;tem:loginUserSoapInPart&gt;'+
                 '&lt;tem:userName&gt;user&lt;/tem:userName&gt;'+
                 '&lt;tem:passWord&gt;pwd&lt;/tem:passWord&gt;'+
                 '&lt;tem:accesToken&gt;acktoken&lt;/tem:accesToken&gt;'+
              '&lt;/tem:loginUserSoapInPart&gt;'+
           '&lt;/soapenv:Body&gt;'+
        '&lt;/soapenv:Envelope&gt;';
    xmlhttp.send(xml);
</code></pre>

<p>I have used this code with the soap  request xml but it is not giving me response.i am checking it in alert but i am getting empty alert message.</p>
