This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple Webclient -lib issues

 
Angeline G Fernando
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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..
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic