• 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

Wsdl2java Issues

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I use wsdl2java to generate the java objects from a WSDL. I have the following mapping in my NStoPkg.properties file:



When I run wsdl2java, i get the following messages logged out:



These messages (and the lack of java objects in my target directory) tells me that no objects in either the namespace "urn:mbtu/wsdl" or the namespace "urn:mbtu/types" was generated. Note that all objects in the namespace "common/types" (the third namespace I defined in my NStoPkg.properties file) does generate perfectly!

Why is this? The logged messages say that QName "mbtu/types" and "mbtu/wsdl" isn't included. Included in what? It is definitely defined in my NStoPkg.properties file. What config/step am I missing?

Kind regards and thanks in advance.

 
H Bhoon
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
Solved my own problem eventually! I'm posting this reply in case anybody else ever has this same problem and happens upon this post. I run wsdl2java from my Eclipse workspace using Maven. In my project's pom.xml I needed to include the following namespace includes list (thus my "excluding code generation for non-included QName" error):



Kind regards,
hb
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic