[jboss-user] [JBoss Web Services] - java.net.MalformedURLException: no protocol

Steve Jagels do-not-reply at jboss.com
Thu Jan 27 14:50:48 EST 2011

Steve Jagels [http://community.jboss.org/people/sej] created the discussion

"java.net.MalformedURLException: no protocol"

To view the discussion, visit: http://community.jboss.org/message/583725#583725

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/ http://service.SentinelWS.esln.mbh.com/}SentinelWSPort

The line causing the problem seems to be:

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

url = new URL(" http://localhost:8080/SentinelWS/Sentinel?wsdl 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

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110127/b110fa17/attachment.html 

More information about the jboss-user mailing list