It's not a secret anymore!*
The moose likes Web Services and the fly likes Wsdl2java Issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Wsdl2java Issues" Watch "Wsdl2java Issues" New topic

Wsdl2java Issues

H Bhoon

Joined: May 18, 2009
Posts: 7
Hi all,
I use wsdl2java to generate the java objects from a WSDL. I have the following mapping in my 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 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 file. What config/step am I missing?

Kind regards and thanks in advance.

H Bhoon

Joined: May 18, 2009
Posts: 7
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,
I agree. Here's the link:
subject: Wsdl2java Issues
Similar Threads
Java Integer Object in Axis - WSDL
JSF Example Error
please answer this 128 questions for WLS. Urgently!
WSAD5.1 WebService Client failure?
Apache HTTP Server is not responding on 100 User Load