KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > wsdl > types > DynamicProxyTestCase


1 /**
2  * TypeTestServiceTestCase.java
3  *
4  * This file was auto-generated from WSDL
5  * by the Apache Axis Wsdl2java emitter.
6  */

7
8 package test.wsdl.types;
9
10 import junit.framework.AssertionFailedError;
11 import junit.framework.TestCase;
12 import org.apache.axis.holders.DayHolder;
13 import org.apache.axis.holders.MonthDayHolder;
14 import org.apache.axis.holders.MonthHolder;
15 import org.apache.axis.holders.NegativeIntegerHolder;
16 import org.apache.axis.holders.NonNegativeIntegerHolder;
17 import org.apache.axis.holders.NonPositiveIntegerHolder;
18 import org.apache.axis.holders.PositiveIntegerHolder;
19 import org.apache.axis.holders.TimeHolder;
20 import org.apache.axis.holders.URIHolder;
21 import org.apache.axis.holders.UnsignedByteHolder;
22 import org.apache.axis.holders.UnsignedIntHolder;
23 import org.apache.axis.holders.UnsignedLongHolder;
24 import org.apache.axis.holders.UnsignedShortHolder;
25 import org.apache.axis.holders.YearHolder;
26 import org.apache.axis.holders.YearMonthHolder;
27 import org.apache.axis.types.Day;
28 import org.apache.axis.types.Month;
29 import org.apache.axis.types.MonthDay;
30 import org.apache.axis.types.NegativeInteger;
31 import org.apache.axis.types.NonNegativeInteger;
32 import org.apache.axis.types.NonPositiveInteger;
33 import org.apache.axis.types.PositiveInteger;
34 import org.apache.axis.types.Time;
35 import org.apache.axis.types.URI;
36 import org.apache.axis.types.UnsignedByte;
37 import org.apache.axis.types.UnsignedInt;
38 import org.apache.axis.types.UnsignedLong;
39 import org.apache.axis.types.UnsignedShort;
40 import org.apache.axis.types.Year;
41 import org.apache.axis.types.YearMonth;
42 import test.wsdl.types.comprehensive_service.TypeTest;
43
44 import javax.xml.namespace.QName JavaDoc;
45 import javax.xml.rpc.Service JavaDoc;
46 import javax.xml.rpc.ServiceException JavaDoc;
47 import javax.xml.rpc.ServiceFactory JavaDoc;
48 import javax.xml.rpc.Stub JavaDoc;
49 import javax.xml.rpc.holders.BigDecimalHolder JavaDoc;
50 import javax.xml.rpc.holders.BigIntegerHolder JavaDoc;
51 import javax.xml.rpc.holders.BooleanHolder JavaDoc;
52 import javax.xml.rpc.holders.BooleanWrapperHolder JavaDoc;
53 import javax.xml.rpc.holders.ByteArrayHolder JavaDoc;
54 import javax.xml.rpc.holders.ByteHolder JavaDoc;
55 import javax.xml.rpc.holders.CalendarHolder JavaDoc;
56 import javax.xml.rpc.holders.DoubleHolder JavaDoc;
57 import javax.xml.rpc.holders.DoubleWrapperHolder JavaDoc;
58 import javax.xml.rpc.holders.FloatHolder JavaDoc;
59 import javax.xml.rpc.holders.FloatWrapperHolder JavaDoc;
60 import javax.xml.rpc.holders.IntHolder JavaDoc;
61 import javax.xml.rpc.holders.IntegerWrapperHolder JavaDoc;
62 import javax.xml.rpc.holders.LongHolder JavaDoc;
63 import javax.xml.rpc.holders.QNameHolder JavaDoc;
64 import javax.xml.rpc.holders.ShortHolder JavaDoc;
65 import javax.xml.rpc.holders.ShortWrapperHolder JavaDoc;
66 import javax.xml.rpc.holders.StringHolder JavaDoc;
67 import java.math.BigDecimal JavaDoc;
68 import java.math.BigInteger JavaDoc;
69 import java.net.MalformedURLException JavaDoc;
70 import java.net.URL JavaDoc;
71 import java.rmi.RemoteException JavaDoc;
72 import java.util.Calendar JavaDoc;
73
74 public class DynamicProxyTestCase extends TestCase {
75     public DynamicProxyTestCase(String JavaDoc name) {
76         super(name);
77     }
78
79     private TypeTest getProxyWithWSDL() {
80         try {
81             Service JavaDoc service = ServiceFactory.newInstance().createService(
82                 new URL JavaDoc("file", "", "test/wsdl/types/ComprehensiveTypes.wsdl"),
83                 new QName JavaDoc("urn:comprehensive-service.types.wsdl.test",
84                         "TypeTestService"));
85             return (TypeTest) service.getPort(
86                 new QName JavaDoc("", "TypeTest"), TypeTest.class);
87         }
88         catch (MalformedURLException JavaDoc mue) {
89             throw new AssertionFailedError(
90                     "MalformedURLException caught: " + mue);
91         }
92         catch (ServiceException JavaDoc jre) {
93             throw new AssertionFailedError("ServiceException caught: " + jre);
94         }
95     } // getProxyWithWSDL
96

97     private TypeTest getProxy() {
98         try {
99             Service JavaDoc service = ServiceFactory.newInstance().createService(null);
100             Stub JavaDoc binding = (Stub JavaDoc) service.getPort(TypeTest.class);
101             binding._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY,
102                     "http://localhost:8080/axis/services/TypeTest");
103             throw new AssertionFailedError("Should not get a binding");
104         }
105         catch (ServiceException JavaDoc jre) {
106             return null;
107         }
108     } // getProxy
109

110     private void allPrimitivesIn(TypeTest binding) {
111         assertTrue("binding is null", binding != null);
112         try {
113
114             binding.allPrimitivesIn(
115                     new String JavaDoc(),
116                     new BigInteger JavaDoc("0"),
117                     0,
118                     0,
119                     (short)0,
120                     new BigDecimal JavaDoc(0),
121                     0,
122                     0,
123                     true,
124                     (byte)0,
125                     new QName JavaDoc("http://double-double", "toil-and-trouble"),
126                     Calendar.getInstance(),
127                     new byte[0],
128                     new byte[0],
129                     new String JavaDoc(),
130                     new Boolean JavaDoc(false),
131                     new Float JavaDoc(0),
132                     new Double JavaDoc(0),
133                     new BigDecimal JavaDoc(0),
134                     new Integer JavaDoc(0),
135                     new Short JavaDoc((short)0),
136                     new byte[0],
137                     new Time("12:01:30.150Z"),
138                     new UnsignedLong(0),
139                     new UnsignedInt(0),
140                     new UnsignedShort(0),
141                     new UnsignedByte(0),
142                     new NonNegativeInteger("0"),
143                     new PositiveInteger("1"),
144                     new NonPositiveInteger("0"),
145                     new NegativeInteger("-1"),
146                     new URI("urn:this-is-a-test"),
147                     new Year(1995),
148                     new Month(7),
149                     new Day(13),
150                     new YearMonth(2002, 8),
151                     new MonthDay(8, 26)
152                     );
153         }
154         catch (RemoteException JavaDoc re) {
155             re.printStackTrace();
156             throw new AssertionFailedError("Remote Exception caught: " + re);
157         }
158         catch (Exception JavaDoc e) {
159             // possibly thrown from Unsigned constructors
160
// wont happen since we know the value are good!
161
}
162         
163     } // allPrimitivesIn
164

165     public void test1TypeTestAllPrimitivesIn() {
166         TypeTest binding = getProxyWithWSDL();
167         allPrimitivesIn(binding);
168         binding = getProxy();
169         assertTrue(binding == null);
170     } // test2TypeTestAllPrimitivesInout
171

172     private void allPrimitivesInout(TypeTest binding) {
173         assertTrue("binding is null", binding != null);
174         try {
175
176             binding.allPrimitivesInout(
177                     new StringHolder JavaDoc(new String JavaDoc()),
178                     new BigIntegerHolder JavaDoc(new BigInteger JavaDoc("0")),
179                     new IntHolder(0),
180                     new LongHolder(0),
181                     new ShortHolder((short)0),
182                     new BigDecimalHolder JavaDoc(new BigDecimal JavaDoc(0)),
183                     new FloatHolder JavaDoc(0),
184                     new DoubleHolder JavaDoc(0),
185                     new BooleanHolder JavaDoc(true),
186                     new ByteHolder((byte)0),
187                     new QNameHolder JavaDoc(new QName JavaDoc("http://double-double",
188                             "toil-and-trouble")),
189                     new CalendarHolder JavaDoc(Calendar.getInstance()),
190                     new ByteArrayHolder JavaDoc(new byte[0]),
191                     new ByteArrayHolder JavaDoc(new byte[0]),
192                     new StringHolder JavaDoc(new String JavaDoc()),
193                     new BooleanWrapperHolder JavaDoc(new Boolean JavaDoc(false)),
194                     new FloatWrapperHolder JavaDoc(new Float JavaDoc(0)),
195                     new DoubleWrapperHolder JavaDoc(new Double JavaDoc(0)),
196                     new BigDecimalHolder JavaDoc(new BigDecimal JavaDoc(0)),
197                     new IntegerWrapperHolder JavaDoc(new Integer JavaDoc(0)),
198                     new ShortWrapperHolder JavaDoc(new Short JavaDoc((short)0)),
199                     new ByteArrayHolder JavaDoc(new byte[0]),
200                     new TimeHolder(new Time("12:01:30.150Z")),
201                     new UnsignedLongHolder(new UnsignedLong(0)),
202                     new UnsignedIntHolder(new UnsignedInt(0)),
203                     new UnsignedShortHolder(new UnsignedShort(0)),
204                     new UnsignedByteHolder(new UnsignedByte(0)),
205                     new NonNegativeIntegerHolder(new NonNegativeInteger("0")),
206                     new PositiveIntegerHolder(new PositiveInteger("1")),
207                     new NonPositiveIntegerHolder(new NonPositiveInteger("0")),
208                     new NegativeIntegerHolder(new NegativeInteger("-1")),
209                     new URIHolder(new URI("urn:this-is-a-test")),
210                     new YearHolder(new Year(1995)),
211                     new MonthHolder(new Month(7)),
212                     new DayHolder(new Day(13)),
213                     new YearMonthHolder(new YearMonth(2002, 8)),
214                     new MonthDayHolder(new MonthDay(8, 26))
215                     
216             );
217         }
218         catch (RemoteException JavaDoc re) {
219             re.printStackTrace();
220             throw new AssertionFailedError("Remote Exception caught: " + re);
221         }
222         catch (Exception JavaDoc e) {
223             // possibly thrown from Unsigned constructors
224
// wont happen since we know the value are good!
225
}
226     } // allPrimitivesInout
227

228     public void test2TypeTestAllPrimitivesInout() {
229 /*
230         TypeTest binding = getProxyWithWSDL();
231         allPrimitivesInout(binding);
232         binding = getProxy();
233         allPrimitivesInout(binding);
234 */

235     } // test2TypeTestAllPrimitivesInout
236

237     private void allPrimitivesOut(TypeTest binding) {
238         assertTrue("binding is null", binding != null);
239         try {
240             binding.allPrimitivesOut(
241                     new StringHolder JavaDoc(),
242                     new BigIntegerHolder JavaDoc(),
243                     new IntHolder(),
244                     new LongHolder(),
245                     new ShortHolder(),
246                     new BigDecimalHolder JavaDoc(),
247                     new FloatHolder JavaDoc(),
248                     new DoubleHolder JavaDoc(),
249                     new BooleanHolder JavaDoc(),
250                     new ByteHolder(),
251                     new QNameHolder JavaDoc(),
252                     new CalendarHolder JavaDoc(),
253                     new ByteArrayHolder JavaDoc(),
254                     new ByteArrayHolder JavaDoc(),
255                     new StringHolder JavaDoc(),
256                     new BooleanWrapperHolder JavaDoc(),
257                     new FloatWrapperHolder JavaDoc(),
258                     new DoubleWrapperHolder JavaDoc(),
259                     new BigDecimalHolder JavaDoc(),
260                     new IntegerWrapperHolder JavaDoc(),
261                     new ShortWrapperHolder JavaDoc(),
262                     new ByteArrayHolder JavaDoc(),
263                     new TimeHolder(),
264                     new UnsignedLongHolder(),
265                     new UnsignedIntHolder(),
266                     new UnsignedShortHolder(),
267                     new UnsignedByteHolder(),
268                     new NonNegativeIntegerHolder(),
269                     new PositiveIntegerHolder(),
270                     new NonPositiveIntegerHolder(),
271                     new NegativeIntegerHolder(),
272                     new URIHolder(),
273                     new YearHolder(),
274                     new MonthHolder(),
275                     new DayHolder(),
276                     new YearMonthHolder(),
277                     new MonthDayHolder()
278                     
279             );
280         }
281         catch (RemoteException JavaDoc re) {
282             throw new AssertionFailedError("Remote Exception caught: " + re);
283         }
284     } // allPrimitivesOut
285

286     public void test3TypeTestAllPrimitivesOut() {
287 /*
288         TypeTest binding = getProxyWithWSDL();
289         allPrimitivesOut(binding);
290         binding = getProxy();
291         allPrimitivesOut(binding);
292 */

293     } // test3TypeTestAllPrimitivesOut
294

