File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring 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 Software Development Business Process Analysis
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAXB Problem...Any help ??