Francois
This is my code generated from VFP. The key line is the setting of the ConnectorProperty setting. This uses my settings from IE and works through the proxy.
loWSHandler = NEWOBJECT("WSHandler",IIF(VERSION(2)=0,"",HOME()+"FFC\")+"_ws3client.vcx")
loISoapServerPort = loWSHandler.SetupClient("http://xml.redcoal.com/soapserver.dll/wsdl/ISoapServer", "ISOAPServerservice", "ISoapServerPort")
loWSHandler.wsobject.ConnectorProperty("ProxyServer") = "<CURRENT_USER>"
>Just two words: Thank you.
>
>I'm still fiddling with the beast. But it should be working OK. The strategy for the product (a VFP application that essentially consumes Internet XML resources) is the following.
>
>The application relies on the supposedly stable HTTPXML 4.0 library (that calls the WINHTT component internally when applicable)
>
>Depending on where the resources is located, parsing is done as follows:
>
>1) for local resources (on the workstation),
>use CREATEOBJECT("MSXML.DOMDocument.4.0")
>
>2) for internet resources
>use CREATEOBJECT("MSXML.XMLHTTP.4.0"), this library does use IE proxy settings when set per default (including PAC file ones),
>
>3) for internet via proxy and credentials (user/password),
>use CREATEOBJECT("MSXML.XMLHTTP.4.0"), this library does not use IE proxy settings, the user is requested to insert user/password in a VFP form prior to any call. The proxy set-up is done via proxyconfig.cfg or via ini file settings.