JBoss Community

java.net.MalformedURLException: no protocol

created by Steve Jagels in JBoss Web Services - View the full discussion

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.

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community