Skip to main content

Using WsImport in Ant

No replies
kirillcool
Offline
Joined: 2004-11-17
Points: 0

Following the documentation at [1] i've added a wsimport Ant task, and it requires the jax-ws tools in its definition. The jaxws-tools.jar is not enough, and i find myself adding more and more jars (such as jaxb-impl.jar, jaxb-xjc.jar) to the classpath.

My real question is - how does wsimport.exe work? Does it download those jars from the net? Or does it use some of the JDK jars to create and compile the classes based on the specific WSDL?

Thanks
Kirill

[1] http://java.sun.com/webservices/docs/2.0/jaxws/wsimport.html