【发布时间】:2013-06-01 11:28:00
【问题描述】:
我在 Web 代理后面安装了 ServiceMix,我需要它来通过 Internet 调用 Web 服务。
我尝试使用
在我的代码中设置代理设置System.setProperty("http.proxyHost" .....
(丑陋而骇人听闻,我知道) 以及设置
http.proxyHost=myproxy
http.proxyPort=8080
http.proxyUser=myuser
http.proxyPassword=mypassword
ServiceMix 的 etc/system.properties 文件中。
这些都不起作用。 任何建议,将不胜感激。 谢谢。
【问题讨论】: