Thank you.
Rasmus
HTTPRIO1.HTTPWebNode.Proxy:=proxyName+':'+proxyPort;
Pedro
"Rasmus Wätjen" <r...@remove-this.blueposition.com-also-remove-this> escreveu
na mensagem news:47395aba$1...@newsgroups.borland.com...
I would like to be able to use Windows'/Internet Explorer's ability to parse
the proxy autoconfiguration file
(http://en.wikipedia.org/wiki/Proxy_auto-config).
As far as I can see, HTTPRIO uses WinInet which has some limited proxy
autoconfig support (http://msdn2.microsoft.com/en-us/library/aa383910.aspx).
(By the way: that page says: "WinINet should not be used in a service"!).
So if HTTPRIO uses WinInet, and that has some support for proxy autoconfig,
then the webservices in Delphi should support it. - I just can't get it to
work.
Regards,
Rasmus
The WinInet wrapper class (THTTPReqResp/SOAPHTTPTrans.pas) does not utilize
or expose any of the WinInet AutoProxy support. Only the 'proxy' and
'proxybypass' of InternerOpen are exposed. If a proxy is specified we pass
TYPE_PROXY otherwise we pass TYPE_PRECONFIG. The class can also be build in
INDY mode (by defining 'USE_INDY') with equivalent support via
TIDHttp.ProxyParams.
The issue of switching to WinHTTP is on the list of enhancements. I believe
there's a QC already opened?
Cheers,
Bruneau.
There is a QC but it's not open.
Report No: 44847 Status: Reported
Add support for WinHTTP to SOAP requests
http://qc.codegear.com/wc/qcmain.aspx?d=44847
/Micke
Thank you for the update. It should be opened and pulled into RAID - the
internal tracking tool we use. I'll ask someone in the QA team to pull it.
Cheers,
Bruneau.