Delphi XE6 - SOAP built with 'USE_INDY' connecting to a webservice over a proxy issue

若如初见. 提交于 2019-12-19 09:43:09

问题


I have an application which connects to a webservice using THttpRio component. Webservice has basic authentication. I've compiled the Delphi SOAP units using the 'USE_INDY' directive in order that the THttpRio component to use WinHttp.

Now I need to get through a proxy to my webservice. Looking into the Soap.SOAPHTTPTrans unit I've fixed some bugs, but I do not know how I should set up the THttpRio component to get through the proxy.

I've tried to set the proxy property of the HTTPRIO.HTTPWebNode.Proxy to a string like:

http://user:pass@ip:port

but I get a 407 Unauthorized error....

Proxy application is CCProxy.

来源:https://stackoverflow.com/questions/26911550/delphi-xe6-soap-built-with-use-indy-connecting-to-a-webservice-over-a-proxy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!