Java中的客户端Web服务-代理身份验证

问题描述:

我已经使一个Web服务客户端在Eclipse中导入第三方wsdl.

I have made a web service client importing a third party wsdl in eclipse.

但是我有一个例外:

javax.xml.ws.WebServiceException: Connection IO Exception. Check nested exception for details. (Unable to connect to 1X.XXX.X.XX:X0 - Connection timed out). 

我希望此异常仅发生在代理服务器上.

I hope this exception occurred for the proxy only.

我和该第三方之间有一个代理服务器.我不知道该如何进行代理身份验证在哪里进行编码,我需要进行此代理身份验证.

There is a proxy server between me and that third party. I don't know how to do the proxy authentication and where in coding I need to this proxy authentication.

您是HTTPS的终点吗?代理支持HTTPS的方式不同-一种方式是SSL桥接,另一种方式是SSL隧道.

Is your end point on HTTPS? There different ways proxies support HTTPS - one ways is SSL bridging and the other is SSL Tunneling..

可能是您用来连接的客户端库可能不支持代理使用的库...

May be your client side libraries you used to connect may not support the one being used by the proxy...