Advertisement
Guest User

Any

a guest
Jan 26th, 2015
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var xmlhttp = new XMLHttpRequest();
  2. xmlhttp.open("POST", "http://service.project-development-site.de/soap.php",true);
  3. xmlhttp.onreadystatechange=function() {
  4. if (xmlhttp.readyState == 4) {
  5. alert(xmlhttp.responseText);
  6. }
  7. }
  8. var Username = "ALL";
  9. xmlhttp.setRequestHeader("SOAPAction", "http://service.project-development-site.de/soap.php");
  10. xmlhttp.setRequestHeader("Content-Type", "text/xml");
  11. var myCars=new Array(); // regular array (add an optional integer
  12.  
  13.  
  14. var xml = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>' +
  15. '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">' +
  16. '<soapenv:Header/>' +
  17. '<soapenv:Body>' +
  18. '<tem:getAccessTokenSoapInPart>' +
  19. '<tem:soapIn>' +
  20. '<tem:random>sss</tem:random>' +
  21. '</tem:soapIn>' +
  22. '</tem:getAccessTokenSoapInPart>' +
  23. '</soapenv:Body>' +
  24. '</soapenv:Envelope>';
  25. xmlhttp.send(xml);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement