Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Wsdl2java Issues

 
H Bhoon
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic