| 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 |
<project default="compile"> |
| 36 |
<property name="axis.home" location="../../.." /> |
| 37 |
<property name="componentName" value="test/wsdl/interop" /> |
| 38 |
&properties; |
| 39 |
&paths; |
| 40 |
&taskdefs; |
| 41 |
&taskdefs_post_compile; |
| 42 |
&targets; |
| 43 |
|
| 44 |
<target name="clean"> |
| 45 |
<echo message="Removing ${build.dir}/classes/${componentName} and ${build.dir}/work/${componentName}" /> |
| 46 |
<delete dir="${build.dir}/classes/${componentName}"/> |
| 47 |
<delete dir="${build.dir}/work/${componentName}"/> |
| 48 |
</target> |
| 49 |
|
| 50 |
<target name="copy" depends="setenv"> |
| 51 |
<ant inheritAll="${ant.inheritAll}" inheritRefs="${ant.inheritRefs}" dir="${axis.home}/samples/addr" antfile="build.xml" target="compile" /> |
| 52 |
<ant inheritAll="${ant.inheritAll}" inheritRefs="${ant.inheritRefs}" dir="${axis.home}/samples/echo" antfile="build.xml" target="compile" /> |
| 53 |
<ant inheritAll="${ant.inheritAll}" inheritRefs="${ant.inheritRefs}" dir="${axis.home}/samples/jaxrpc" antfile="build.xml" target="compile" /> |
| 54 |
</target> |
| 55 |
|
| 56 |
<target name="compile" depends="copy" > |
| 57 |
<!-- Use this to check the classpath if the ANT Task fails... --> |
| 58 |
|
| 59 |
<copy todir="${build.dir}/work/samples" overwrite="yes"> |
| 60 |
<fileset dir="${samples.dir}"> |
| 61 |
<include name="**/userguide/example6/"/> |
| 62 |
</fileset> |
| 63 |
</copy> |
| 64 |
|
| 65 |
<copy todir="${build.dir}/classes" overwrite="yes"> |
| 66 |
<fileset dir="${test.dir}/wsdl/_import"> |
| 67 |
<include name="NStoPkg.properties"/> |
| 68 |
</fileset> |
| 69 |
</copy> |
| 70 |
<copy todir="${build.dir}/work/samples" overwrite="yes"> |
| 71 |
<fileset dir="${samples.dir}"> |
| 72 |
<include name="**/userguide/example6/"/> |
| 73 |
</fileset> |
| 74 |
</copy> |
| 75 |
|
| 76 |
<!-- Compile the sample code --> |
| 77 |
<javac srcdir="${axis.home}" destdir="${build.dest}" nowarn="${nowarn}" source="${source}" fork="${javac.fork}" |
| 78 |
debug="${debug}"> |
| 79 |
<classpath> |
| 80 |
<pathelement location="${build.lib}/${name}.jar"/> |
| 81 |
<pathelement location="${build.lib}/${jaxrpc}.jar"/> |
| 82 |
<pathelement location="${build.lib}/${saaj}.jar"/> |
| 83 |
<path refid="classpath"/> |
| 84 |
</classpath> |
| 85 |
<include name="samples/userguide/example6/*.java" /> |
| 86 |
<exclude name="samples/userguide/example6/Main.java" /> |
| 87 |
<exclude name="samples/userguide/example6/*Impl.java" /> |
| 88 |
<exclude name="samples/userguide/example6/*TestCase.java" /> |
| 89 |
</javac> |
| 90 |
|
| 91 |
<echo message="Running WSDL2Java and Java2WSDL Emitters"/> |
| 92 |
|
| 93 |
<!-- WidgetPrice Java to WSDL Samples --> |
| 94 |
<java2wsdl output="${axis.home}/build/work/samples/userguide/example6/WidgetPrice.wsdl" |
| 95 |
className= "samples.userguide.example6.WidgetPrice" |
| 96 |
namespace="urn:Example6" |
| 97 |
location="http://localhost:8080/axis/services/WidgetPrice"> |
| 98 |
<mapping namespace="urn:Example6" package="samples.userguide.example6"/> |
| 99 |
</java2wsdl> |
| 100 |
<wsdl2java url="${axis.home}/build/work/samples/userguide/example6/WidgetPrice.wsdl" |
| 101 |
output="${axis.home}/build/work" |
| 102 |
deployscope="session" |
| 103 |
serverSide="yes" |
| 104 |
skeletonDeploy="yes" |
| 105 |
noimports="no" |
| 106 |
verbose="no" |
| 107 |
testcase="yes"> |
| 108 |
<mapping namespace="urn:Example6" package="samples.userguide.example6"/> |
| 109 |
</wsdl2java> |
| 110 |
|
| 111 |
<!-- Import Test 1: some namespace->package mappings from the --> |
| 112 |
<!-- command line, some generated, some from --> |
| 113 |
<!-- NStoPkg.properties. --> |
| 114 |
<wsdl2java url="${axis.home}/test/wsdl/_import/Import.wsdl" |
| 115 |
output="${axis.home}/build/work" |
| 116 |
deployscope="none" |
| 117 |
serverSide="yes" |
| 118 |
skeletonDeploy="yes" |
| 119 |
noimports="no" |
| 120 |
verbose="no" |
| 121 |
testcase="yes"> |
| 122 |
<mapping namespace="urn:import" package="test.wsdl.import"/> |
| 123 |
<mapping namespace="urn:importBinding1" package="test.wsdl.import.binding1"/> |
| 124 |
<mapping namespace="urn:importBinding2" package="test.wsdl.import.binding2"/> |
| 125 |
</wsdl2java> |
| 126 |
|
| 127 |
<!-- Import Test 2: all namespace->package mappings from the --> |
| 128 |
<!-- command line. --> |
| 129 |
<wsdl2java url="${axis.home}/test/wsdl/_import/Import.wsdl" |
| 130 |
output="${axis.home}/build/work" |
| 131 |
deployscope="none" |
| 132 |
serverSide="yes" |
| 133 |
skeletonDeploy="yes" |
| 134 |
noimports="no" |
| 135 |
verbose="no" |
| 136 |
testcase="yes"> |
| 137 |
<mapping namespace="urn:import" package="test.import2"/> |
| 138 |
<mapping namespace="urn:importBinding1" package="test.import2.binding1"/> |
| 139 |
<mapping namespace="urn:importBinding2" package="test.import2.binding2"/> |
| 140 |
<mapping namespace="urn:types.import.test" package="test.import2.types"/> |
| 141 |
<mapping namespace="urn:iface.import.test" package="test.import2.iface"/> |
| 142 |
<mapping namespace="urn:messages.import.test" package="test.import2.messages"/> |
| 143 |
</wsdl2java> |
| 144 |
|
| 145 |
<!-- Import Test 3: all namespace->package mappings from the --> |
| 146 |
<!-- command line. Make sure an xsd:import --> |
| 147 |
<!-- statement inside a schema inside a type --> |
| 148 |
<!-- works properly. --> |
| 149 |
<wsdl2java url="${axis.home}/test/wsdl/_import/ImportMessagesXSDImport.wsdl" |
| 150 |
output="${axis.home}/build/work" |
| 151 |
noimports="no"> |
| 152 |
<mapping namespace="urn:types.import.test" package="test.import.test3"/> |
| 153 |
</wsdl2java> |
| 154 |
|
| 155 |
<!-- Another import test: relative references via ../.. --> |
| 156 |
<wsdl2java url="${axis.home}/test/wsdl/import2/service1/service2/testimport.wsdl" |
| 157 |
output="${axis.home}/build/work" |
| 158 |
serverSide="yes" |
| 159 |
skeletonDeploy="yes" |
| 160 |
noimports="no"> |
| 161 |
<mapping namespace="http://test.globus.org/importtest" package="test.wsdl.import2"/> |
| 162 |
<mapping namespace="http://test.globus.org/interface" package="test.wsdl.import2.interface"/> |
| 163 |
<mapping namespace="http://test.globus.org/types" package="test.wsdl.import2.types"/> |
| 164 |
</wsdl2java> |
| 165 |
|
| 166 |
<!-- SOAPBuilders Interoperability Lab "Round 1" --> |
| 167 |
<!-- http://www.xmethods.net/ilab/ --> |
| 168 |
<wsdl2java url="http://www.xmethods.net/tmodels/InteropTest.wsdl" |
| 169 |
output="${axis.home}/build/work" |
| 170 |
deployscope="none" |
| 171 |
serverSide="yes" |
| 172 |
skeletonDeploy="yes" |
| 173 |
noimports="no" |
| 174 |
verbose="no" |
| 175 |
testcase="no"> |
| 176 |
<mapping namespace="http://soapinterop.org/" package="net.xmethods"/> |
| 177 |
<mapping namespace="http://soapinterop.org/xsd" package="net.xmethods"/> |
| 178 |
</wsdl2java> |
| 179 |
<!-- SOAPBuilders Interoperability Lab "Round 2" --> |
| 180 |
<!-- http://www.whitemesa.com/interop.htm --> |
| 181 |
<wsdl2java url="http://soapinterop.java.sun.com/round2/base?WSDL" |
| 182 |
output="${axis.home}/build/work" |
| 183 |
deployscope="none" |
| 184 |
serverSide="yes" |
| 185 |
skeletonDeploy="yes" |
| 186 |
noimports="no" |
| 187 |
verbose="no" |
| 188 |
testcase="no"> |
| 189 |
<mapping namespace="http://soapinterop.org/" package="interop.test"/> |
| 190 |
<mapping namespace="http://soapinterop.org/xsd" package="interop.test"/> |
| 191 |
</wsdl2java> |
| 192 |
<wsdl2java url="http://soapinterop.java.sun.com/round2/groupb?WSDL" |
| 193 |
output="${axis.home}/build/work" |
| 194 |
deployscope="none" |
| 195 |
serverSide="yes" |
| 196 |
skeletonDeploy="yes" |
| 197 |
noimports="no" |
| 198 |
verbose="no" |
| 199 |
testcase="no"> |
| 200 |
<mapping namespace="http://soapinterop.org/" package="interop.testb"/> |
| 201 |
<mapping namespace="http://soapinterop.org/xsd" package="interop.testb"/> |
| 202 |
</wsdl2java> |
| 203 |
<!-- More information at: http://www.whitemesa.net/ --> |
| 204 |
<!-- <wsdl2java url="http://www.whitemesa.com/wsdl/std/echoheadersvc.wsdl" |
| 205 |
output="${axis.home}/build/work" |
| 206 |
testcase="no" |
| 207 |
deployscope="none" |
| 208 |
serverSide="yes" |
| 209 |
verbose="no" |
| 210 |
noimports="no"> |
| 211 |
<mapping namespace="http://soapinterop.org/" package="interop.echoheadersvc"/> |
| 212 |
<mapping namespace="http://soapinterop.org/xsd" package="interop.echoheadersvc"/> |
| 213 |
</wsdl2java> |
| 214 |
--> |
| 215 |
<!-- http://www.mssoapinterop.org/stk/roundBC.htm --> |
| 216 |
<wsdl2java url="http://mssoapinterop.org/stk/InteropB.wsdl" |
| 217 |
output="${axis.home}/build/work" |
| 218 |
testcase="no" |
| 219 |
deployscope="none" |
| 220 |
serverSide="yes" |
| 221 |
skeletonDeploy="yes" |
| 222 |
verbose="no" |
| 223 |
noimports="no"> |
| 224 |
<mapping namespace="http://soapinterop.org/" package="mssoapinterop.interopb"/> |
| 225 |
<mapping namespace="http://soapinterop.org/xsd" package="mssoapinterop.interopb"/> |
| 226 |
</wsdl2java> |
| 227 |
<wsdl2java url="http://mssoapinterop.org/stk/InteropBtyped.wsdl" |
| 228 |
output="${axis.home}/build/work" |
| 229 |
testcase="no" |
| 230 |
deployscope="none" |
| 231 |
serverSide="yes" |
| 232 |
verbose="no" |
| 233 |
noimports="no"> |
| 234 |
<mapping namespace="http://soapinterop.org/" package="mssoapinterop.interopbtyped"/> |
| 235 |
<mapping namespace="http://soapinterop.org/xsd" package="mssoapinterop.interopbtyped"/> |
| 236 |
</wsdl2java> |
| 237 |
<wsdl2java url="http://mssoapinterop.org/stk/InteropC.wsdl" |
| 238 |
output="${axis.home}/build/work" |
| 239 |
testcase="no" |
| 240 |
deployscope="none" |
| 241 |
serverSide="yes" |
| 242 |
verbose="no" |
| 243 |
noimports="no"> |
| 244 |
<mapping namespace="http://soapinterop.org" package="mssoapinterop.interopc"/> |
| 245 |
<mapping namespace="http://soapinterop.org/" package="mssoapinterop.interopc"/> |
| 246 |
<mapping namespace="http://soapinterop.org/xsd" package="mssoapinterop.interopc"/> |
| 247 |
</wsdl2java> |
| 248 |
<!-- SOAP Builder's round III web services --> |
| 249 |
<!-- interoperability testing: import1 --> |
| 250 |
<!-- (see http://www.whitemesa.com/r3/plan.html) --> |
| 251 |
<!-- Step 1. Start with predefined WSDL --> |
| 252 |
<!-- Step 2. Generate client from predefined WSDL --> |
| 253 |
<!-- Step 3. Test generated client against --> |
| 254 |
<!-- pre-built server --> |
| 255 |
<!-- Step 4. Generate server from predefined WSDL --> |
| 256 |
<!-- Step 5. Test generated client against --> |
| 257 |
<!-- generated server --> |
| 258 |
<!-- Step 6. Generate second client from --> |
| 259 |
<!-- generated server's WSDL (some clients --> |
| 260 |
<!-- can do this dynamically) --> |
| 261 |
<!-- Step 7. Test second generated client against --> |
| 262 |
<!-- generated server --> |
| 263 |
<!-- Step 8. Test second generated client against --> |
| 264 |
<!-- pre-built server --> |
| 265 |
<!-- Steps 1, 2 and 4: --> |
| 266 |
<wsdl2java url="http://soapinterop.java.sun.com/round3/groupd/import1?WSDL" |
| 267 |
output="${axis.home}/build/work" |
| 268 |
serverSide="yes"> |
| 269 |
<mapping namespace="http://soapinterop.org/" package="test.wsdl.interop3.import1"/> |
| 270 |
<mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.import1.definitions"/> |
| 271 |
</wsdl2java> |
| 272 |
<javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="on" nowarn="${nowarn}" source="${source}" fork="${javac.fork}"> |
| 273 |
<classpath refid="classpath" /> |
| 274 |
<include name="test/wsdl/interop3/import1/*.java" /> |
| 275 |
<include name="test/wsdl/interop3/import1/**/*.java" /> |
| 276 |
</javac> |
| 277 |
<!-- Step 3: see test/wsdl/interop3/Import1TestCase.java --> |
| 278 |
<!-- Step 5: see test/wsdl/interop3/Import1TestCase.java --> |
| 279 |
<!-- Step 6: --> |
| 280 |
<java2wsdl output="${axis.home}/build/work/test/wsdl/interop3/import1.wsdl" |
| 281 |
className= "test.wsdl.interop3.import1.definitions.SoapInteropImport1PortType" |
| 282 |
namespace="http://soapinterop.org/definitions/" |
| 283 |
implClass="test.wsdl.interop3.import1.SoapInteropImport1BindingImpl" |
| 284 |
location="http://localhost:8080/axis/services/SoapInteropImport1Port"> |
| 285 |
<mapping namespace="http://soapinterop.org/" package="test.wsdl.interop3.import1"/> |
| 286 |
<mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.import1.definitions"/> |
| 287 |
</java2wsdl> |
| 288 |
|
| 289 |
<wsdl2java url="${axis.home}/build/work/test/wsdl/interop3/import1.wsdl" |
| 290 |
output="${axis.home}/build/work" |
| 291 |
serverSide="yes"> |
| 292 |
<mapping namespace="http://soapinterop.org/" package="test.wsdl.interop3.import1.step6"/> |
| 293 |
<mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.import1.step6.definitions"/> |
| 294 |
</wsdl2java> |
| 295 |
|
| 296 |
<javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="on" nowarn="${nowarn}" source="${source}" fork="${javac.fork}"> |
| 297 |
<classpath refid="classpath" /> |
| 298 |
<include name="test/wsdl/interop3/import1/step6/**/*.java" /> |
| 299 |
</javac> |
| 300 |
|
| 301 |
<!-- Step 7: see test/wsdl/interop3/Import1TestCase.java --> |
| 302 |
<!-- Step 8: see test/wsdl/interop3/Import1TestCase.java --> |
| 303 |
<!-- SOAP Builder's round III web services --> |
| 304 |
<!-- interoperability testing: import2 --> |
| 305 |
<!-- Steps 1, 2 and 4: --> |
| 306 |
<wsdl2java url="http://soapinterop.java.sun.com/round3/groupd/import2?WSDL" |
| 307 |
output="${axis.home}/build/work" |
| 308 |
serverSide="yes"> |
| 309 |
<mapping namespace="http://soapinterop.org/main/" package="test.wsdl.interop3.import2"/> |
| 310 |
<mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.import2.definitions"/> |
| 311 |
<mapping namespace="http://soapinterop.org/xsd" package="test.wsdl.interop3.import2.xsd"/> |
| 312 |
</wsdl2java> |
| 313 |
<javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="on" nowarn="${nowarn}" source="${source}" fork="${javac.fork}"> |
| 314 |
<classpath refid="classpath" /> |
| 315 |
<include name="test/wsdl/interop3/import2/*.java" /> |
| 316 |
</javac> |
| 317 |
<!-- Step 3: see test/wsdl/interop3/Import2TestCase.java --> |
| 318 |
<!-- Step 5: see test/wsdl/interop3/Import2TestCase.java --> |
| 319 |
<!-- Step 6: --> |
| 320 |
<java2wsdl output="${axis.home}/build/work/test/wsdl/interop3/import2.wsdl" |
| 321 |
className= "test.wsdl.interop3.import2.definitions.SoapInteropImport2PortType" |
| 322 |
namespace="http://soapinterop.org/definitions/" |
| 323 |
implClass="test.wsdl.interop3.import2.SoapInteropImport2BindingImpl" |
| 324 |
location="http://localhost:8080/axis/services/SoapInteropImport2Port"> |
| 325 |
<mapping namespace="http://soapinterop.org/main/" package="test.wsdl.interop3.import2"/> |
| 326 |
<mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.import2.definitions"/> |
| 327 |
<mapping namespace="http://soapinterop.org/xsd" package="test.wsdl.interop3.import2.xsd"/> |
| 328 |
</java2wsdl> |
| 329 |
<wsdl2java url="${axis.home}/build/work/test/wsdl/interop3/import2.wsdl" |
| 330 |
output="${axis.home}/build/work" |
| 331 |
serverSide="yes"> |
| 332 |
<mapping namespace="http://soapinterop.org/main/" package="test.wsdl.interop3.import2.step6"/> |
| 333 |
<mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.import2.step6.definitions"/> |
| 334 |
<mapping namespace="http://soapinterop.org/xsd" package="test.wsdl.interop3.import2.step6.xsd"/> |
| 335 |
</wsdl2java> |
| 336 |
<javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="on" nowarn="${nowarn}" source="${source}" fork="${javac.fork}"> |
| 337 |
<classpath refid="classpath" /> |
| 338 |
<include name="test/wsdl/interop3/import2/step6/**/*.java" /> |
| 339 |
</javac> |
| 340 |
<!-- Step 7: see test/wsdl/interop3/Import2TestCase.java --> |
| 341 |
<!-- Step 8: see test/wsdl/interop3/Import2TestCase.java --> |
| 342 |
<!-- SOAP Builder's round III web services --> |
| 343 |
<!-- interoperability testing: absolute import2 --> |
| 344 |
<!-- Steps 1, 2 and 4: --> |
| 345 |
<wsdl2java url="http://www.dolphinharbor.org/services/R3Import2/service.wsdl" |
| 346 |
output="${axis.home}/build/work" |
| 347 |
serverSide="yes"> |
| 348 |
<mapping namespace="http://soapinterop.org/main/" package="test.wsdl.interop3.absimport2"/> |
| 349 |
<mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.absimport2.definitions"/> |
| 350 |
<mapping namespace="http://soapinterop.org/xsd" package="test.wsdl.interop3.absimport2.xsd"/> |
| 351 |
</wsdl2java> |
| 352 |
<javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="on" nowarn="${nowarn}" source="${source}" fork="${javac.fork}"> |
| 353 |
<classpath refid="classpath" /> |
| 354 |
<include name="test/wsdl/interop3/absimport2/*.java" /> |
| 355 |
</javac> |
| 356 |
<!-- Step 3: see test/wsdl/interop3/Import2TestCase.java --> |
| 357 |
<!-- Step 5: see test/wsdl/interop3/Import2TestCase.java --> |
| 358 |
<!-- Step 6: --> |
| 359 |
<!-- Commented out by scheu...not working |
| 360 |
<java2wsdl output="${axis.home}/build/work/test/wsdl/interop3/absimport2.wsdl" |
| 361 |
className= "test.wsdl.interop3.absimport2.definitions.SoapInteropImport2PortType" |
| 362 |
namespace="http://soapinterop.org/definitions/" |
| 363 |
location="http://localhost:8080/axis/services/SoapInteropImport2Port"> |
| 364 |
<mapping namespace="http://soapinterop.org/main/" package="test.wsdl.interop3.absimport2"/> |
| 365 |
<mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.absimport2.definitions"/> |
| 366 |
<mapping namespace="http://soapinterop.org/xsd" package="test.wsdl.interop3.absimport2.xsd"/> |
| 367 |
</java2wsdl> |
| 368 |
<wsdl2java url="${axis.home}/build/work/test/wsdl/interop3/absimport2.wsdl" |
| 369 |
output="${axis.home}/build/work" |
| 370 |
serverSide="yes"> |
| 371 |
<mapping namespace="http://soapinterop.org/main/" package="test.wsdl.interop3.absimport2.step6"/> |
| 372 |
<mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.absimport2.step6.definitions"/> |
| 373 |
<mapping namespace="http://soapinterop.org/xsd" package="test.wsdl.interop3.absimport2.step6.xsd"/> |
| 374 |
</wsdl2java> |
| 375 |
--> |
| 376 |
<!-- Step 7: see test/wsdl/interop3/Import2TestCase.java --> |
| 377 |
<!-- Step 8: see test/wsdl/interop3/Import2TestCase.java --> |
| 378 |
<!-- SOAP Builder's round III web services --> |
| 379 |
<!-- interoperability testing: import3 --> |
| 380 |
<!-- Steps 1, 2 and 4: --> |
| 381 |
<wsdl2java url="http://soapinterop.java.sun.com/round3/groupd/import3?WSDL" |
| 382 |
output="${axis.home}/build/work" |
| 383 |
serverSide="yes"> |
| 384 |
<mapping namespace="http://soapinterop.org/main2/" package="test.wsdl.interop3.import3"/> |
| 385 |
<mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.import3.definitions"/> |
| 386 |
<mapping namespace="http://soapinterop.org/xsd" package="test.wsdl.interop3.import3.xsd"/> |
| 387 |
<mapping namespace="http://soapinterop.org/xsd2" package="test.wsdl.interop3.import3.xsd2"/> |
| 388 |
</wsdl2java> |
| 389 |
<javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="on" nowarn="${nowarn}" source="${source}" fork="${javac.fork}"> |
| 390 |
<classpath refid="classpath" /> |
| 391 |
<include name="test/wsdl/interop3/import3/*.java" /> |
| 392 |
</javac> |
| 393 |
<!-- Step 3: see test/wsdl/interop3/Import3TestCase.java --> |
| 394 |
<!-- Step 5: see test/wsdl/interop3/Import3TestCase.java --> |
| 395 |
<!-- Step 6: --> |
| 396 |
<java2wsdl output="${axis.home}/build/work/test/wsdl/interop3/import3.wsdl" |
| 397 |
className= "test.wsdl.interop3.import3.SoapInteropImport3PortType" |
| 398 |
namespace="http://soapinterop.org/definitions/" |
| 399 |
implClass="test.wsdl.interop3.import3.SoapInteropImport3BindingImpl" |
| 400 |
location="http://localhost:8080/axis/services/SoapInteropImport3Port"> |
| 401 |
<mapping namespace="http://soapinterop.org/main2/" package="test.wsdl.interop3.import3"/> |
| 402 |
<mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.import3.definitions"/> |
| 403 |
<mapping namespace="http://soapinterop.org/xsd" package="test.wsdl.interop3.import3.xsd"/> |
| 404 |
<mapping namespace="http://soapinterop.org/xsd2" package="test.wsdl.interop3.import3.xsd2"/> |
| 405 |
</java2wsdl> |
| 406 |
|
| 407 |
<wsdl2java url="${axis.home}/build/work/test/wsdl/interop3/import3.wsdl" |
| 408 |
output="${axis.home}/build/work" |
| 409 |
serverSide="yes"> |
| 410 |
<mapping namespace="http://soapinterop.org/main/" package="test.wsdl.interop3.import3.step6"/> |
| 411 |
<mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.import3.step6.definitions"/> |
| 412 |
<mapping namespace="http://soapinterop.org/xsd" package="test.wsdl.interop3.import3.step6.xsd"/> |
| 413 |
<mapping namespace="http://soapinterop.org/xsd2" package="test.wsdl.interop3.import3.step6.xsd2"/> |
| 414 |
</wsdl2java> |
| 415 |
|
| 416 |
<javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="on" nowarn="${nowarn}" source="${source}" fork="${javac.fork}"> |
| 417 |
<classpath refid="classpath" /> |
| 418 |
<include name="test/wsdl/interop3/import3/step6/**/*.java" /> |
| 419 |
</javac> |
| 420 |
<!-- Step 7: see test/wsdl/interop3/Import2TestCase.java --> |
| 421 |
<!-- Step 8: see test/wsdl/interop3/Import2TestCase.java --> |
| 422 |
<ant inheritAll="${ant.inheritAll}" inheritRefs="${ant.inheritRefs}" dir="${axis.home}/test/wsdl/interop3/groupE" antfile="Interop3GroupE.xml"/> |
| 423 |
<!-- UDDI 1.0 WSDL's --> |
| 424 |
<!-- tomj: turn these off while attribute processing is in flux |
| 425 |
<wsdl2java url="http://www.uddi.org/wsdl/inquire_v1.wsdl" |
| 426 |
output="${axis.home}/build/work" |
| 427 |
testcase="no" |
| 428 |
deployscope="none" |
| 429 |
serverSide="yes" |
| 430 |
verbose="no" |
| 431 |
noimports="no"> |
| 432 |
<mapping namespace="urn:uddi-org:api" package="org.uddi.api"/> |
| 433 |
<mapping namespace="urn:uddi-org:inquiry" package="org.uddi.inquiry"/> |
| 434 |
</wsdl2java> |
| 435 |
<wsdl2java url="http://www.uddi.org/wsdl/publish_v1.wsdl" |
| 436 |
output="${axis.home}/build/work" |
| 437 |
testcase="no" |
| 438 |
deployscope="none" |
| 439 |
serverSide="yes" |
| 440 |
verbose="no" |
| 441 |
noimports="no"> |
| 442 |
<mapping namespace="urn:uddi-org:api" package="org.uddi.api"/> |
| 443 |
<mapping namespace="urn:uddi-org:publication" package="org.uddi.publication"/> |
| 444 |
</wsdl2java> |
| 445 |
--> |
| 446 |
<!-- XMethods Delayed Quote Service from http://www.xmethods.net/detail.html?id=2 --> |
| 447 |
<wsdl2java url="http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl" |
| 448 |
output="${axis.home}/build/work" |
| 449 |
testcase="no" |
| 450 |
deployscope="none" |
| 451 |
serverSide="yes" |
| 452 |
verbose="no" |
| 453 |
noimports="no"> |
| 454 |
</wsdl2java> |
| 455 |
<!-- This tests .NET document/literal WSDL. |
| 456 |
We get this WSDL file from the internet on purpose, |
| 457 |
file is only for reference. |
| 458 |
<wsdl2java url="${axis.home}/test/wsdl/literal/SalesRankNPrice.wsdl" |
| 459 |
--> |
| 460 |
<wsdl2java url="http://www.perfectxml.net/WebServices/SalesRankNPrice/BookService.asmx?WSDL" |
| 461 |
output="${axis.home}/build/work" |
| 462 |
verbose="no" |
| 463 |
serverSide="no" |
| 464 |
testcase="no"> |
| 465 |
<mapping namespace="http://www.PerfectXML.com/NETWebSvcs/BookService" package="test.wsdl.literal"/> |
| 466 |
</wsdl2java> |
| 467 |
|
| 468 |
<!-- jaxrpc sample --> |
| 469 |
<wsdl2java url="${axis.home}/samples/jaxrpc/hello/HelloWorld.wsdl" |
| 470 |
output="${axis.home}/build/work" |
| 471 |
serverSide="yes" |
| 472 |
testcase="no"> |
| 473 |
</wsdl2java> |
| 474 |
|
| 475 |
<!-- jaxrpc sample --> |
| 476 |
<wsdl2java url="${axis.home}/samples/jaxrpc/hello/HelloWorld.wsdl" |
| 477 |
output="${axis.home}/build/work" |
| 478 |
serverSide="yes" |
| 479 |
testcase="no"> |
| 480 |
</wsdl2java> |
| 481 |
|
| 482 |
<!-- Testcase for Bug 10612 - AXIS doesn't support xml includes --> |
| 483 |
<wsdl2java url="${axis.home}/test/wsdl/import3/MultiImpIncl/wsdl/MultiImp.wsdl" |
| 484 |
output="${axis.home}/build/work" |
| 485 |
serverSide="yes" |
| 486 |
testcase="no"> |
| 487 |
</wsdl2java> |
| 488 |
|
| 489 |
<!-- The following WSDL are BAD. We're keeping them here so we can --> |
| 490 |
<!-- check periodically to see whether the owner has fixed them. --> |
| 491 |
<!-- Real-time Quote Server from http://www.xmltoday.com/examples/soap/realtime.psp --> |
| 492 |
<!-- |
| 493 |
<wsdl2java url="http://services.xmltoday.com/vx_engine/wsdl.vep?realtime.wsdl" |
| 494 |
output="${axis.home}/build/work" |
| 495 |
testcase="no" |
| 496 |
deployscope="none" |
| 497 |
serverSide="yes" |
| 498 |
verbose="no" |
| 499 |
noimports="no"> |
| 500 |
<mapping namespace="urn:vgx-realtime" package="com.velocigen.thor"/> |
| 501 |
</wsdl2java> |
| 502 |
<wsdl2java url="http://services.xmltoday.com/vx_engine/wsdl_publish.vep/realtime.wsdl" |
| 503 |
output="${axis.home}/build/work" |
| 504 |
testcase="no" |
| 505 |
deployscope="none" |
| 506 |
serverSide="yes" |
| 507 |
verbose="yes" |
| 508 |
noimports="no"> |
| 509 |
</wsdl2java> |
| 510 |
More information at: http://www.whitemesa.com/interop/proposalC.html |
| 511 |
this WSDL file is bad. It refers to portType "InteropTestPortType" but that portType is not defined. |
| 512 |
<wsdl2java url="http://www.whitemesa.com/interop/echoHeaderBindings.wsdl" |
| 513 |
output="${axis.home}/build/work" |
| 514 |
testcase="no" |
| 515 |
deployscope="none" |
| 516 |
serverSide="yes" |
| 517 |
verbose="yes" |
| 518 |
noimports="no"> |
| 519 |
<mapping namespace="http://soapinterop.org/" package="interop.echoheader"/> |
| 520 |
<mapping namespace="http://soapinterop.org/xsd" package="interop.echoheader"/> |
| 521 |
</wsdl2java> |
| 522 |
Reverse lookup of US Area codes and International Country codes from |
| 523 |
http://www.soapclient.com/uddi/uddi.sri?requestname=get_xmethods |
| 524 |
namespaces are used improperly |
| 525 |
> WSDL2Java http://www.taragroup.com/bin/AreaCode.exe/wsdl/iGetArea |
| 526 |
java.io.IOException: Emitter failure. There is an undefined binding (IGetAreabinding) in the WSDL document. |
| 527 |
Hint: make sure <port binding=".."> is fully qualified. |
| 528 |
<wsdl2java url="http://www.taragroup.com/bin/AreaCode.exe/wsdl/iGetArea" |
| 529 |
output="${axis.home}/build/work" |
| 530 |
testcase="no" |
| 531 |
deployscope="none" |
| 532 |
serverSide="yes" |
| 533 |
verbose="yes" |
| 534 |
noimports="no"> |
| 535 |
</wsdl2java> |
| 536 |
wrong namespace used when referring to types: |
| 537 |
> WSDL2Java http://www.lemurlabs.com/projects/soap/fortune/FortuneService.wsdl |
| 538 |
java.io.IOException: Type http://www.lemurlabs.com/projects/soap/fortune/FortuneService.wsdl:ArrayOfString is referenced but not defined. |
| 539 |
<wsdl2java url="http://www.lemurlabs.com/projects/soap/fortune/FortuneService.wsdl" |
| 540 |
output="${axis.home}/build/work" |
| 541 |
testcase="no" |
| 542 |
deployscope="none" |
| 543 |
serverSide="yes" |
| 544 |
verbose="yes" |
| 545 |
noimports="no"> |
| 546 |
</wsdl2java> |
| 547 |
--> |
| 548 |
|
| 549 |
<copy todir="${build.dir}/work/test/wsdl/interop" overwrite="yes"> |
| 550 |
<fileset dir="${axis.home}/test/wsdl/interop"> |
| 551 |
<include name="*TestCase.java"/> |
| 552 |
<include name="**/*Impl.java"/> |
| 553 |
</fileset> |
| 554 |
</copy> |
| 555 |
|
| 556 |
<copy todir="${build.dir}/work/samples" overwrite="yes"> |
| 557 |
<fileset dir="${samples.dir}"> |
| 558 |
<include name="**/*BindingImpl.java"/> |
| 559 |
<include name="**/*TestCase.java"/> |
| 560 |
<exclude name="ws-i/scm/**/*.java" /> |
| 561 |
</fileset> |
| 562 |
</copy> |
| 563 |
|
| 564 |
<delete dir="${build.dir}/classes/samples/userguide/example6"/> |
| 565 |
|
| 566 |
<javac srcdir="${build.dir}/work" destdir="${build.dest}" nowarn="${nowarn}" source="${source}" fork="${javac.fork}" |
| 567 |
debug="${debug}"> |
| 568 |
<classpath refid="classpath" /> |
| 569 |
<include name="com/**/*.java" /> |
| 570 |
<include name="mssoapinterop/**/*.java" /> |
| 571 |
<include name="net/**/*.java" /> |
| 572 |
<include name="org/**/*.java" /> |
| 573 |
<include name="interop/**/*.java" /> |
| 574 |
<include name="samples/**/*.java" /> |
| 575 |
<include name="test/**/*.java" /> |
| 576 |
<exclude name="test/wsdl/interop3/**/*.java" /> |
| 577 |
<exclude name="test/wsdl/interop3/**/*.java" /> |
| 578 |
<exclude name="samples/ws-i/scm/**/*.java" /> |
| 579 |
</javac> |
| 580 |
|
| 581 |
</target> |
| 582 |
|
| 583 |
<target name="run" > |
| 584 |
<antcall target="execute-Component" /> |
| 585 |
</target> |
| 586 |
|
| 587 |
</project> |