This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes JAXB Problem...Any help ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAXB Problem...Any help ??" Watch "JAXB Problem...Any help ??" New topic
Author

JAXB Problem...Any help ??

Muks Sam
Ranch Hand

Joined: Apr 09, 2004
Posts: 47

Hi Fellas,

GA, Gm whatever...

I got a problem. I am using ANT built-in under jwsdp-2.0 with jdk1.5.0_19. When I am running ANT script, JAXB build script is generating the classes according to my XSD but it is not generating the interfaces and IMPL folders. Can anybody help me in figuring out, what could be problem?

Please treat this as urgent.....

Thanks

- M
Lalit Bhatt
Ranch Hand

Joined: Dec 27, 2007
Posts: 69
Just a guess:

The JAXB scripts will only generate the mapping classes. JAXB is only meant for mapping.

If you are looking for generating the interface and implementation classes use wsimport and point it to wsdl. wsimport comes with JDK6+ . You are using JDK5 so look into your server documentation, there must be a wsimport or similar tool. Otherwise download Metro and and you will get that tool. wsimport will generate your JAXB mapping classes also. Look at some JAX-WS tutorial


Java-JavaEE Hibernate Spring Spring Roo Web Applications
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAXB Problem...Any help ??
 
Similar Threads
ant schemagen task
JAXB 2.0 binding Problem - Need Some help
JAXB Problem - Need Help
java.lang.NoSuchFieldError: ALL...............pls help!!!!!!!!!!!!!!!
Ant Build Problem