Java中的客户端Web服务-代理身份验证 [英] Client Webservice in java - proxy authentication

查看:127
本文介绍了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...

这篇关于Java中的客户端Web服务-代理身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