Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAXB Problem...Any help ??

 
Muks Sam
Ranch Hand
Posts: 47
Java MyEclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 69
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic