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
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