ESB not Generating Concrete WSDL URL and/or Soap Endpoint URI - Invalid HTTP Proxy Settings (Doc ID 565068.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Oracle ESB - Version 10.1.3.1 to 10.1.3.5
Information in this document applies to any platform.
***Checked for relevance on 12-Sep-2011***


Symptoms

Registered ESB service does not load into ESBRT and ESBDT so the Concrete WSDL URL and Soap Endpoint URI are not accessible from the ESB Control screens.

Steps To Reproduce:

With the ESB services already registered, start the ESBRT and ESBDT servers.

To detect this situation check the log.xml files for the ESBRT and ESBDT and the *~1.log file for the ESBDT in $OH/opmn/logs during the start-up of the ESBRT and ESBDT.

In the log.xml for the ESBRT you will something similar to the following:

<PAYLOAD>
    <MSG_TEXT>ESB Service Default.testservice cannot haveSOAP test page as WSDL registration failed!
      Reason: Invalid XML in document at: http://test.com:8888/esb/wsil/Default/testservice?wsdl,
      line: {1}, column: {2}: Start of root element expected.:
      oracle.xml.parser.v2.XMLParseException: Start of root element expected.
    at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:341)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:205)
...


 
In the log.xml for the ESBDT you will something similar to the following:
 

<PAYLOAD>
    <MSG_TEXT>unable to get service list</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[oracle.tip.esb.console.exception.ConsoleException:
      An unhandled exception has been thrown in the ESB system. The exception reported is: "".

    at oracle.tip.esb.configuration.util.WSDLGenerator.generateWSDL(WSDLGenerator.java:220)
    at oracle.tip.esb.console.XMLConsoleManagerImpl.getGeneratedWSDL(XMLConsoleManagerImpl.java:1944)
    at oracle.tip.esb.configuration.wsilbrowser.ESBWSILBrowser.createWSDL(ESBWSILBrowser.java:110)
    at oracle.tip.esb.configuration.wsilbrowser.ESBWSILBrowser.fetch(ESBWSILBrowser.java:62)
    at oracle.tip.esb.configuration.wsilbrowser.WSILBrowserServlet.doGet(WSILBrowserServlet.java:91)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
...

and/or this:

caused by: java.io.InterruptedIOException.    : Connection establishment timed out: Failed to read wsdl file at: 

In the ESBDT file *~1.log in $OH/opmn/logs:

--------
08/04/24 08:30:47 Start process
--------
08/04/24 08:31:41 log4j:WARN No appenders could be found for logger (wsif).
08/04/24 08:31:41 log4j:WARN Please initialize the log4j system properly.
08/04/24 08:31:53 Oracle Containers for J2EE 10g (10.1.3.3.0)  initialized
08/04/24 08:33:11 oracle.tip.esb.console.exception.ConsoleException: An unhandled exception has been thrown in the ESB system.
  The exception reported is: "Error reading import of http://test.com:8888/esb/wsil/Default/testservice?wsdl:
  Failed to read wsdl file at: "http://test.com:8888/esb/slide/Default/temp_slimESB_ESB_test.com/testservice.wsdl", caused by: java.net.UnknownHostException.    : ${http.proxy.host}: ${http.proxy.host}:
  Failed to read wsdl file at: "http://test.com:8888/esb/slide/Default/temp_slimESB_ESB_test.com/testservice.wsdl", caused by: java.net.UnknownHostException.    : ${http.proxy.host}: ${http.proxy.host}:
  java.net.UnknownHostException: ${http.proxy.host}: ${http.proxy.host}
    at java.net.InetAddress.getAllByName0(InetAddress.java:1128)
    at java.net.InetAddress.getAllByName0(InetAddress.java:1098)
    at java.net.InetAddress.getAllByName(InetAddress.java:1061)
    at HTTPClient.HTTPConnection$6.run(HTTPConnection.java:4855)
    at java.security.AccessController.doPrivileged(Native Method)
    at HTTPClient.HTTPConnection.privilegedInetAddressGetAllByName(HTTPConnection.java:4850)
    at HTTPClient.HTTPConnection.access$000(HTTPConnection.java:213)
    at HTTPClient.HTTPConnection$EstablishConnection.run(HTTPConnection.java:3770)

    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:282)
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:712)
    at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseDefinition(WSDLReaderImpl.java:640)
.
.
.

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