Meaningless Drivel is fun!
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


Win a copy of Building Microservices this week in the Design forum!
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: javax.xml.ws.Service problem
 
jQuery in Action, 3rd edition