Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLHTTP... Windows authentication is getting in the way!
Message
From
07/11/2006 11:45:14
 
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
01166841
Message ID:
01167709
Views:
23
Hi Lisa and Rick,

Thank you for the pointers. I called a sysadmin friend. Sure network admin is not my current cup of tea. All this problems may boil down to basic proxy authentication issues.

>The first thing to find out is whether there's a proxy in place of some sort. IAC, just because the internet sites you're accessing are public doesn't mean that CREDENTIALS don't have to be submitted before the request is let out of the house into the wacky world out there.

It looks like I need to add the mildly documented setProxyCredentials command to the COM XMLHTTP calls when running through proxy.

IE the code may finally look something like:


oXml = CreateObject("MsXml2.ServerXmlHttp.4.0")
oXml.Open("GET","www.myWebSiteOntheWeb/MyResource.xml",.F.)
IF THIS.UserCallingViaProxy
oXml.setProxyCredentials ("MyProxyName",MyProxyPassword")
ENDIF
oXml.Send()


Googling on the subject gives very little feedback. Have you used this command?
Previous
Reply
Map
View

Click here to load this message in the networking platform