This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Missing wsdl namespace on wsdl file generated using wsgen Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Missing wsdl namespace on wsdl file generated using wsgen" Watch "Missing wsdl namespace on wsdl file generated using wsgen" New topic
Author

Missing wsdl namespace on wsdl file generated using wsgen

Cory Max
Ranch Hand

Joined: Jul 20, 2005
Posts: 83
Hi Everyone,

I'm new to jax-ws web services but everything seems to be going pretty well. I have created a class and exposed it as a service and deployed it. I use the wsgen tool to create a wsdl file for me. My problem is that my wsdl file is missing the wsdl namespace prefix on some of it tags for example, my generated wsdl file is as follows:



What I would like is for the defenitions tag and types tags to be prefixed with wsdl:.

How can I get this to happen?

Thanks,

Cory


There are only 10 types of people in this world... Those who understand binary and those who don't.
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
The namespace declaration xmlns="http://schemas.xmlsoap.org/wsdl/" makes the WSDL namespace the default namespace - that means that for example definitions actually means {http://schemas.xmlsoap.org/wsdl/}definitions. Therefore no prefix is required.

Ronald Bourret's XML Namespaces FAQ
James Clark: XML Namespaces
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Missing wsdl namespace on wsdl file generated using wsgen
 
Similar Threads
Query regarding RPC/Document Style,WSGEN and WSIMPORT
MTOM example
JAX-WS wsgen using Maven2
Https and wsdl
Calculator example