通过对等方调用soap webservice重置连接

时间:2015-03-11 03:28:50

标签: java web-services sockets networking soap

目前正在尝试调用Web服务,但是我正在通过peer重置连接重置/连接,下面是堆栈跟踪:

WRITE: TLSv1 Handshake, length = 81
WRITE: SSLv2 client hello message, length = 110
waiting for close_notify or alert: state 1
Exception while waiting for close java.net.SocketException: Connection reset
handling exception: java.net.SocketException: Connection reset
SEND TLSv1 ALERT:  fatal, description = unexpected_message
WRITE: TLSv1 Alert, length = 2
Exception sending alert: java.net.SocketException: socket write error: Connection reset by peer.
called closeSocket()
called close()
called closeInternal(true)
called close()
called closeInternal(true)
called close()
called closeInternal(true)

1 个答案:

答案 0 :(得分:1)

这是一个SSL问题,根据跟踪,只有一个客户端Hello,但没有服务器Hello响应,(http://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/JSSERefGuide.html)在将服务器公钥导入客户端密钥库后,它现在正在工作