java.net.MalformedURLException Unknown Protocol Error when Invoking ESB Webservice Using SOAP URL

(Doc ID 1231945.1)

Last updated on MARCH 08, 2017

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 15-Mar-2012***


Symptoms

When trying to invoke a ESB webservice using the SOAP URL shown in the ESB console the following error occurs:

java.net.MalformedURLException: unknown protocol: esb
at java.net.URL.<init>(URL.java:574)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at oracle.tip.esb.model.entity.Service.loadWSDLOperations(Service.java:128)
at oracle.tip.esb.model.entity.ServiceOperation.getFaults(ServiceOperation.java:161)
at oracle.tip.esb.console.util.XMLGenerator.buildOperationXML(XMLGenerator.java:606)
at oracle.tip.esb.console.util.XMLGenerator.addOperations(XMLGenerator.java:499)
at oracle.tip.esb.console.util.XMLGenerator.buildServiceXML(XMLGenerator.java:104)
at oracle.tip.esb.console.XMLConsoleManagerImpl.getService(XMLConsoleManagerImpl.java:1539)
at oracle.tip.esb.console.XMLConsoleManagerImpl.getService(XMLConsoleManagerImpl.java:1533)
at oracle.tip.esb.console.XMLConsoleManagerImpl.getService(XMLConsoleManagerImpl.java:1446)
at oracle.tip.esb.configuration.servlet.command.GetServiceXMLCommand.execute(GetServiceXMLCommand.java:95)
at oracle.tip.esb.configuration.servlet.CommandServlet.doJob(CommandServlet.java:109)
at oracle.tip.esb.configuration.servlet.CommandServlet.doPost(CommandServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)

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