• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

Missing wsdl namespace on wsdl file generated using wsgen

 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Yeast devil! Back to the oven that baked you! And take this tiny ad too:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic