• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jax-WS 2.1 can hit the wsdl in the browser but the client cannot find it.

 
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I run the webservice and hit the wsdl just fine from the browser. But the client when goes into the following method:
public javax.xml.ws.spi.ServiceDelegate createServiceDelegate(java.net.URL wsdlDocumentLocation, javax.xml.namespace.QName serviceName, java.lang.Class serviceClass) { /* compiled code */ }

throws:

javax.xml.ws.WebServiceException

and the cause is:

java.io.FileNotFoundException: http://localhost:8080/services/WebService?wsdl

the message is:

Failed to access the WSDL at: http://localhost:8080/services/WebService?wsdl. It failed with:
http://localhost:8080/services/WebService?wsdl.

heeeelp please.
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
Just curious; have you tried accessing the web service using soapUI?
If so, does it also fail?
Best wishes!
 
John Landon
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ivan Krizsan wrote:Hi!
Just curious; have you tried accessing the web service using soapUI?
If so, does it also fail?
Best wishes!



I do not know how
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
You can download soapUI from http://eviware.com/
...and here is a description on how to use it: http://www.soapui.org/Getting-Started/your-first-soapui-project.html
Best wishes!
 
John Landon
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ivan Krizsan wrote:Hi!
You can download soapUI from http://eviware.com/
...and here is a description on how to use it: http://www.soapui.org/Getting-Started/your-first-soapui-project.html
Best wishes!



It says error importing wsdl
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
Well, if soapUI isn't able to access the service, then the problem most likely is not your client.
Can you supply the code of your web service and some information concerning the container to which you deploy it?
If you have a Eclipse or NetBeans project, then that would be even better.
Best wishes!
 
reply
    Bookmark Topic Watch Topic
  • New Topic