0 Replies Latest reply on Jan 27, 2011 2:50 PM by Steve Jagels

    java.net.MalformedURLException: no protocol

    Steve Jagels Newbie

      I have a consumer app accessing a web service fine on my dev box.  But on the test server it encounters this error:

       

      java.net.MalformedURLException: no protocol

      ...

      WARN  [org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl] Cannot get port meta data for: {http://service.SentinelWS.esln.mbh.com/}SentinelWSPort

       

      The line causing the problem seems to be:

       

      url = new URL("http://stlmof5-qacst/SentinelWS/Sentinel?wsdl");   //on test server.  Causing error

       

      url = new URL("http://localhost:8080/SentinelWS/Sentinel?wsdl");   //on dev site.  working fine.

       

      when I temporarily have my dev consumer access the web service on the test server, it works fine.

       

      When I temporarily have the consumer app on the test server access the web service on my dev box, that also works fine.

       

      Any ideas for this?

       

      I'm using jboss 4.2.3.GA, jdk 1.5.0.17.