Altova Mailing List Archives
>microsoft.public.xml Archive Home
>Thread Prev - Re: ISA blocking XML send request?
>Thread Next - Re: ISA blocking XML send request?
Re: ISA blocking XML send request?
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 2sms.com - Corporate Text Messaging support@2... http://www.2sms.com "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: > http://msdn.microsoft.com/library/en-us/winhttp/http/winhttprequest.asp > > 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") > xmlrequest.open "post", "http://web.2sms.com/xml/xml.axp", 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 http://web.2sms.com/xml/xml.axp 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.