Altova Mailing List Archives

Re: ISA blocking XML send request?

From: paul@----.--- (---- -------)
Date: 10/24/2003 3:49:00 AM
Just to update - As I've talkesd through with Dan privately, I've
found ServerXMLHTTP to be a real pain at times when connectivity and
proxies become an issue that needs troubleshooting. Although it's not
the recommended practice, the standard XMLHTTP methods seem to be far
easier to get up and running, as they yse the WinInet.dll route,
taking proxy settings and so on transparently from IE's general
configuration. For Small to Medium setups this solution has been a
quick fix to getting up and running.

As we've also found out, ServerXMLHTTP has a bug when used in
conjunction with SSL which further complicates matters, and returns a
nasty 501 error.

Paul Edwards
IT Director - Corporate Text Messaging

"Jim Harrison [MSFT]" <jmharr@o...> wrote in message news:<ORm5dT#lDHA.2456@T...>...
> Based on your description, I'd say that ISA is refusing your IIS server's
> connection request for lack of credentials.
> The credentials you pass in the "send" method have nothing to do with proxy
> authentication.
> XMLHTTP makes use of WinHTTP, so this will probably help:
> Specifically, check out the "SetCredentials" and "SetProxy" methods.
> -- 
>  Jim Harrison [ISAQFE]
>  Read the help, books and articles!
>  This posting is provided "AS IS" with no warranties, and confers no rights.
> "Dan Williams" <dan_williams@n...> wrote in message
> news:bn12ce$n1g$1@h......
> I'm trying to send an XML request to an external web site and am getting the
> following error:-
> msxml3.dll (0x80072EFD)
> A connection with the server could not be established
> I'm using the following ASP code:-
> set xmlrequest = server.CreateObject("MSXML2.ServerXMLHTTP")
> "post", "", False
> xmlrequest.setRequestHeader "content-type", "text/xml"
> xmlrequest.send XMLstring
> The XMLstring does contain my correct username and password.
> The code works fine on my local Windows 2000 Pro with IIS 5, but as soon as
> i try it on our SBS 2000 web server, it doesn't work. Both machines access
> the internet via the same ISA firewall, so i'm not sure why it works locally
> and not on our main web server.
> I can even access the page via our SBS
> server, so i know i have internet access via it, but still no joy.
> Could it be that our ISA firewall is blocking the outgoing XML request? If
> so, which port or protocol do i enable?
> Thanks in advance for any suggestions.
> Dan Williams.


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 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.