<property environment="env" /> <property name="wsdl.uri" value="http://localhost:9080/xfire-book-1.2.6/services/BookService?wsdl" /> <property name="service.target" value="build/service" /> <property name="client.target" value="build/client" /> <path id="axis2.classpath"> <fileset dir="lib"> <include name="*.jar" /> </fileset> </path> <!-- ================================= target: wsdl2java ================================= --> <target name="wsdl2java" depends="" description="description"> <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true" classpathref="axis2.classpath"> <arg line="-uri ${wsdl.uri}" /> <arg line="-u" /> <arg line="-ap" /> <arg line="-p samples.databinding" /> <arg line="-d none" /> <arg line="-t" /> <arg line="-o ${client.target}" /> </java> </target>