Accessing Webservice Deployed On ODI Instance From SOA Composite Fails With Error - "java.net.ConnectException: Connection timed out"

(Doc ID 2385672.1)

Last updated on APRIL 18, 2018

Applies to:

SOA Suite Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Calls from SOA to ODI service fails with Connect Exception and logs shows below error.

ERROR
-----------------------

java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: '<host>' port: '<port>'
 failed reasons:
  [0] address:'test-wls-1/<host>',port:'<port>' : java.net.ConnectException: Connection timed out

at weblogic.net.http.HttpClient.openServer(HttpClient.java:408)
at weblogic.net.http.HttpClient.openServer(HttpClient.java:511)
at weblogic.net.http.HttpClient.New(HttpClient.java:313)
at weblogic.net.http.HttpClient.New(HttpClient.java:292)
at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:295)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:685)
at weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:41)
at java.net.URL.openStream(URL.java:1045)
at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:355)
at oracle.integration.platform.common.MDSMetadataManagerImpl.getInputStreamFromAbsoluteURL(MDSMetadataManagerImpl.java:836)
at oracle.fabric.common.metadata.MetadataManagerImpl.getDocumentAsInputStreamUsingUrlResolver(MetadataManagerImpl.java:217)
at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStreamUsingCustomization(MDSMetadataManagerImpl.java:553)
at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStream(MDSMetadataManagerImpl.java:535)
at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:307)
at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:422)
at oracle.fabric.composite.model.WsBindingModel.getWSDLDefinition(WsBindingModel.java:76)
at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.loadMaterializedWsdlIfNecessary(WebServiceExternalBindingComponent.java:1910)
at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.getInvocationMetadata(WebServiceExternalBindingComponent.java:1627)
at oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.request(WebServiceExternalBindingComponent.java:780)
at oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:151)
at oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:214)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:301)
at sun.reflect.GeneratedMethodAccessor2191.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms