File: build.xml

package info (click to toggle)
axis 1.4-29
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 52,100 kB
  • sloc: java: 129,124; xml: 10,602; jsp: 983; sh: 84; cs: 36; makefile: 18
file content (587 lines) | stat: -rw-r--r-- 29,227 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
<?xml version="1.0"?>
<!DOCTYPE project [
        <!ENTITY properties SYSTEM "file:../../../xmls/properties.xml">
        <!ENTITY paths  SYSTEM "file:../../../xmls/path_refs.xml">
        <!ENTITY taskdefs SYSTEM "file:../../../xmls/taskdefs.xml">
        <!ENTITY taskdefs_post_compile SYSTEM "file:../../../xmls/taskdefs_post_compile.xml">
        <!ENTITY targets SYSTEM "file:../../../xmls/targets.xml">
]>

<!-- ===================================================================
<description>
   Test/Sample Component file for Axis

Notes:
   This is a build file for use with the Jakarta Ant build tool.

Prerequisites:

   jakarta-ant from http://jakarta.apache.org

Build Instructions:
   To compile
        ant compile
   To execute
        ant run

Author:
  Matt Seibert mseibert@us.ibm.com

Copyright:
  Copyright (c) 2002-2003 Apache Software Foundation.
</description>
==================================================================== -->

<project default="compile">
<property name="axis.home" location="../../.." />
<property name="componentName" value="test/wsdl/interop" />
        &properties;
        &paths;
        &taskdefs;
        &taskdefs_post_compile;
	&targets;

<target name="clean">
    <echo message="Removing ${build.dir}/classes/${componentName} and ${build.dir}/work/${componentName}" />
    <delete dir="${build.dir}/classes/${componentName}"/>
    <delete dir="${build.dir}/work/${componentName}"/>
</target>
 
  <target name="copy" depends="setenv">
     <ant inheritAll="${ant.inheritAll}" inheritRefs="${ant.inheritRefs}" dir="${axis.home}/samples/addr" antfile="build.xml" target="compile" />
     <ant inheritAll="${ant.inheritAll}" inheritRefs="${ant.inheritRefs}" dir="${axis.home}/samples/echo" antfile="build.xml" target="compile" />
     <ant inheritAll="${ant.inheritAll}" inheritRefs="${ant.inheritRefs}" dir="${axis.home}/samples/jaxrpc" antfile="build.xml" target="compile" />
  </target>

  <target name="compile" depends="copy" >
    <!-- Use this to check the classpath if the ANT Task fails... -->

    <copy todir="${build.dir}/work/samples" overwrite="yes">
      <fileset dir="${samples.dir}">
        <include name="**/userguide/example6/"/>
      </fileset>
    </copy>

    <copy todir="${build.dir}/classes" overwrite="yes">
      <fileset dir="${test.dir}/wsdl/_import">
        <include name="NStoPkg.properties"/>
      </fileset>
    </copy>
    <copy todir="${build.dir}/work/samples" overwrite="yes">
      <fileset dir="${samples.dir}">
        <include name="**/userguide/example6/"/>
      </fileset>
    </copy>

    <!-- Compile the sample code -->
    <javac srcdir="${axis.home}" destdir="${build.dest}" nowarn="${nowarn}" source="${source}" fork="${javac.fork}"
           debug="${debug}">
      <classpath>
        <pathelement location="${build.lib}/${name}.jar"/>
        <pathelement location="${build.lib}/${jaxrpc}.jar"/>
        <pathelement location="${build.lib}/${saaj}.jar"/>
        <path refid="classpath"/>
      </classpath>
      <include name="samples/userguide/example6/*.java" />
      <exclude name="samples/userguide/example6/Main.java" />
      <exclude name="samples/userguide/example6/*Impl.java" />
      <exclude name="samples/userguide/example6/*TestCase.java" />
    </javac>
 
    <echo message="Running WSDL2Java and Java2WSDL Emitters"/>

    <!-- WidgetPrice Java to WSDL Samples -->
    <java2wsdl output="${axis.home}/build/work/samples/userguide/example6/WidgetPrice.wsdl"
               className= "samples.userguide.example6.WidgetPrice"
               namespace="urn:Example6"
               location="http://localhost:8080/axis/services/WidgetPrice">
        <mapping namespace="urn:Example6" package="samples.userguide.example6"/>
    </java2wsdl>
   <wsdl2java url="${axis.home}/build/work/samples/userguide/example6/WidgetPrice.wsdl"
               output="${axis.home}/build/work"
               deployscope="session"
               serverSide="yes"
               skeletonDeploy="yes"
               noimports="no"
               verbose="no"
               testcase="yes">
        <mapping namespace="urn:Example6" package="samples.userguide.example6"/>
    </wsdl2java>

    <!-- Import Test 1:  some namespace->package mappings from the -->
    <!--                 command line, some generated, some from   -->
    <!--                 NStoPkg.properties.                       -->
    <wsdl2java url="${axis.home}/test/wsdl/_import/Import.wsdl"
               output="${axis.home}/build/work"
               deployscope="none"
               serverSide="yes"
               skeletonDeploy="yes"
               noimports="no"
               verbose="no"
               testcase="yes">
        <mapping namespace="urn:import" package="test.wsdl.import"/>
        <mapping namespace="urn:importBinding1" package="test.wsdl.import.binding1"/>
        <mapping namespace="urn:importBinding2" package="test.wsdl.import.binding2"/>
    </wsdl2java>

    <!-- Import Test 2:  all namespace->package mappings from the -->
    <!--                 command line.                            -->
    <wsdl2java url="${axis.home}/test/wsdl/_import/Import.wsdl"
               output="${axis.home}/build/work"
               deployscope="none"
               serverSide="yes"
               skeletonDeploy="yes"
               noimports="no"
               verbose="no"
               testcase="yes">
        <mapping namespace="urn:import" package="test.import2"/>
        <mapping namespace="urn:importBinding1" package="test.import2.binding1"/>
        <mapping namespace="urn:importBinding2" package="test.import2.binding2"/>
        <mapping namespace="urn:types.import.test" package="test.import2.types"/>
        <mapping namespace="urn:iface.import.test" package="test.import2.iface"/>
        <mapping namespace="urn:messages.import.test" package="test.import2.messages"/>
    </wsdl2java>

    <!-- Import Test 3:  all namespace->package mappings from the -->
    <!--                 command line.  Make sure an xsd:import   -->
    <!--                 statement inside a schema inside a type  -->
    <!--                 works properly.                          -->
    <wsdl2java url="${axis.home}/test/wsdl/_import/ImportMessagesXSDImport.wsdl"
               output="${axis.home}/build/work"
               noimports="no">
        <mapping namespace="urn:types.import.test" package="test.import.test3"/>
    </wsdl2java>

    <!-- Another import test:  relative references via ../.. -->
    <wsdl2java url="${axis.home}/test/wsdl/import2/service1/service2/testimport.wsdl"
               output="${axis.home}/build/work"
               serverSide="yes"
               skeletonDeploy="yes"
               noimports="no">
        <mapping namespace="http://test.globus.org/importtest" package="test.wsdl.import2"/>
        <mapping namespace="http://test.globus.org/interface" package="test.wsdl.import2.interface"/>
        <mapping namespace="http://test.globus.org/types" package="test.wsdl.import2.types"/>
    </wsdl2java>

    <!-- SOAPBuilders Interoperability Lab "Round 1" -->
    <!--     http://www.xmethods.net/ilab/           -->
    <wsdl2java url="http://www.xmethods.net/tmodels/InteropTest.wsdl"
               output="${axis.home}/build/work"
               deployscope="none"
               serverSide="yes"
               skeletonDeploy="yes"
               noimports="no"
               verbose="no"
               testcase="no">
        <mapping namespace="http://soapinterop.org/" package="net.xmethods"/>
        <mapping namespace="http://soapinterop.org/xsd" package="net.xmethods"/>
    </wsdl2java>
    <!-- SOAPBuilders Interoperability Lab "Round 2" -->
    <!--     http://www.whitemesa.com/interop.htm    -->
    <wsdl2java url="http://soapinterop.java.sun.com/round2/base?WSDL"
               output="${axis.home}/build/work"
               deployscope="none"
               serverSide="yes"
               skeletonDeploy="yes"
               noimports="no"
               verbose="no"
               testcase="no">
        <mapping namespace="http://soapinterop.org/" package="interop.test"/>
        <mapping namespace="http://soapinterop.org/xsd" package="interop.test"/>
    </wsdl2java>
    <wsdl2java url="http://soapinterop.java.sun.com/round2/groupb?WSDL"
               output="${axis.home}/build/work"
               deployscope="none"
               serverSide="yes"
               skeletonDeploy="yes"
               noimports="no"
               verbose="no"
               testcase="no">
        <mapping namespace="http://soapinterop.org/" package="interop.testb"/>
        <mapping namespace="http://soapinterop.org/xsd" package="interop.testb"/>
    </wsdl2java>
    <!-- More information at: http://www.whitemesa.net/  -->
<!--    <wsdl2java url="http://www.whitemesa.com/wsdl/std/echoheadersvc.wsdl"
               output="${axis.home}/build/work"
               testcase="no"
               deployscope="none"
               serverSide="yes"
               verbose="no"
               noimports="no">
        <mapping namespace="http://soapinterop.org/" package="interop.echoheadersvc"/>
        <mapping namespace="http://soapinterop.org/xsd" package="interop.echoheadersvc"/>
    </wsdl2java>
-->
    <!-- http://www.mssoapinterop.org/stk/roundBC.htm -->
    <wsdl2java url="http://mssoapinterop.org/stk/InteropB.wsdl"
               output="${axis.home}/build/work"
               testcase="no"
               deployscope="none"
               serverSide="yes"
               skeletonDeploy="yes"
               verbose="no"
               noimports="no">
        <mapping namespace="http://soapinterop.org/" package="mssoapinterop.interopb"/>
        <mapping namespace="http://soapinterop.org/xsd" package="mssoapinterop.interopb"/>
    </wsdl2java>
    <wsdl2java url="http://mssoapinterop.org/stk/InteropBtyped.wsdl"
               output="${axis.home}/build/work"
               testcase="no"
               deployscope="none"
               serverSide="yes"
               verbose="no"
               noimports="no">
        <mapping namespace="http://soapinterop.org/" package="mssoapinterop.interopbtyped"/>
        <mapping namespace="http://soapinterop.org/xsd" package="mssoapinterop.interopbtyped"/>
    </wsdl2java>
    <wsdl2java url="http://mssoapinterop.org/stk/InteropC.wsdl"
               output="${axis.home}/build/work"
               testcase="no"
               deployscope="none"
               serverSide="yes"
               verbose="no"
               noimports="no">
        <mapping namespace="http://soapinterop.org" package="mssoapinterop.interopc"/>
        <mapping namespace="http://soapinterop.org/" package="mssoapinterop.interopc"/>
        <mapping namespace="http://soapinterop.org/xsd" package="mssoapinterop.interopc"/>
    </wsdl2java>
    <!-- SOAP Builder's round III web services          -->
    <!-- interoperability testing:  import1             -->
    <!-- (see http://www.whitemesa.com/r3/plan.html)    -->
    <!-- Step 1.  Start with predefined WSDL            -->
    <!-- Step 2.  Generate client from predefined WSDL  -->
    <!-- Step 3.  Test generated client against         -->
    <!--          pre-built server                      -->
    <!-- Step 4.  Generate server from predefined WSDL  -->
    <!-- Step 5.  Test generated client against         -->
    <!--          generated server                      -->
    <!-- Step 6.  Generate second client from           -->
    <!--          generated server's WSDL (some clients -->
    <!--          can do this dynamically)              -->
    <!-- Step 7.  Test second generated client against  -->
    <!--          generated server                      -->
    <!-- Step 8.  Test second generated client against  -->
    <!--          pre-built server                      -->
    <!-- Steps 1, 2 and 4: -->
    <wsdl2java url="http://soapinterop.java.sun.com/round3/groupd/import1?WSDL"
               output="${axis.home}/build/work"
               serverSide="yes">
        <mapping namespace="http://soapinterop.org/" package="test.wsdl.interop3.import1"/>
        <mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.import1.definitions"/>
    </wsdl2java>
    <javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="on" nowarn="${nowarn}" source="${source}" fork="${javac.fork}">
      <classpath refid="classpath" />
      <include name="test/wsdl/interop3/import1/*.java" />
      <include name="test/wsdl/interop3/import1/**/*.java" />
    </javac>
    <!-- Step 3:  see test/wsdl/interop3/Import1TestCase.java -->
    <!-- Step 5:  see test/wsdl/interop3/Import1TestCase.java -->
    <!-- Step 6:  -->
    <java2wsdl output="${axis.home}/build/work/test/wsdl/interop3/import1.wsdl"
               className= "test.wsdl.interop3.import1.definitions.SoapInteropImport1PortType"
               namespace="http://soapinterop.org/definitions/"
               implClass="test.wsdl.interop3.import1.SoapInteropImport1BindingImpl"
           location="http://localhost:8080/axis/services/SoapInteropImport1Port">
        <mapping namespace="http://soapinterop.org/" package="test.wsdl.interop3.import1"/>
        <mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.import1.definitions"/>
    </java2wsdl>

    <wsdl2java url="${axis.home}/build/work/test/wsdl/interop3/import1.wsdl"
               output="${axis.home}/build/work"
               serverSide="yes">
        <mapping namespace="http://soapinterop.org/" package="test.wsdl.interop3.import1.step6"/>
        <mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.import1.step6.definitions"/>
    </wsdl2java>

    <javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="on" nowarn="${nowarn}" source="${source}" fork="${javac.fork}">
      <classpath refid="classpath" />
      <include name="test/wsdl/interop3/import1/step6/**/*.java" />
    </javac>

    <!-- Step 7:  see test/wsdl/interop3/Import1TestCase.java -->
    <!-- Step 8:  see test/wsdl/interop3/Import1TestCase.java -->
    <!-- SOAP Builder's round III web services -->
    <!-- interoperability testing:  import2    -->
    <!-- Steps 1, 2 and 4: -->
    <wsdl2java url="http://soapinterop.java.sun.com/round3/groupd/import2?WSDL"
               output="${axis.home}/build/work"
               serverSide="yes">
        <mapping namespace="http://soapinterop.org/main/" package="test.wsdl.interop3.import2"/>
        <mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.import2.definitions"/>
        <mapping namespace="http://soapinterop.org/xsd" package="test.wsdl.interop3.import2.xsd"/>
    </wsdl2java>
    <javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="on" nowarn="${nowarn}" source="${source}" fork="${javac.fork}">
      <classpath refid="classpath" />
      <include name="test/wsdl/interop3/import2/*.java" />
    </javac>
    <!-- Step 3:  see test/wsdl/interop3/Import2TestCase.java -->
    <!-- Step 5:  see test/wsdl/interop3/Import2TestCase.java -->
    <!-- Step 6:  -->
    <java2wsdl output="${axis.home}/build/work/test/wsdl/interop3/import2.wsdl"
               className= "test.wsdl.interop3.import2.definitions.SoapInteropImport2PortType"
               namespace="http://soapinterop.org/definitions/"
               implClass="test.wsdl.interop3.import2.SoapInteropImport2BindingImpl"
           location="http://localhost:8080/axis/services/SoapInteropImport2Port">
        <mapping namespace="http://soapinterop.org/main/" package="test.wsdl.interop3.import2"/>
        <mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.import2.definitions"/>
        <mapping namespace="http://soapinterop.org/xsd" package="test.wsdl.interop3.import2.xsd"/>
    </java2wsdl>
    <wsdl2java url="${axis.home}/build/work/test/wsdl/interop3/import2.wsdl"
               output="${axis.home}/build/work"
               serverSide="yes">
        <mapping namespace="http://soapinterop.org/main/" package="test.wsdl.interop3.import2.step6"/>
        <mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.import2.step6.definitions"/>
        <mapping namespace="http://soapinterop.org/xsd" package="test.wsdl.interop3.import2.step6.xsd"/>
    </wsdl2java>
      <javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="on" nowarn="${nowarn}" source="${source}" fork="${javac.fork}">
        <classpath refid="classpath" />
        <include name="test/wsdl/interop3/import2/step6/**/*.java" />
      </javac>
    <!-- Step 7:  see test/wsdl/interop3/Import2TestCase.java -->
    <!-- Step 8:  see test/wsdl/interop3/Import2TestCase.java -->
    <!-- SOAP Builder's round III web services       -->
    <!-- interoperability testing:  absolute import2 -->
    <!-- Steps 1, 2 and 4: -->
    <wsdl2java url="http://www.dolphinharbor.org/services/R3Import2/service.wsdl"
               output="${axis.home}/build/work"
               serverSide="yes">
        <mapping namespace="http://soapinterop.org/main/" package="test.wsdl.interop3.absimport2"/>
        <mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.absimport2.definitions"/>
        <mapping namespace="http://soapinterop.org/xsd" package="test.wsdl.interop3.absimport2.xsd"/>
    </wsdl2java>
    <javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="on" nowarn="${nowarn}" source="${source}" fork="${javac.fork}">
      <classpath refid="classpath" />
      <include name="test/wsdl/interop3/absimport2/*.java" />
    </javac>
    <!-- Step 3:  see test/wsdl/interop3/Import2TestCase.java -->
    <!-- Step 5:  see test/wsdl/interop3/Import2TestCase.java -->
    <!-- Step 6:  -->
 <!-- Commented out by scheu...not working
    <java2wsdl output="${axis.home}/build/work/test/wsdl/interop3/absimport2.wsdl"
               className= "test.wsdl.interop3.absimport2.definitions.SoapInteropImport2PortType"
               namespace="http://soapinterop.org/definitions/"
           location="http://localhost:8080/axis/services/SoapInteropImport2Port">
        <mapping namespace="http://soapinterop.org/main/" package="test.wsdl.interop3.absimport2"/>
        <mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.absimport2.definitions"/>
        <mapping namespace="http://soapinterop.org/xsd" package="test.wsdl.interop3.absimport2.xsd"/>
    </java2wsdl>
    <wsdl2java url="${axis.home}/build/work/test/wsdl/interop3/absimport2.wsdl"
               output="${axis.home}/build/work"
               serverSide="yes">
        <mapping namespace="http://soapinterop.org/main/" package="test.wsdl.interop3.absimport2.step6"/>
        <mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.absimport2.step6.definitions"/>
        <mapping namespace="http://soapinterop.org/xsd" package="test.wsdl.interop3.absimport2.step6.xsd"/>
    </wsdl2java>
-->
    <!-- Step 7:  see test/wsdl/interop3/Import2TestCase.java -->
    <!-- Step 8:  see test/wsdl/interop3/Import2TestCase.java -->
    <!-- SOAP Builder's round III web services -->
    <!-- interoperability testing:  import3    -->
    <!-- Steps 1, 2 and 4: -->
    <wsdl2java url="http://soapinterop.java.sun.com/round3/groupd/import3?WSDL"
               output="${axis.home}/build/work"
               serverSide="yes">
        <mapping namespace="http://soapinterop.org/main2/" package="test.wsdl.interop3.import3"/>
        <mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.import3.definitions"/>
        <mapping namespace="http://soapinterop.org/xsd" package="test.wsdl.interop3.import3.xsd"/>
        <mapping namespace="http://soapinterop.org/xsd2" package="test.wsdl.interop3.import3.xsd2"/>
    </wsdl2java>
    <javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="on" nowarn="${nowarn}" source="${source}" fork="${javac.fork}">
      <classpath refid="classpath" />
      <include name="test/wsdl/interop3/import3/*.java" />
    </javac>
    <!-- Step 3:  see test/wsdl/interop3/Import3TestCase.java -->
    <!-- Step 5:  see test/wsdl/interop3/Import3TestCase.java -->
    <!-- Step 6:  -->
    <java2wsdl output="${axis.home}/build/work/test/wsdl/interop3/import3.wsdl"
               className= "test.wsdl.interop3.import3.SoapInteropImport3PortType"
               namespace="http://soapinterop.org/definitions/"
               implClass="test.wsdl.interop3.import3.SoapInteropImport3BindingImpl"
           location="http://localhost:8080/axis/services/SoapInteropImport3Port">
        <mapping namespace="http://soapinterop.org/main2/" package="test.wsdl.interop3.import3"/>
        <mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.import3.definitions"/>
        <mapping namespace="http://soapinterop.org/xsd" package="test.wsdl.interop3.import3.xsd"/>
        <mapping namespace="http://soapinterop.org/xsd2" package="test.wsdl.interop3.import3.xsd2"/>
    </java2wsdl>

    <wsdl2java url="${axis.home}/build/work/test/wsdl/interop3/import3.wsdl"
               output="${axis.home}/build/work"
               serverSide="yes">
        <mapping namespace="http://soapinterop.org/main/" package="test.wsdl.interop3.import3.step6"/>
        <mapping namespace="http://soapinterop.org/definitions/" package="test.wsdl.interop3.import3.step6.definitions"/>
        <mapping namespace="http://soapinterop.org/xsd" package="test.wsdl.interop3.import3.step6.xsd"/>
        <mapping namespace="http://soapinterop.org/xsd2" package="test.wsdl.interop3.import3.step6.xsd2"/>
    </wsdl2java>
    
    <javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="on" nowarn="${nowarn}" source="${source}" fork="${javac.fork}">
      <classpath refid="classpath" />
      <include name="test/wsdl/interop3/import3/step6/**/*.java" />
    </javac>
    <!-- Step 7:  see test/wsdl/interop3/Import2TestCase.java -->
    <!-- Step 8:  see test/wsdl/interop3/Import2TestCase.java -->
    <ant inheritAll="${ant.inheritAll}" inheritRefs="${ant.inheritRefs}" dir="${axis.home}/test/wsdl/interop3/groupE" antfile="Interop3GroupE.xml"/>
    <!-- UDDI 1.0 WSDL's -->
<!-- tomj: turn these off while attribute processing is in flux
    <wsdl2java url="http://www.uddi.org/wsdl/inquire_v1.wsdl"
               output="${axis.home}/build/work"
               testcase="no"
               deployscope="none"
               serverSide="yes"
               verbose="no"
               noimports="no">
        <mapping namespace="urn:uddi-org:api" package="org.uddi.api"/>
        <mapping namespace="urn:uddi-org:inquiry" package="org.uddi.inquiry"/>
    </wsdl2java>
    <wsdl2java url="http://www.uddi.org/wsdl/publish_v1.wsdl"
               output="${axis.home}/build/work"
               testcase="no"
               deployscope="none"
               serverSide="yes"
               verbose="no"
               noimports="no">
        <mapping namespace="urn:uddi-org:api" package="org.uddi.api"/>
        <mapping namespace="urn:uddi-org:publication" package="org.uddi.publication"/>
    </wsdl2java>
-->
    <!-- XMethods Delayed Quote Service from http://www.xmethods.net/detail.html?id=2 -->
    <wsdl2java url="http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl"
               output="${axis.home}/build/work"
               testcase="no"
               deployscope="none"
               serverSide="yes"
               verbose="no"
               noimports="no">
    </wsdl2java>
    <!-- This tests .NET document/literal WSDL.
         We get this WSDL file from the internet on purpose,
         file is only for reference.
    <wsdl2java url="${axis.home}/test/wsdl/literal/SalesRankNPrice.wsdl"
     -->
    <wsdl2java url="http://www.perfectxml.net/WebServices/SalesRankNPrice/BookService.asmx?WSDL"
               output="${axis.home}/build/work"
               verbose="no"
               serverSide="no"
               testcase="no">
        <mapping namespace="http://www.PerfectXML.com/NETWebSvcs/BookService" package="test.wsdl.literal"/>
    </wsdl2java>

    <!-- jaxrpc sample -->
    <wsdl2java url="${axis.home}/samples/jaxrpc/hello/HelloWorld.wsdl"
               output="${axis.home}/build/work"
               serverSide="yes"
               testcase="no">
    </wsdl2java>

    <!-- jaxrpc sample -->
    <wsdl2java url="${axis.home}/samples/jaxrpc/hello/HelloWorld.wsdl"
               output="${axis.home}/build/work"
               serverSide="yes"
               testcase="no">
    </wsdl2java>

    <!-- Testcase for Bug 10612 - AXIS doesn't support xml includes -->
    <wsdl2java url="${axis.home}/test/wsdl/import3/MultiImpIncl/wsdl/MultiImp.wsdl"
               output="${axis.home}/build/work"
               serverSide="yes"
               testcase="no">
    </wsdl2java>

    <!-- The following WSDL are BAD.  We're keeping them here so we can -->
    <!-- check periodically to see whether the owner has fixed them.    -->
    <!-- Real-time Quote Server from http://www.xmltoday.com/examples/soap/realtime.psp -->
    <!--
    <wsdl2java url="http://services.xmltoday.com/vx_engine/wsdl.vep?realtime.wsdl"
               output="${axis.home}/build/work"
               testcase="no"
               deployscope="none"
               serverSide="yes"
               verbose="no"
               noimports="no">
        <mapping namespace="urn:vgx-realtime" package="com.velocigen.thor"/>
    </wsdl2java>
    <wsdl2java url="http://services.xmltoday.com/vx_engine/wsdl_publish.vep/realtime.wsdl"
               output="${axis.home}/build/work"
               testcase="no"
               deployscope="none"
               serverSide="yes"
               verbose="yes"
               noimports="no">
    </wsdl2java>
    More information at: http://www.whitemesa.com/interop/proposalC.html
    this WSDL file is bad.  It refers to portType "InteropTestPortType" but that portType is not defined.
    <wsdl2java url="http://www.whitemesa.com/interop/echoHeaderBindings.wsdl"
               output="${axis.home}/build/work"
               testcase="no"
               deployscope="none"
               serverSide="yes"
               verbose="yes"
               noimports="no">
        <mapping namespace="http://soapinterop.org/" package="interop.echoheader"/>
        <mapping namespace="http://soapinterop.org/xsd" package="interop.echoheader"/>
    </wsdl2java>
    Reverse lookup of US Area codes and International Country codes from
    http://www.soapclient.com/uddi/uddi.sri?requestname=get_xmethods
    namespaces are used improperly
    > WSDL2Java http://www.taragroup.com/bin/AreaCode.exe/wsdl/iGetArea
    java.io.IOException: Emitter failure.  There is an undefined binding (IGetAreabinding) in the WSDL document.
    Hint: make sure <port binding=".."> is fully qualified.
    <wsdl2java url="http://www.taragroup.com/bin/AreaCode.exe/wsdl/iGetArea"
               output="${axis.home}/build/work"
               testcase="no"
               deployscope="none"
               serverSide="yes"
               verbose="yes"
               noimports="no">
    </wsdl2java>
    wrong namespace used when referring to types:
    > WSDL2Java http://www.lemurlabs.com/projects/soap/fortune/FortuneService.wsdl
    java.io.IOException: Type http://www.lemurlabs.com/projects/soap/fortune/FortuneService.wsdl:ArrayOfString is referenced but not defined.
    <wsdl2java url="http://www.lemurlabs.com/projects/soap/fortune/FortuneService.wsdl"
               output="${axis.home}/build/work"
               testcase="no"
               deployscope="none"
               serverSide="yes"
               verbose="yes"
               noimports="no">
    </wsdl2java>
    -->

    <copy todir="${build.dir}/work/test/wsdl/interop" overwrite="yes">
      <fileset dir="${axis.home}/test/wsdl/interop">
        <include name="*TestCase.java"/>
        <include name="**/*Impl.java"/>
      </fileset>
    </copy>

    <copy todir="${build.dir}/work/samples" overwrite="yes">
      <fileset dir="${samples.dir}">
        <include name="**/*BindingImpl.java"/>
        <include name="**/*TestCase.java"/>
        <exclude name="ws-i/scm/**/*.java" />
	  </fileset>
    </copy>

    <delete dir="${build.dir}/classes/samples/userguide/example6"/>

    <javac srcdir="${build.dir}/work" destdir="${build.dest}" nowarn="${nowarn}" source="${source}" fork="${javac.fork}"
           debug="${debug}">
      <classpath refid="classpath" />
      <include name="com/**/*.java" />
      <include name="mssoapinterop/**/*.java" />
      <include name="net/**/*.java" />
      <include name="org/**/*.java" />
      <include name="interop/**/*.java" />
      <include name="samples/**/*.java" />
      <include name="test/**/*.java" />
      <exclude name="test/wsdl/interop3/**/*.java" />
      <exclude name="test/wsdl/interop3/**/*.java" />
      <exclude name="samples/ws-i/scm/**/*.java" />
    </javac>

  </target>

<target name="run" >
  <antcall target="execute-Component" />
</target>

</project>