[英]Exception in thread “main” com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 502: Proxy Error
When i make webservice call to the third party server, i am gettting following error. 当我对第三方服务器进行网络服务调用时,出现以下错误。
Exception in thread "main" com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 502: Proxy Error ( Connection refused ) 线程“主”中的异常com.sun.xml.internal.ws.client.ClientTransportException:服务器发送了HTTP状态代码502:代理错误(连接被拒绝)
I am able to get response via SOAP UI but not via code. 我能够通过SOAP UI而不是通过代码获得响应。 I used wsimport to generate java code from WSDL.
我使用wsimport从WSDL生成Java代码。
Please help me to resolve this 请帮我解决这个问题
"Connection refused" means that the client tried to connect to the server at an address and port which has nothing listening on it. “拒绝连接”表示客户端试图在没有监听任何内容的地址和端口上连接到服务器。 Several possibilities come to mind:
我想到了几种可能性:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.