• 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

Simple Webclient -lib issues

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to write a simple web client that accesses a webservice using the glassfish 2.1 server.
Have included the glassfish jars in my ant file..However the wsimport generates files with errors for
"import javax.xml.bind.annotation.XmlSeeAlso;" and import javax.xml.ws.WebServiceFeature;

What else do I have to include..My understanding was that the jax-ws lib files were in the SDK
Thanks
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
Try out JARFinder http://www.jarfinder.com for issues like this.
It seems like the annotation XmlSeeAlso is not available in JavaSE6, but you have to look in, for instance, JAXB 2.1.
Other alternatives on here: http://www.jarfinder.com/index.php/java/info/javax.xml.bind.annotation.XmlSeeAlso
Best wishes!
 
Angeline G Fernando
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ivan Krizsan wrote:Hi!
Try out JARFinder http://www.jarfinder.com for issues like this.
It seems like the annotation XmlSeeAlso is not available in JavaSE6, but you have to look in, for instance, JAXB 2.1.
Other alternatives on here: http://www.jarfinder.com/index.php/java/info/javax.xml.bind.annotation.XmlSeeAlso
Best wishes!



Thanks for the Hint..Will check that out too for further issues..
This worked fine when I changed the ant files to point to jdk 1.6 wsimport instead of the glassfish library
Thank You..
reply
    Bookmark Topic Watch Topic
  • New Topic