且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何为在JBoss 4中运行的Web Service客户端配置HTTP代理?

更新时间:2023-11-22 23:15:40

我错过了服务URL错误消息仅显示服务器名称,而不显示协议部分)。

I missed the https in the service URL (the error message displays only the server name, not the protocol part).

必要的更改很简单,在PropertiesService配置文件中设置两个https(而不是http!)代理属性default / deploy / properties-service .xml

The necessary change is simple, set two https (not http!) proxy properties in the PropertiesService configuration file at default/deploy/properties-service.xml

<attribute name="Properties">
  ...  

  https.proxyHost=...
  https.proxyPort=...
</attribute>