【发布时间】:2012-11-05 12:43:33
【问题描述】:
在我的项目中,我必须为 Web 服务配置管道设置。要与 Web 服务通信,我必须通过代理。因为,http-conf:basicAuthSupplier 由于http://cxf.547215.n5.nabble.com/svn-commit-r1240059-cxf-trunk-rt-transports-http-src-main-resources-schemas-configuration-http-conf-d-td5453353.html 它无法正常工作,有人知道怎么做吗?配置代理设置?
<http-conf:conduit name="*.http-conduit">
<http-conf:authorization>
<sec:UserName>username</sec:UserName>
<sec:Password>password</sec:Password>
</http-conf:authorization>
<http-conf:client Connection="Keep-Alive"
AllowChunking="false"
ProxyServer=proxyIp
ProxyServerPort=proxyPort
ProxyServerType="HTTP"/>
</http-conf:conduit>
我也试过http-conf:proxyAuthorization
但出现同样的407代理认证错误。
有人知道怎么解决吗?
【问题讨论】:
标签: web-services proxy cxf