Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Problems with Microsoft.XMLHTTP (Unable to download ressource)

From: "Alex Krawarik [MSFT]" <alexkr@------.---------.--->
To: NULL
Date: 6/1/2007 10:20:00 AM

> Set xmlhttp = CreateObject("Microsoft.XMLHTTP")
> xmlhttp.open "POST", "https://ssl.ditonlinebetalingssystem.dk/remote/
> payment.asmx", false
> xmlhttp.setRequestHeader "Content-Type", "text/xml; charset=utf-8"
> xmlhttp.setRequestHeader "SOAPAction", "https://
> ssl.ditonlinebetalingssystem.dk/remote/payment/authorize"
> xmlhttp.send strSoap
> authorize = xmlhttp.responseText

As Martin commented, you should definitely be using Server.CreateObject in 
an ASP page, and be using ServerXMLHTTP component, not XMLHTTP. 
ServerXMLHTTP uses WinHTTP as its HTTP transport stack, by the way, which 
means you may see some slightly different behavior especially wrt to proxies 
than using XMLHTTP. Read up on the docs if you do.

> It all works fine as I boot my server and I call the script above. But
> after sometime I get an error about a resource could not be.

Could not be........what?

> However if I on my server ensures that ordinary http (port 80) is
> enabled in my firewall from my server to the outside the error will
> not occur.

It would help to have more details about he error itself.




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent