imbesi
11-13-2007, 07:38 PM
I have to access an asp page on a provider service and using the XML HTTP POST protocol to post XML to asp pages
I received from the service provider Ip address on their server
Name of Asp pages on their server where I post my xml query
My access Key to be inserted in a field in my xml file
The command I have to issue is
function XMLHTTP_run() {
var stringText=createXML();
var url='"http://Ipnumber/file.asp";
var xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlHttp.Open("POST", url, false);
xmlHttp.send(unescape(stringText));
xmlHttp.responseText;
The above javascript returns an Authorization error when executing xmlHttp.Open
I call the Asps on my provider server from my server.
As I am a newbi please can you explain in simple words with an example how I can perform my requests without receiving the error message.
:confused:
I received from the service provider Ip address on their server
Name of Asp pages on their server where I post my xml query
My access Key to be inserted in a field in my xml file
The command I have to issue is
function XMLHTTP_run() {
var stringText=createXML();
var url='"http://Ipnumber/file.asp";
var xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlHttp.Open("POST", url, false);
xmlHttp.send(unescape(stringText));
xmlHttp.responseText;
The above javascript returns an Authorization error when executing xmlHttp.Open
I call the Asps on my provider server from my server.
As I am a newbi please can you explain in simple words with an example how I can perform my requests without receiving the error message.
:confused: