Axis 2: compiling the examples, ant build scripts?

B

bruce_phipps

Axis 2 newbie.
I have downloaded and installed Axis2 in my Tomcat container ok.

Now I want to code some simple web services as outlined in the Axis2
User Guide.
But the sample source included files in
\axis2-std-1.0-bin
don't seem to include ant build scripts...just some build scripts for
running the test classes as far as I can see...

-----
<project name="samples" default="alltests">
<property name="mainDir" value="../.."/>
<path id="axis.classpath">
<fileset dir="../../lib">
<include name="*.jar"/>
</fileset>
<pathelement location="./sample.jar"/>
</path>
<path id="sample.classpath">
<path refid="axis.classpath"/>
</path>

<target name="alltests"

depends="testEchoBlockingClient,testEchoBlockingDualClient,testEchoNonBlockingDualClient,testPingClient,testWebServiceWithModuleClient">
</target>

<target name="testEchoBlockingClient">
<java classname="userguide.clients.EchoBlockingClient"
classpathref="axis.classpath" fork="true">
<jvmarg value="-Daxis2.repo=${mainDir}"/>
</java>
</target>
<target name="testEchoBlockingDualClient">
<java classname="userguide.clients.EchoBlockingDualClient"
classpathref="axis.classpath" fork="true">
<jvmarg value="-Daxis2.repo=${mainDir}"/>
</java>
</target>
<target name="testEchoNonBlockingDualClient">
<java classname="userguide.clients.EchoNonBlockingDualClient"
classpathref="axis.classpath" fork="true">
<jvmarg value="-Daxis2.repo=${mainDir}"/>
</java>
</target>
<target name="testPingClient">
<java classname="userguide.clients.PingClient"
classpathref="axis.classpath" fork="true">
<jvmarg value="-Daxis2.repo=${mainDir}"/>
</java>
</target>
<target name="testWebServiceWithModuleClient">
<java
classname="userguide.clients.ClientForWebServiceWithModule"
classpathref="axis.classpath" fork="true">
<jvmarg value="-Daxis2.repo=${mainDir}"/>
</java>
</target>

<target name="testEchoNonBlockingClient">
<java classname="userguide.clients.EchoNonBlockingClient"
classpathref="axis.classpath" fork="true">
<jvmarg value="-Daxis2.repo=${mainDir}"/>
</java>
</target>
</project>
----
Is it just a matter of me including \axis2-std-1.0-bin\lib in my
classpath if I want to compile using axis classes?

Thanks
Bruce
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top