File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes javax.xml.ws.Service problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "javax.xml.ws.Service problem" Watch "javax.xml.ws.Service problem" New topic
Author

javax.xml.ws.Service problem

Lukas Gorski
Greenhorn

Joined: Oct 09, 2009
Posts: 2
Hi everybody,

I'm having a problem with javax.xml.ws.Service.
When I write:



Following error schows up:




Do you know how to solve this problem ?

Thanks in advance
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
When you create the QName instance that is to identify the service, you do not supply the namespace of the service (the <wsdl:service> element).
A correct way of creating the QName can look like this:

Best wishes!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax.xml.ws.Service problem