how to set proxy server details on WebServiceTemplate

后端 未结 2 1969
迷失自我
迷失自我 2021-01-05 20:54

I have a SOAP webservice endpoint url(let\'s say :\"EP1\") which we can connect only through a proxy server.

We are using org.springframework.ws

2条回答
  •  情深已故
    2021-01-05 21:24

    You must use VM arguments: -Dhttp.proxyHost=mydomain.com -Dhttp.proxyPort=8080

    Having in mind that this setting applies to all HTTP requests made from Java.

提交回复
热议问题