• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JAXB Problem...Any help ??

 
Ranch Hand
Posts: 47
MyEclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic