There's a maven plugin though. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.test</groupId> <artifactId>hello</artifactId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <name>hello</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.axis2</groupId> <artifactId>axis2-java2wsdl-maven-plugin</artifactId> <configuration> <className>com.foo.myservice.MyHandler</className> </configuration> <executions> <execution> <goals> <goal>java2wsdl</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>
Or you can call the AXIS2_HOME/bin/java2wsdl.sh command line program using an Ant <java /> task You can also deploy a Java class as a web service directly. Check this link http://ws.apache.org/axis2/1_3/pojoguide.html Upul On Nov 16, 2007 1:26 PM, Simon Steinacker <[EMAIL PROTECTED]> wrote: > Hello, > > Is there a way to generate a webservice from a java class using an ant > task? I couldn't find nice documentation about that :( > > thanks, > Simon > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
