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 1.5.0.17.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/583725#583725]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]