search cancel

SSL connection while using WebMethod Step fails

book

Article ID: 134352

calendar_today

Updated On:

Products

CA Application Test Service Virtualization

Issue/Introduction

SSL connection issue while using WebMethod Step 4 fails. Seeing the below error in the logs.

webMethods Integration Server Services

============================================================================

| Step: Error Executing IS Service:

----------------------------------------------------------------------------

| Message: IntegrationServerInvoker

----------------------------------------------------------------------------

| Trapped Exception: java.net.ConnectException: Operation timed out

| Trapped Message: java.io.IOException: java.net.ConnectException: Operation timed out

----------------------------------------------------------------------------

STACK TRACE

java.io.IOException: java.net.ConnectException: Operation timed out

at com.wm.app.b2b.client.Context.invoke(Context.java:1117)

at com.wm.app.b2b.client.Context.invoke(Context.java:956)

at com.wm.app.b2b.client.Context.connect(Context.java:640)

at com.wm.app.b2b.client.Context.connect(Context.java:591)

at com.itko.lisa.esb.webmethods.ISServiceInvokerStep.openExec(ISServiceInvokerStep.java:309)

at com.itko.lisa.esb.webmethods.ISServiceInvokerStep.execute(ISServiceInvokerStep.java:256)

at com.itko.lisa.test.TestNode.executeNode(TestNode.java:995)

at com.itko.lisa.test.TestCase.execute(TestCase.java:1297)

at com.itko.lisa.test.TestCase.execute(TestCase.java:1198)

at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1183)

at com.itko.lisa.editor.WalkThruPanel.prepAndExecNode(WalkThruPanel.java:1115)

at com.itko.lisa.editor.WalkThruPanel.access$900(WalkThruPanel.java:73)

at com.itko.lisa.editor.WalkThruPanel$10.doCallback(WalkThruPanel.java:1017)

at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:195)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.io.IOException: java.net.ConnectException: Operation timed out

at com.wm.ext.jsse.JSSESecureSocketFactory.newSocket(JSSESecureSocketFactory.java:583)

at com.wm.ext.jsse.JSSESecureSocketFactory.createSocket(JSSESecureSocketFactory.java:477)

at com.wm.net.socket.pool.SocketPool.getSocketWrapper(SocketPool.java:196)

at com.wm.net.socket.pool.SocketPoolManager._getSocketWrapper(SocketPoolManager.java:129)

at com.wm.net.socket.pool.SocketPoolManager.getSocketWrapper(SocketPoolManager.java:111)

at com.wm.net.NetURLConnection.getSocket(NetURLConnection.java:1078)

at com.wm.net.NetURLConnection.openDirectConnection(NetURLConnection.java:1053)

at com.wm.net.NetURLConnection.connect(NetURLConnection.java:197)

at com.wm.net.HttpURLConnection.getOutputStream(HttpURLConnection.java:439)

at com.wm.net.HttpURLConnection.getOutputStream(HttpURLCo

Cause

Port Number was not provided in the Connection Strings

Environment

All supported DevTest releases.

Resolution

Were able to resolve the connectivity issue by making sure that that had the right port specified in the Host URL of the Integration Server Service Invoker step.

Unlike other steps, there is not a separate field for the port in the WebMethod Step. The host URL like  Host:Port must be specified. . Once it was set to mapbbb.ABC.com:19663, Connection worked .