Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAXB Problem...Any help ??  RSS feed

 
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
 
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
 
Would you like to try a free sample? Today we are featuring tiny ads:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!