295 /*
296     public void test4TypeTestEnumIn() {
297         test.wsdl.types.comprehensive_service.TypeTest binding;
298         try {
299             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
300         }
301         catch (javax.xml.rpc.ServiceException jre) {
302             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
303         }
304         assertTrue("binding is null", binding != null);
305
306         try {
307             binding.enumIn(test.wsdl.types.comprehensive_types.Enum.one);
308         }
309         catch (java.rmi.RemoteException re) {
310             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
311         }
312     }
313
314     public void test5TypeTestEnumInout() {
315         test.wsdl.types.comprehensive_service.TypeTest binding;
316         try {
317             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
318         }
319         catch (javax.xml.rpc.ServiceException jre) {
320             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
321         }
322         assertTrue("binding is null", binding != null);
323
324         try {
325             binding.enumInout(new test.wsdl.types.comprehensive_types.EnumHolder(test.wsdl.types.comprehensive_types.Enum.one));
326         }
327         catch (java.rmi.RemoteException re) {
328             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
329         }
330     }
331
332     public void test6TypeTestEnumOut() {
333         test.wsdl.types.comprehensive_service.TypeTest binding;
334         try {
335             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
336         }
337         catch (javax.xml.rpc.ServiceException jre) {
338             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
339         }
340         assertTrue("binding is null", binding != null);
341
342         try {
343             binding.enumOut(new test.wsdl.types.comprehensive_types.EnumHolder());
344         }
345         catch (java.rmi.RemoteException re) {
346             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
347         }
348     }
349
350     public void test7TypeTestEnumReturn() {
351         test.wsdl.types.comprehensive_service.TypeTest binding;
352         try {
353             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
354         }
355         catch (javax.xml.rpc.ServiceException jre) {
356             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
357         }
358         assertTrue("binding is null", binding != null);
359
360         try {
361             test.wsdl.types.comprehensive_types.Enum value = null;
362             value = binding.enumReturn();
363         }
364         catch (java.rmi.RemoteException re) {
365             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
366         }
367     }
368
369     public void test8TypeTestArrayIn() {
370         test.wsdl.types.comprehensive_service.TypeTest binding;
371         try {
372             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
373         }
374         catch (javax.xml.rpc.ServiceException jre) {
375             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
376         }
377         assertTrue("binding is null", binding != null);
378
379         try {
380             binding.arrayIn(new String[0]);
381         }
382         catch (java.rmi.RemoteException re) {
383             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
384         }
385     }
386
387     public void test9TypeTestArrayInout() {
388         test.wsdl.types.comprehensive_service.TypeTest binding;
389         try {
390             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
391         }
392         catch (javax.xml.rpc.ServiceException jre) {
393             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
394         }
395         assertTrue("binding is null", binding != null);
396
397         try {
398             binding.arrayInout(new test.wsdl.types.comprehensive_types.ArrayHolder(new String[0]));
399         }
400         catch (java.rmi.RemoteException re) {
401             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
402         }
403     }
404
405     public void test10TypeTestArrayOut() {
406         test.wsdl.types.comprehensive_service.TypeTest binding;
407         try {
408             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
409         }
410         catch (javax.xml.rpc.ServiceException jre) {
411             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
412         }
413         assertTrue("binding is null", binding != null);
414
415         try {
416             binding.arrayOut(new test.wsdl.types.comprehensive_types.ArrayHolder());
417         }
418         catch (java.rmi.RemoteException re) {
419             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
420         }
421     }
422
423     public void test11TypeTestArrayReturn() {
424         test.wsdl.types.comprehensive_service.TypeTest binding;
425         try {
426             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
427         }
428         catch (javax.xml.rpc.ServiceException jre) {
429             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
430         }
431         assertTrue("binding is null", binding != null);
432
433         try {
434             String[] value = null;
435             value = binding.arrayReturn();
436         }
437         catch (java.rmi.RemoteException re) {
438             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
439         }
440     }
441
442     public void test12TypeTestArrayMIn() {
443         test.wsdl.types.comprehensive_service.TypeTest binding;
444         try {
445             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
446         }
447         catch (javax.xml.rpc.ServiceException jre) {
448             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
449         }
450         assertTrue("binding is null", binding != null);
451
452         try {
453             binding.arrayMIn(new int[0][0][0]);
454         }
455         catch (java.rmi.RemoteException re) {
456             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
457         }
458     }
459
460     public void test13TypeTestArrayMInout() {
461         test.wsdl.types.comprehensive_service.TypeTest binding;
462         try {
463             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
464         }
465         catch (javax.xml.rpc.ServiceException jre) {
466             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
467         }
468         assertTrue("binding is null", binding != null);
469
470         try {
471             binding.arrayMInout(new test.wsdl.types.comprehensive_types.ArrayMHolder(new int[0][0][0]));
472         }
473         catch (java.rmi.RemoteException re) {
474             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
475         }
476     }
477
478     public void test14TypeTestArrayMOut() {
479         test.wsdl.types.comprehensive_service.TypeTest binding;
480         try {
481             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
482         }
483         catch (javax.xml.rpc.ServiceException jre) {
484             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
485         }
486         assertTrue("binding is null", binding != null);
487
488         try {
489             binding.arrayMOut(new test.wsdl.types.comprehensive_types.ArrayMHolder());
490         }
491         catch (java.rmi.RemoteException re) {
492             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
493         }
494     }
495
496     public void test15TypeTestArrayMReturn() {
497         test.wsdl.types.comprehensive_service.TypeTest binding;
498         try {
499             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
500         }
501         catch (javax.xml.rpc.ServiceException jre) {
502             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
503         }
504         assertTrue("binding is null", binding != null);
505
506         try {
507             int[][][] value = null;
508             value = binding.arrayMReturn();
509         }
510         catch (java.rmi.RemoteException re) {
511             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
512         }
513     }
514
515     public void test16TypeTestComplexAllIn() {
516         test.wsdl.types.comprehensive_service.TypeTest binding;
517         try {
518             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
519         }
520         catch (javax.xml.rpc.ServiceException jre) {
521             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
522         }
523         assertTrue("binding is null", binding != null);
524
525         try {
526             binding.complexAllIn(new test.wsdl.types.comprehensive_types.ComplexAll());
527         }
528         catch (java.rmi.RemoteException re) {
529             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
530         }
531     }
532
533     public void test17TypeTestComplexAllInout() {
534         test.wsdl.types.comprehensive_service.TypeTest binding;
535         try {
536             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
537         }
538         catch (javax.xml.rpc.ServiceException jre) {
539             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
540         }
541         assertTrue("binding is null", binding != null);
542
543         try {
544             binding.complexAllInout(new test.wsdl.types.comprehensive_types.ComplexAllHolder(new test.wsdl.types.comprehensive_types.ComplexAll()));
545         }
546         catch (java.rmi.RemoteException re) {
547             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
548         }
549     }
550
551     public void test18TypeTestComplexAllOut() {
552         test.wsdl.types.comprehensive_service.TypeTest binding;
553         try {
554             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
555         }
556         catch (javax.xml.rpc.ServiceException jre) {
557             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
558         }
559         assertTrue("binding is null", binding != null);
560
561         try {
562             binding.complexAllOut(new test.wsdl.types.comprehensive_types.ComplexAllHolder());
563         }
564         catch (java.rmi.RemoteException re) {
565             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
566         }
567     }
568
569     public void test19TypeTestComplexAllReturn() {
570         test.wsdl.types.comprehensive_service.TypeTest binding;
571         try {
572             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
573         }
574         catch (javax.xml.rpc.ServiceException jre) {
575             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
576         }
577         assertTrue("binding is null", binding != null);
578
579         try {
580             test.wsdl.types.comprehensive_types.ComplexAll value = null;
581             value = binding.complexAllReturn();
582         }
583         catch (java.rmi.RemoteException re) {
584             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
585         }
586     }
587
588     public void test20TypeTestComplexSequenceIn() {
589         test.wsdl.types.comprehensive_service.TypeTest binding;
590         try {
591             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
592         }
593         catch (javax.xml.rpc.ServiceException jre) {
594             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
595         }
596         assertTrue("binding is null", binding != null);
597
598         try {
599             binding.complexSequenceIn(new test.wsdl.types.comprehensive_types.ComplexSequence());
600         }
601         catch (java.rmi.RemoteException re) {
602             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
603         }
604     }
605
606     public void test21TypeTestComplexSequenceInout() {
607         test.wsdl.types.comprehensive_service.TypeTest binding;
608         try {
609             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
610         }
611         catch (javax.xml.rpc.ServiceException jre) {
612             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
613         }
614         assertTrue("binding is null", binding != null);
615
616         try {
617             binding.complexSequenceInout(new test.wsdl.types.comprehensive_types.ComplexSequenceHolder(new test.wsdl.types.comprehensive_types.ComplexSequence()));
618         }
619         catch (java.rmi.RemoteException re) {
620             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
621         }
622     }
623
624     public void test22TypeTestComplexSequenceOut() {
625         test.wsdl.types.comprehensive_service.TypeTest binding;
626         try {
627             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
628         }
629         catch (javax.xml.rpc.ServiceException jre) {
630             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
631         }
632         assertTrue("binding is null", binding != null);
633
634         try {
635             binding.complexSequenceOut(new test.wsdl.types.comprehensive_types.ComplexSequenceHolder());
636         }
637         catch (java.rmi.RemoteException re) {
638             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
639         }
640     }
641
642     public void test23TypeTestComplexSequenceReturn() {
643         test.wsdl.types.comprehensive_service.TypeTest binding;
644         try {
645             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
646         }
647         catch (javax.xml.rpc.ServiceException jre) {
648             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
649         }
650         assertTrue("binding is null", binding != null);
651
652         try {
653             test.wsdl.types.comprehensive_types.ComplexSequence value = null;
654             value = binding.complexSequenceReturn();
655         }
656         catch (java.rmi.RemoteException re) {
657             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
658         }
659     }
660
661     public void test24TypeTestElemWComplexIn() {
662         test.wsdl.types.comprehensive_service.TypeTest binding;
663         try {
664             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
665         }
666         catch (javax.xml.rpc.ServiceException jre) {
667             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
668         }
669         assertTrue("binding is null", binding != null);
670
671         try {
672             binding.elemWComplexIn(new test.wsdl.types.comprehensive_types.ElemWComplex());
673         }
674         catch (java.rmi.RemoteException re) {
675             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
676         }
677     }
678
679     public void test25TypeTestElemWComplexInout() {
680         test.wsdl.types.comprehensive_service.TypeTest binding;
681         try {
682             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
683         }
684         catch (javax.xml.rpc.ServiceException jre) {
685             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
686         }
687         assertTrue("binding is null", binding != null);
688
689         try {
690             binding.elemWComplexInout(new test.wsdl.types.comprehensive_types.ElemWComplexHolder(new test.wsdl.types.comprehensive_types.ElemWComplex()));
691         }
692         catch (java.rmi.RemoteException re) {
693             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
694         }
695     }
696
697     public void test26TypeTestElemWComplexOut() {
698         test.wsdl.types.comprehensive_service.TypeTest binding;
699         try {
700             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
701         }
702         catch (javax.xml.rpc.ServiceException jre) {
703             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
704         }
705         assertTrue("binding is null", binding != null);
706
707         try {
708             binding.elemWComplexOut(new test.wsdl.types.comprehensive_types.ElemWComplexHolder());
709         }
710         catch (java.rmi.RemoteException re) {
711             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
712         }
713     }
714
715     public void test27TypeTestElemWComplexReturn() {
716         test.wsdl.types.comprehensive_service.TypeTest binding;
717         try {
718             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
719         }
720         catch (javax.xml.rpc.ServiceException jre) {
721             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
722         }
723         assertTrue("binding is null", binding != null);
724
725         try {
726             test.wsdl.types.comprehensive_types.ElemWComplex value = null;
727             value = binding.elemWComplexReturn();
728         }
729         catch (java.rmi.RemoteException re) {
730             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
731         }
732     }
733
734     public void test28TypeTestComplexWComplexIn() {
735         test.wsdl.types.comprehensive_service.TypeTest binding;
736         try {
737             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
738         }
739         catch (javax.xml.rpc.ServiceException jre) {
740             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
741         }
742         assertTrue("binding is null", binding != null);
743
744         try {
745             binding.complexWComplexIn(new test.wsdl.types.comprehensive_types.ComplexWComplex());
746         }
747         catch (java.rmi.RemoteException re) {
748             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
749         }
750     }
751
752     public void test29TypeTestComplexWComplexInout() {
753         test.wsdl.types.comprehensive_service.TypeTest binding;
754         try {
755             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
756         }
757         catch (javax.xml.rpc.ServiceException jre) {
758             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
759         }
760         assertTrue("binding is null", binding != null);
761
762         try {
763             binding.complexWComplexInout(new test.wsdl.types.comprehensive_types.ComplexWComplexHolder(new test.wsdl.types.comprehensive_types.ComplexWComplex()));
764         }
765         catch (java.rmi.RemoteException re) {
766             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
767         }
768     }
769
770     public void test30TypeTestComplexWComplexOut() {
771         test.wsdl.types.comprehensive_service.TypeTest binding;
772         try {
773             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
774         }
775         catch (javax.xml.rpc.ServiceException jre) {
776             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
777         }
778         assertTrue("binding is null", binding != null);
779
780         try {
781             binding.complexWComplexOut(new test.wsdl.types.comprehensive_types.ComplexWComplexHolder());
782         }
783         catch (java.rmi.RemoteException re) {
784             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
785         }
786     }
787
788     public void test31TypeTestComplexWComplexReturn() {
789         test.wsdl.types.comprehensive_service.TypeTest binding;
790         try {
791             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
792         }
793         catch (javax.xml.rpc.ServiceException jre) {
794             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
795         }
796         assertTrue("binding is null", binding != null);
797
798         try {
799             test.wsdl.types.comprehensive_types.ComplexWComplex value = null;
800             value = binding.complexWComplexReturn();
801         }
802         catch (java.rmi.RemoteException re) {
803             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
804         }
805     }
806
807     public void test32TypeTestAnyIn() {
808         test.wsdl.types.comprehensive_service.TypeTest binding;
809         try {
810             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
811         }
812         catch (javax.xml.rpc.ServiceException jre) {
813             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
814         }
815         assertTrue("binding is null", binding != null);
816
817         try {
818             binding.anyIn(new String());
819         }
820         catch (java.rmi.RemoteException re) {
821             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
822         }
823     }
824
825     public void test33TypeTestAnyInout() {
826         test.wsdl.types.comprehensive_service.TypeTest binding;
827         try {
828             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
829         }
830         catch (javax.xml.rpc.ServiceException jre) {
831             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
832         }
833         assertTrue("binding is null", binding != null);
834
835         try {
836             binding.anyInout(new ObjectHolder(new String()));
837         }
838         catch (java.rmi.RemoteException re) {
839             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
840         }
841     }
842
843     public void test34TypeTestAnyOut() {
844         test.wsdl.types.comprehensive_service.TypeTest binding;
845         try {
846             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
847         }
848         catch (javax.xml.rpc.ServiceException jre) {
849             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
850         }
851         assertTrue("binding is null", binding != null);
852
853         try {
854             binding.anyOut(new ObjectHolder());
855         }
856         catch (java.rmi.RemoteException re) {
857             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
858         }
859     }
860
861     public void test35TypeTestAnyReturn() {
862         test.wsdl.types.comprehensive_service.TypeTest binding;
863         try {
864             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
865         }
866         catch (javax.xml.rpc.ServiceException jre) {
867             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
868         }
869         assertTrue("binding is null", binding != null);
870
871         try {
872             Object value = null;
873             value = binding.anyReturn();
874         }
875         catch (java.rmi.RemoteException re) {
876             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
877         }
878     }
879
880     public void test36TypeTestAnimalIn() {
881         test.wsdl.types.comprehensive_service.TypeTest binding;
882         try {
883             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
884         }
885         catch (javax.xml.rpc.ServiceException jre) {
886             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
887         }
888         assertTrue("binding is null", binding != null);
889
890         try {
891             binding.animalIn(new test.wsdl.types.comprehensive_types.Animal());
892         }
893         catch (java.rmi.RemoteException re) {
894             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
895         }
896     }
897
898     public void test37TypeTestAnimalInout() {
899         test.wsdl.types.comprehensive_service.TypeTest binding;
900         try {
901             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
902         }
903         catch (javax.xml.rpc.ServiceException jre) {
904             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
905         }
906         assertTrue("binding is null", binding != null);
907
908         try {
909             binding.animalInout(new test.wsdl.types.comprehensive_types.AnimalHolder(new test.wsdl.types.comprehensive_types.Animal()));
910         }
911         catch (java.rmi.RemoteException re) {
912             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
913         }
914     }
915
916     public void test38TypeTestAnimalOut() {
917         test.wsdl.types.comprehensive_service.TypeTest binding;
918         try {
919             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
920         }
921         catch (javax.xml.rpc.ServiceException jre) {
922             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
923         }
924         assertTrue("binding is null", binding != null);
925
926         try {
927             binding.animalOut(new test.wsdl.types.comprehensive_types.AnimalHolder());
928         }
929         catch (java.rmi.RemoteException re) {
930             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
931         }
932     }
933
934     public void test39TypeTestAnimalReturn() {
935         test.wsdl.types.comprehensive_service.TypeTest binding;
936         try {
937             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
938         }
939         catch (javax.xml.rpc.ServiceException jre) {
940             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
941         }
942         assertTrue("binding is null", binding != null);
943
944         try {
945             test.wsdl.types.comprehensive_types.Animal value = null;
946             value = binding.animalReturn();
947         }
948         catch (java.rmi.RemoteException re) {
949             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
950         }
951     }
952
953     public void test40TypeTestCatIn() {
954         test.wsdl.types.comprehensive_service.TypeTest binding;
955         try {
956             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
957         }
958         catch (javax.xml.rpc.ServiceException jre) {
959             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
960         }
961         assertTrue("binding is null", binding != null);
962
963         try {
964             binding.catIn(new test.wsdl.types.comprehensive_types.Cat());
965         }
966         catch (java.rmi.RemoteException re) {
967             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
968         }
969     }
970
971     public void test41TypeTestCatInout() {
972         test.wsdl.types.comprehensive_service.TypeTest binding;
973         try {
974             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
975         }
976         catch (javax.xml.rpc.ServiceException jre) {
977             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
978         }
979         assertTrue("binding is null", binding != null);
980
981         try {
982             binding.catInout(new test.wsdl.types.comprehensive_types.CatHolder(new test.wsdl.types.comprehensive_types.Cat()));
983         }
984         catch (java.rmi.RemoteException re) {
985             throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
986         }
987     }
988
989     public void test42TypeTestCatOut() {
990         test.wsdl.types.comprehensive_service.TypeTest binding;
991         try {
992             binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
993         }
994         catch (javax.xml.rpc.ServiceException jre) {
995             throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
996         }
997         assertTrue("binding is null", binding != null);
998
999         try {
1000            binding.catOut(new test.wsdl.types.comprehensive_types.CatHolder());
1001        }
1002        catch (java.rmi.RemoteException re) {
1003            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1004        }
1005    }
1006
1007    public void test43TypeTestCatReturn() {
1008        test.wsdl.types.comprehensive_service.TypeTest binding;
1009        try {
1010            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1011        }
1012        catch (javax.xml.rpc.ServiceException jre) {
1013            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1014        }
1015        assertTrue("binding is null", binding != null);
1016
1017        try {
1018            test.wsdl.types.comprehensive_types.Cat value = null;
1019            value = binding.catReturn();
1020        }
1021        catch (java.rmi.RemoteException re) {
1022            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1023        }
1024    }
1025
1026    public void test44TypeTestMethodBoolean() {
1027        test.wsdl.types.comprehensive_service.TypeTest binding;
1028        try {
1029            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1030        }
1031        catch (javax.xml.rpc.ServiceException jre) {
1032            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1033        }
1034        assertTrue("binding is null", binding != null);
1035
1036        try {
1037            boolean value = false;
1038            value = binding.methodBoolean(true, new BooleanHolder(true));
1039        }
1040        catch (java.rmi.RemoteException re) {
1041            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1042        }
1043    }
1044
1045    public void test45TypeTestMethodByte() {
1046        test.wsdl.types.comprehensive_service.TypeTest binding;
1047        try {
1048            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1049        }
1050        catch (javax.xml.rpc.ServiceException jre) {
1051            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1052        }
1053        assertTrue("binding is null", binding != null);
1054
1055        try {
1056            byte value = -3;
1057            value = binding.methodByte((byte)0, new ByteHolder((byte)0));
1058        }
1059        catch (java.rmi.RemoteException re) {
1060            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1061        }
1062    }
1063
1064    public void test46TypeTestMethodShort() {
1065        test.wsdl.types.comprehensive_service.TypeTest binding;
1066        try {
1067            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1068        }
1069        catch (javax.xml.rpc.ServiceException jre) {
1070            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1071        }
1072        assertTrue("binding is null", binding != null);
1073
1074        try {
1075            short value = -3;
1076            value = binding.methodShort((short)0, new ShortHolder((short)0));
1077        }
1078        catch (java.rmi.RemoteException re) {
1079            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1080        }
1081    }
1082
1083    public void test47TypeTestMethodInt() {
1084        test.wsdl.types.comprehensive_service.TypeTest binding;
1085        try {
1086            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1087        }
1088        catch (javax.xml.rpc.ServiceException jre) {
1089            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1090        }
1091        assertTrue("binding is null", binding != null);
1092
1093        try {
1094            int value = -3;
1095            value = binding.methodInt(0, new IntHolder(0));
1096        }
1097        catch (java.rmi.RemoteException re) {
1098            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1099        }
1100    }
1101
1102    public void test48TypeTestMethodLong() {
1103        test.wsdl.types.comprehensive_service.TypeTest binding;
1104        try {
1105            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1106        }
1107        catch (javax.xml.rpc.ServiceException jre) {
1108            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1109        }
1110        assertTrue("binding is null", binding != null);
1111
1112        try {
1113            long value = -3;
1114            value = binding.methodLong(0, new LongHolder(0));
1115        }
1116        catch (java.rmi.RemoteException re) {
1117            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1118        }
1119    }
1120
1121    public void test49TypeTestMethodFloat() {
1122        test.wsdl.types.comprehensive_service.TypeTest binding;
1123        try {
1124            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1125        }
1126        catch (javax.xml.rpc.ServiceException jre) {
1127            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1128        }
1129        assertTrue("binding is null", binding != null);
1130
1131        try {
1132            float value = -3;
1133            value = binding.methodFloat(0, new FloatHolder(0));
1134        }
1135        catch (java.rmi.RemoteException re) {
1136            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1137        }
1138    }
1139
1140    public void test50TypeTestMethodDouble() {
1141        test.wsdl.types.comprehensive_service.TypeTest binding;
1142        try {
1143            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1144        }
1145        catch (javax.xml.rpc.ServiceException jre) {
1146            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1147        }
1148        assertTrue("binding is null", binding != null);
1149
1150        try {
1151            double value = -3;
1152            value = binding.methodDouble(0, new DoubleHolder(0));
1153        }
1154        catch (java.rmi.RemoteException re) {
1155            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1156        }
1157    }
1158
1159    public void test51TypeTestMethodString() {
1160        test.wsdl.types.comprehensive_service.TypeTest binding;
1161        try {
1162            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1163        }
1164        catch (javax.xml.rpc.ServiceException jre) {
1165            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1166        }
1167        assertTrue("binding is null", binding != null);
1168
1169        try {
1170            String value = null;
1171            value = binding.methodString(new String(), new StringHolder(new String()));
1172        }
1173        catch (java.rmi.RemoteException re) {
1174            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1175        }
1176    }
1177
1178    public void test52TypeTestMethodInteger() {
1179        test.wsdl.types.comprehensive_service.TypeTest binding;
1180        try {
1181            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1182        }
1183        catch (javax.xml.rpc.ServiceException jre) {
1184            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1185        }
1186        assertTrue("binding is null", binding != null);
1187
1188        try {
1189            java.math.BigInteger value = null;
1190            value = binding.methodInteger(new java.math.BigInteger("0"), new BigIntegerHolder(new java.math.BigInteger("0")));
1191        }
1192        catch (java.rmi.RemoteException re) {
1193            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1194        }
1195    }
1196
1197    public void test53TypeTestMethodDecimal() {
1198        test.wsdl.types.comprehensive_service.TypeTest binding;
1199        try {
1200            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1201        }
1202        catch (javax.xml.rpc.ServiceException jre) {
1203            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1204        }
1205        assertTrue("binding is null", binding != null);
1206
1207        try {
1208            java.math.BigDecimal value = null;
1209            value = binding.methodDecimal(new java.math.BigDecimal(0), new BigDecimalHolder(new java.math.BigDecimal(0)));
1210        }
1211        catch (java.rmi.RemoteException re) {
1212            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1213        }
1214    }
1215
1216    public void test54TypeTestMethodDateTime() {
1217        test.wsdl.types.comprehensive_service.TypeTest binding;
1218        try {
1219            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1220        }
1221        catch (javax.xml.rpc.ServiceException jre) {
1222            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1223        }
1224        assertTrue("binding is null", binding != null);
1225
1226        try {
1227            java.util.Calendar value = null;
1228            value = binding.methodDateTime(java.util.Calendar.getInstance(), new CalendarHolder(java.util.Calendar.getInstance()));
1229        }
1230        catch (java.rmi.RemoteException re) {
1231            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1232        }
1233    }
1234
1235    public void test55TypeTestMethodQName() {
1236        test.wsdl.types.comprehensive_service.TypeTest binding;
1237        try {
1238            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1239        }
1240        catch (javax.xml.rpc.ServiceException jre) {
1241            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1242        }
1243        assertTrue("binding is null", binding != null);
1244
1245        try {
1246            javax.xml.namespace.QName value = null;
1247            value = binding.methodQName(new javax.xml.namespace.QName("http://double-double", "toil-and-trouble"), new QNameHolder(new javax.xml.namespace.QName("http://double-double", "toil-and-trouble")));
1248        }
1249        catch (java.rmi.RemoteException re) {
1250            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1251        }
1252    }
1253
1254    public void test56TypeTestMethodSoapString() {
1255        test.wsdl.types.comprehensive_service.TypeTest binding;
1256        try {
1257            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1258        }
1259        catch (javax.xml.rpc.ServiceException jre) {
1260            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1261        }
1262        assertTrue("binding is null", binding != null);
1263
1264        try {
1265            String value = null;
1266            value = binding.methodSoapString(new String(), new StringHolder(new String()));
1267        }
1268        catch (java.rmi.RemoteException re) {
1269            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1270        }
1271    }
1272
1273    public void test57TypeTestMethodSoapBoolean() {
1274        test.wsdl.types.comprehensive_service.TypeTest binding;
1275        try {
1276            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1277        }
1278        catch (javax.xml.rpc.ServiceException jre) {
1279            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1280        }
1281        assertTrue("binding is null", binding != null);
1282
1283        try {
1284            Boolean value = null;
1285            value = binding.methodSoapBoolean(new Boolean(false), new BooleanWrapperHolder(new Boolean(false)));
1286        }
1287        catch (java.rmi.RemoteException re) {
1288            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1289        }
1290    }
1291
1292    public void test58TypeTestMethodSoapFloat() {
1293        test.wsdl.types.comprehensive_service.TypeTest binding;
1294        try {
1295            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1296        }
1297        catch (javax.xml.rpc.ServiceException jre) {
1298            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1299        }
1300        assertTrue("binding is null", binding != null);
1301
1302        try {
1303            Float value = null;
1304            value = binding.methodSoapFloat(new Float(0), new FloatWrapperHolder(new Float(0)));
1305        }
1306        catch (java.rmi.RemoteException re) {
1307            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1308        }
1309    }
1310
1311    public void test59TypeTestMethodSoapDouble() {
1312        test.wsdl.types.comprehensive_service.TypeTest binding;
1313        try {
1314            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1315        }
1316        catch (javax.xml.rpc.ServiceException jre) {
1317            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1318        }
1319        assertTrue("binding is null", binding != null);
1320
1321        try {
1322            Double value = null;
1323            value = binding.methodSoapDouble(new Double(0), new DoubleWrapperHolder(new Double(0)));
1324        }
1325        catch (java.rmi.RemoteException re) {
1326            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1327        }
1328    }
1329
1330    public void test60TypeTestMethodSoapDecimal() {
1331        test.wsdl.types.comprehensive_service.TypeTest binding;
1332        try {
1333            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1334        }
1335        catch (javax.xml.rpc.ServiceException jre) {
1336            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1337        }
1338        assertTrue("binding is null", binding != null);
1339
1340        try {
1341            java.math.BigDecimal value = null;
1342            value = binding.methodSoapDecimal(new java.math.BigDecimal(0), new BigDecimalHolder(new java.math.BigDecimal(0)));
1343        }
1344        catch (java.rmi.RemoteException re) {
1345            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1346        }
1347    }
1348
1349    public void test61TypeTestMethodSoapInt() {
1350        test.wsdl.types.comprehensive_service.TypeTest binding;
1351        try {
1352            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1353        }
1354        catch (javax.xml.rpc.ServiceException jre) {
1355            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1356        }
1357        assertTrue("binding is null", binding != null);
1358
1359        try {
1360            Integer value = null;
1361            value = binding.methodSoapInt(new Integer(0), new IntegerWrapperHolder(new Integer(0)));
1362        }
1363        catch (java.rmi.RemoteException re) {
1364            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1365        }
1366    }
1367
1368    public void test62TypeTestMethodSoapShort() {
1369        test.wsdl.types.comprehensive_service.TypeTest binding;
1370        try {
1371            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1372        }
1373        catch (javax.xml.rpc.ServiceException jre) {
1374            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1375        }
1376        assertTrue("binding is null", binding != null);
1377
1378        try {
1379            Short value = null;
1380            value = binding.methodSoapShort(new Short((short)0), new ShortWrapperHolder(new Short((short)0)));
1381        }
1382        catch (java.rmi.RemoteException re) {
1383            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
1384        }
1385    }
1386*/

1387}
1388
1389
Popular Tags