| 1 |
<?xml version="1.0"?> |
| 2 |
<!DOCTYPE project [ |
| 3 |
<!ENTITY properties SYSTEM "file:../../../../xmls/properties.xml"> |
| 4 |
<!ENTITY paths SYSTEM "file:../../../../xmls/path_refs.xml"> |
| 5 |
<!ENTITY taskdefs SYSTEM "file:../../../../xmls/taskdefs.xml"> |
| 6 |
<!ENTITY taskdefs_post_compile SYSTEM "file:../../../../xmls/taskdefs_post_compile.xml"> |
| 7 |
<!ENTITY targets SYSTEM "file:../../../../xmls/targets.xml"> |
| 8 |
]> |
| 9 |
|
| 10 |
<!-- =================================================================== |
| 11 |
<description> |
| 12 |
Test/Sample Component file for Axis |
| 13 |
|
| 14 |
Notes: |
| 15 |
This is a build file for use with the Jakarta Ant build tool. |
| 16 |
|
| 17 |
Prerequisites: |
| 18 |
|
| 19 |
jakarta-ant from http://jakarta.apache.org |
| 20 |
|
| 21 |
Build Instructions: |
| 22 |
To compile |
| 23 |
ant compile |
| 24 |
To execute |
| 25 |
ant run |
| 26 |
|
| 27 |
Author: |
| 28 |
Matt Seibert [email protected] |
| 29 |
|
| 30 |
Copyright: |
| 31 |
Copyright (c) 2002-2003 Apache Software Foundation. |
| 32 |
</description> |
| 33 |
==================================================================== --> |
| 34 |
|
| 35 |
<!-- |
| 36 |
|
| 37 |
Build file for code/WSDL generation necessary for interop3/groupE tests. |
| 38 |
|
| 39 |
Notes: |
| 40 |
This is a build file for use with the Jakarta Ant build tool. |
| 41 |
|
| 42 |
Prerequisites: |
| 43 |
A successful Axis build configuration. |
| 44 |
|
| 45 |
Author: |
| 46 |
Glyn Normington <[email protected]> |
| 47 |
|
| 48 |
Copyright: |
| 49 |
Copyright (c) 2002 Apache Software Foundation. |
| 50 |
|
| 51 |
--> |
| 52 |
|
| 53 |
<project name="Interop3GroupE" default="Interop3GroupE.main"> |
| 54 |
<property name="axis.home" location="../../../.." /> |
| 55 |
<property name="componentName" value="test/wsdl/interop3/groupE" /> |
| 56 |
&properties; |
| 57 |
&paths; |
| 58 |
&taskdefs; |
| 59 |
&taskdefs_post_compile; |
| 60 |
&targets; |
| 61 |
<property name="root.dir" value="../../../.."/> |
| 62 |
|
| 63 |
<path id="test-classpath"> |
| 64 |
<pathelement location="${xerces.jar}"/> |
| 65 |
<pathelement location="${regexp.jar}"/> |
| 66 |
<pathelement location="${junit.jar}"/> |
| 67 |
<pathelement location="${j2ee.jar}"/> |
| 68 |
<pathelement location="${jsse.jar}"/> |
| 69 |
<pathelement location="${jimi.jar}"/> |
| 70 |
<pathelement location="${tools.jar}"/> |
| 71 |
<pathelement location="${xmlsec.jar}"/> |
| 72 |
<fileset dir="${lib.dir}"> |
| 73 |
<include name="*.jar"/> |
| 74 |
</fileset> |
| 75 |
<pathelement path="${java.class.path}"/> |
| 76 |
<pathelement location="${build.dest}" /> |
| 77 |
<pathelement location="${build.dir}/tools" /> |
| 78 |
</path> |
| 79 |
|
| 80 |
<taskdef name="wsdl2java" classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask"> |
| 81 |
<classpath refid="test-classpath" /> |
| 82 |
</taskdef> |
| 83 |
|
| 84 |
<taskdef name="java2wsdl" classname="org.apache.axis.tools.ant.wsdl.Java2WsdlAntTask"> |
| 85 |
<classpath refid="test-classpath" /> |
| 86 |
</taskdef> |
| 87 |
|
| 88 |
<target name="Interop3GroupE.main"> |
| 89 |
|
| 90 |
<!-- Use this to check the classpath if the ANT Task fails... --> |
| 91 |
<!-- |
| 92 |
<property name="test-classpath.property" refid="test-classpath"/> |
| 93 |
<echo message="Classpath for Interop3GroupE : ${test-classpath.property}"/> |
| 94 |
--> |
| 95 |
|
| 96 |
<!-- Copy files to work directory --> |
| 97 |
<copy todir="${build.dir}/work/test/wsdl/interop3/groupE" overwrite="yes"> |
| 98 |
<fileset dir="${test.dir}/wsdl/interop3/groupE"> |
| 99 |
<include name="**.java"/> |
| 100 |
<include name="**.wsdd"/> |
| 101 |
</fileset> |
| 102 |
</copy> |
| 103 |
|
| 104 |
<!-- Compile Java --> |
| 105 |
<javac srcdir="${build.dir}/work" destdir="${build.dest}" nowarn="${nowarn}" source="${source}" |
| 106 |
debug="${debug}"> |
| 107 |
<classpath refid="test-classpath" /> |
| 108 |
<include name="test/wsdl/interop3/groupE/**.java" /> |
| 109 |
<exclude name="test/wsdl/interop3/groupE/*TestCase.java" /> |
| 110 |
<exclude name="test/wsdl/interop3/groupE/*Impl.java" /> |
| 111 |
<exclude name="test/wsdl/interop3/groupE/PackageTests.java" /> |
| 112 |
</javac> |
| 113 |
|
| 114 |
<!-- Now create WSDL files from the Java classes --> |
| 115 |
<echo message="${axis.home}/test/wsdl/interop3/groupE/InteropTestDocLit is rpc/enc and should be doc/lit"/> |
| 116 |
<java2wsdl output="${axis.home}/build/work/test/wsdl/interop3/groupE/InteropTestDocLit.wsdl" |
| 117 |
className="test.wsdl.interop3.groupE.InteropTestDocLit" |
| 118 |
namespace="http://soapinterop.org/WSDLInteropTestDocLit" |
| 119 |
location="http://localhost:8080/axis/services/InteropTestDocLit"> |
| 120 |
<mapping namespace="http://soapinterop.org/xsd" |
| 121 |
package="test.wsdl.interop3.groupE"/> |
| 122 |
</java2wsdl> |
| 123 |
<java2wsdl output="${axis.home}/build/work/test/wsdl/interop3/groupE/InteropTestRpcEnc.wsdl" |
| 124 |
className="test.wsdl.interop3.groupE.InteropTestRpcEnc" |
| 125 |
namespace="http://soapinterop.org/WSDLInteropTestRpcEnc" |
| 126 |
location="http://localhost:8080/axis/services/InteropTestRpcEnc"> |
| 127 |
<mapping namespace="http://soapinterop.org/xsd" |
| 128 |
package="test.wsdl.interop3.groupE"/> |
| 129 |
</java2wsdl> |
| 130 |
<java2wsdl output="${axis.home}/build/work/test/wsdl/interop3/groupE/InteropTestList.wsdl" |
| 131 |
className="test.wsdl.interop3.groupE.InteropTestList" |
| 132 |
namespace="http://soapinterop.org/WSDLInteropTestList" |
| 133 |
location="http://localhost:8080/axis/services/InteropTestList"> |
| 134 |
<mapping namespace="http://soapinterop.org/xsd" |
| 135 |
package="test.wsdl.interop3.groupE"/> |
| 136 |
</java2wsdl> |
| 137 |
|
| 138 |
<!-- Create Java files from the WSDL --> |
| 139 |
<wsdl2java url="${axis.home}/build/work/test/wsdl/interop3/groupE/InteropTestDocLit.wsdl" |
| 140 |
output="${axis.home}/build/work" |
| 141 |
deployscope="session" |
| 142 |
noimports="no" |
| 143 |
verbose="no" |
| 144 |
testcase="no"> |
| 145 |
<mapping namespace="http://soapinterop.org/WSDLInteropTestDocLit" |
| 146 |
package="test.wsdl.interop3.groupE.client"/> |
| 147 |
<mapping namespace="http://soapinterop.org/xsd" |
| 148 |
package="test.wsdl.interop3.groupE.client"/> |
| 149 |
</wsdl2java> |
| 150 |
<wsdl2java url="${axis.home}/build/work/test/wsdl/interop3/groupE/InteropTestRpcEnc.wsdl" |
| 151 |
output="${axis.home}/build/work" |
| 152 |
deployscope="session" |
| 153 |
noimports="no" |
| 154 |
verbose="no" |
| 155 |
testcase="no"> |
| 156 |
<mapping namespace="http://soapinterop.org/WSDLInteropTestRpcEnc" |
| 157 |
package="test.wsdl.interop3.groupE.client"/> |
| 158 |
<mapping namespace="http://soapinterop.org/xsd" |
| 159 |
package="test.wsdl.interop3.groupE.client"/> |
| 160 |
</wsdl2java> |
| 161 |
<wsdl2java url="${axis.home}/build/work/test/wsdl/interop3/groupE/InteropTestList.wsdl" |
| 162 |
output="${axis.home}/build/work" |
| 163 |
deployscope="session" |
| 164 |
noimports="no" |
| 165 |
verbose="no" |
| 166 |
testcase="no"> |
| 167 |
<mapping namespace="http://soapinterop.org/WSDLInteropTestList" |
| 168 |
package="test.wsdl.interop3.groupE.client"/> |
| 169 |
<mapping namespace="http://soapinterop.org/xsd" |
| 170 |
package="test.wsdl.interop3.groupE.client"/> |
| 171 |
</wsdl2java> |
| 172 |
|
| 173 |
<!-- Copy files to work directory --> |
| 174 |
<copy todir="${build.dir}/work/test/wsdl/interop3/groupE/client" overwrite="yes"> |
| 175 |
<fileset dir="${test.dir}/wsdl/interop3/groupE/client"> |
| 176 |
<include name="**.java"/> |
| 177 |
</fileset> |
| 178 |
</copy> |
| 179 |
|
| 180 |
<!-- Compile Java --> |
| 181 |
<javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="${debug}" source="${source}" nowarn="${nowarn}"> |
| 182 |
<classpath refid="test-classpath" /> |
| 183 |
<include name="test/wsdl/interop3/groupE/**.java" /> |
| 184 |
<include name="test/wsdl/interop3/groupE/client/**.java" /> |
| 185 |
</javac> |
| 186 |
|
| 187 |
<echo message="end of InteropTestSuite.main"/> |
| 188 |
<echo message=""/> |
| 189 |
</target> |
| 190 |
</project> |