This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes Simple Webclient -lib issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Simple Webclient -lib issues" Watch "Simple Webclient -lib issues" New topic
Author

Simple Webclient -lib issues

Angeline G Fernando
Greenhorn

Joined: Jun 30, 2009
Posts: 6
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

Joined: Oct 04, 2006
Posts: 2198
    
    1
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

Joined: Jun 30, 2009
Posts: 6
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..
 
 
subject: Simple Webclient -lib issues
 
Similar Threads
Configurilng EJB 3 with Eclipse
Ant building error
can't run app outside Netbeans - (javafx - ejb - glassfish)
File upload
GlassFish wouldn't start on Red Hat Linux server