[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XMLDOM behind Proxy Server

Subject: XMLDOM behind Proxy Server
From: Eddy Siauwidjaja <eddy.siauwidjaja@xxxxxxxxxxxxxx>
Date: Fri, 28 Jan 2000 11:17:41 +1100
behind proxy
Hi All,

I have problem trying to use XMLDOM to fetch an XML document outside our
proxy.
Here is the code that fails such that return the length=0 :
	Set oSource = Server.CreateObject("Microsoft.XMLDOM")
	oSource.async = false
	oSource.load ("http://liveserver.domainxxx.com/sample.asp")
	Set oSomething = oSource.selectNodes("/xml/something")
	Response.Write "oSomething.Length = " & oSomething.length & "<BR>"

This code works and return the correct number.
	Set oSource = Server.CreateObject("Microsoft.XMLDOM")
	oSource.async = false
	oSource.load ("http://mylocalserver/sample.asp")
	Set oSomething = oSource.selectNodes("/xml/something")
	Response.Write "oSomething.Length = " & oSomething.length & "<BR>"

We are using MS Proxy Server. I am not sure if I need special setup for the
webserver before it can pass through the proxy. I thought it is only using
port 80 due to http:// call. I had similar problem with ASPHTTP object from
ServerObject, but there is a proxy setting in that object so it works fine.
I am not sure if there is a proxy setting for this object.
If you have similar explerience and found the solution, Please shed some
light here. Thanks very much.

Regards,


Eddy Siauwidjaja


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.