Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Problems with Microsoft.XMLHTTP (Unable to download ressource) Problems with Microsoft.XMLHTTP (Unable to download ressource)To: NULL Date: 6/1/2007 4:44:00 AM
Hi
I have some problems with ASP and the Microsoft.XMLHTTP object, when I
call a webservice on my IIS, which is located on a server behind a
firewall.
I have the following code
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
The call is transmitted from my client to my server, which stands
behind a firewall and only port 443 (ssl) is opened up from my client
to the server (IIS). All other ports are disabled due to security
reasons (also 80).
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.
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.
Does anyone know why this error happens when I disable the port 80 in
my firewall? Is it something to do with the standard SOAP headers:
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://
schemas.xmlsoap.org/soap/envelope/">
Perhaps my IIS tries to download the XML schema as the system has been
running for some time and fails - and when the download fails all
future requests to the system are replied with "resource download
failure"?
I thank you in advance
Thomas
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
