XMLHttpConn.open('POST','http://server.name.de/soap.php HTTP/1.1',FALSE,'user','password'); //set some values in the request header depending on what the service requires XMLHttpConn.setRequestHeader('Content-Type','text/xml;charset=UTF-8'); XMLHttpConn.setRequestHeader('SOAPAction','http://server.name.de/soap.php#getServerInfo'); XMLHttpConn.setRequestHeader('Authorization','something'); XMLHttpConn.setRequestHeader('Host','server.name.de'); //actually send the message XMLHttpConn.send(); //get the response IF ISCLEAR(XmlDoc) THEN CREATE(XmlDoc); XmlDoc.load(XMLHttpConn.responseXML); MESSAGE('Status %1 %2',XMLHttpConn.status,XMLHttpConn.statusText); //this is for diagnostics only, so you can see what you got back XmlDoc.save('T:\Temp\XMLResponse1.xml');
Comments
Follow my blog at http://x-dynamics.blogspot.com
(Navision error)
So that means, I think, there is some answer from the server.
But then - how to read / save it?
/Brian