Debian Codegraph @

test/wsdl/types/comprehensive_service/TypeTestServiceTestCase.java

raw
1 /**
2 * TypeTestServiceTestCase.java
3 *
4 * This file was auto-generated from WSDL
5 * by the Apache Axis 1.2alpha Dec 15, 2003 (12:04:17 EST) WSDL2Java emitter.
6 */
7
8 package test.wsdl.types.comprehensive_service;
9
10 public class TypeTestServiceTestCase extends junit.framework.TestCase {
11 public TypeTestServiceTestCase(java.lang.String name) {
12 super(name);
13 }
14
15 /* FIXME: RUNTIME WSDL broken.
16 public void testTypeTestWSDL() throws Exception {
17 javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance();
18 java.net.URL url = new java.net.URL(new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTestAddress() + "?WSDL");
19 javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getServiceName());
20 assertTrue(service != null);
21 }
22 */
23
24 public void test1TypeTestAllPrimitivesIn() throws Exception {
25 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
26 try {
27 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
28 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
29 }
30 catch (javax.xml.rpc.ServiceException jre) {
31 if(jre.getLinkedCause()!=null)
32 jre.getLinkedCause().printStackTrace();
33 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
34 }
35 assertNotNull("binding is null", binding);
36
37 // Time out after a minute
38 binding.setTimeout(60000);
39
40 // Test operation
41 binding.allPrimitivesIn(new java.lang.String(), new java.math.BigInteger("0"), 0, 0, (short)0, new java.math.BigDecimal(0), 0, 0, true, (byte)0, new javax.xml.namespace.QName("http://double-double", "toil-and-trouble"), java.util.Calendar.getInstance(), new byte[0], new byte[0], new java.lang.String(), new java.lang.Boolean(false), new java.lang.Float(0), new java.lang.Double(0), new java.math.BigDecimal(0), new java.lang.Integer(0), new java.lang.Short((short)0), new byte[0], new org.apache.axis.types.Time("15:45:45.275Z"), new org.apache.axis.types.UnsignedLong(0), new org.apache.axis.types.UnsignedInt(0), new org.apache.axis.types.UnsignedShort(0), new org.apache.axis.types.UnsignedByte(0), new org.apache.axis.types.NonNegativeInteger("0"), new org.apache.axis.types.PositiveInteger("1"), new org.apache.axis.types.NonPositiveInteger("0"), new org.apache.axis.types.NegativeInteger("-1"), new org.apache.axis.types.URI("urn:testing"), new org.apache.axis.types.Year(2000), new org.apache.axis.types.Month(1), new org.apache.axis.types.Day(1), new org.apache.axis.types.YearMonth(2000,1), new org.apache.axis.types.MonthDay(1, 1));
42 // TBD - validate results
43 }
44
45 public void test2TypeTestAllPrimitivesInout() throws Exception {
46 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
47 try {
48 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
49 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
50 }
51 catch (javax.xml.rpc.ServiceException jre) {
52 if(jre.getLinkedCause()!=null)
53 jre.getLinkedCause().printStackTrace();
54 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
55 }
56 assertNotNull("binding is null", binding);
57
58 // Time out after a minute
59 binding.setTimeout(60000);
60
61 // Test operation
62 binding.allPrimitivesInout(new javax.xml.rpc.holders.StringHolder(new java.lang.String()), new javax.xml.rpc.holders.BigIntegerHolder(new java.math.BigInteger("0")), new javax.xml.rpc.holders.IntHolder(0), new javax.xml.rpc.holders.LongHolder(0), new javax.xml.rpc.holders.ShortHolder((short)0), new javax.xml.rpc.holders.BigDecimalHolder(new java.math.BigDecimal(0)), new javax.xml.rpc.holders.FloatHolder(0), new javax.xml.rpc.holders.DoubleHolder(0), new javax.xml.rpc.holders.BooleanHolder(true), new javax.xml.rpc.holders.ByteHolder((byte)0), new javax.xml.rpc.holders.QNameHolder(new javax.xml.namespace.QName("http://double-double", "toil-and-trouble")), new javax.xml.rpc.holders.CalendarHolder(java.util.Calendar.getInstance()), new javax.xml.rpc.holders.ByteArrayHolder(new byte[0]), new javax.xml.rpc.holders.ByteArrayHolder(new byte[0]), new javax.xml.rpc.holders.StringHolder(new java.lang.String()), new javax.xml.rpc.holders.BooleanWrapperHolder(new java.lang.Boolean(false)), new javax.xml.rpc.holders.FloatWrapperHolder(new java.lang.Float(0)), new javax.xml.rpc.holders.DoubleWrapperHolder(new java.lang.Double(0)), new javax.xml.rpc.holders.BigDecimalHolder(new java.math.BigDecimal(0)), new javax.xml.rpc.holders.IntegerWrapperHolder(new java.lang.Integer(0)), new javax.xml.rpc.holders.ShortWrapperHolder(new java.lang.Short((short)0)), new javax.xml.rpc.holders.ByteArrayHolder(new byte[0]), new org.apache.axis.holders.TimeHolder(new org.apache.axis.types.Time("15:45:45.275Z")), new org.apache.axis.holders.UnsignedLongHolder(new org.apache.axis.types.UnsignedLong(0)), new org.apache.axis.holders.UnsignedIntHolder(new org.apache.axis.types.UnsignedInt(0)), new org.apache.axis.holders.UnsignedShortHolder(new org.apache.axis.types.UnsignedShort(0)), new org.apache.axis.holders.UnsignedByteHolder(new org.apache.axis.types.UnsignedByte(0)), new org.apache.axis.holders.NonNegativeIntegerHolder(new org.apache.axis.types.NonNegativeInteger("0")), new org.apache.axis.holders.PositiveIntegerHolder(new org.apache.axis.types.PositiveInteger("1")), new org.apache.axis.holders.NonPositiveIntegerHolder(new org.apache.axis.types.NonPositiveInteger("0")), new org.apache.axis.holders.NegativeIntegerHolder(new org.apache.axis.types.NegativeInteger("-1")), new org.apache.axis.holders.URIHolder(new org.apache.axis.types.URI("urn:testing")), new org.apache.axis.holders.YearHolder(new org.apache.axis.types.Year(2000)), new org.apache.axis.holders.MonthHolder(new org.apache.axis.types.Month(1)), new org.apache.axis.holders.DayHolder(new org.apache.axis.types.Day(1)), new org.apache.axis.holders.YearMonthHolder(new org.apache.axis.types.YearMonth(2000,1)), new org.apache.axis.holders.MonthDayHolder(new org.apache.axis.types.MonthDay(1, 1)));
63 // TBD - validate results
64 }
65
66 public void test3TypeTestAllPrimitivesOut() throws Exception {
67 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
68 try {
69 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
70 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
71 }
72 catch (javax.xml.rpc.ServiceException jre) {
73 if(jre.getLinkedCause()!=null)
74 jre.getLinkedCause().printStackTrace();
75 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
76 }
77 assertNotNull("binding is null", binding);
78
79 // Time out after a minute
80 binding.setTimeout(60000);
81
82 // Test operation
83 binding.allPrimitivesOut(new javax.xml.rpc.holders.StringHolder(), new javax.xml.rpc.holders.BigIntegerHolder(), new javax.xml.rpc.holders.IntHolder(), new javax.xml.rpc.holders.LongHolder(), new javax.xml.rpc.holders.ShortHolder(), new javax.xml.rpc.holders.BigDecimalHolder(), new javax.xml.rpc.holders.FloatHolder(), new javax.xml.rpc.holders.DoubleHolder(), new javax.xml.rpc.holders.BooleanHolder(), new javax.xml.rpc.holders.ByteHolder(), new javax.xml.rpc.holders.QNameHolder(), new javax.xml.rpc.holders.CalendarHolder(), new javax.xml.rpc.holders.ByteArrayHolder(), new javax.xml.rpc.holders.ByteArrayHolder(), new javax.xml.rpc.holders.StringHolder(), new javax.xml.rpc.holders.BooleanWrapperHolder(), new javax.xml.rpc.holders.FloatWrapperHolder(), new javax.xml.rpc.holders.DoubleWrapperHolder(), new javax.xml.rpc.holders.BigDecimalHolder(), new javax.xml.rpc.holders.IntegerWrapperHolder(), new javax.xml.rpc.holders.ShortWrapperHolder(), new javax.xml.rpc.holders.ByteArrayHolder(), new org.apache.axis.holders.TimeHolder(), new org.apache.axis.holders.UnsignedLongHolder(), new org.apache.axis.holders.UnsignedIntHolder(), new org.apache.axis.holders.UnsignedShortHolder(), new org.apache.axis.holders.UnsignedByteHolder(), new org.apache.axis.holders.NonNegativeIntegerHolder(), new org.apache.axis.holders.PositiveIntegerHolder(), new org.apache.axis.holders.NonPositiveIntegerHolder(), new org.apache.axis.holders.NegativeIntegerHolder(), new org.apache.axis.holders.URIHolder(), new org.apache.axis.holders.YearHolder(), new org.apache.axis.holders.MonthHolder(), new org.apache.axis.holders.DayHolder(), new org.apache.axis.holders.YearMonthHolder(), new org.apache.axis.holders.MonthDayHolder());
84 // TBD - validate results
85 }
86
87 public void test4TypeTestEnumIn() throws Exception {
88 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
89 try {
90 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
91 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
92 }
93 catch (javax.xml.rpc.ServiceException jre) {
94 if(jre.getLinkedCause()!=null)
95 jre.getLinkedCause().printStackTrace();
96 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
97 }
98 assertNotNull("binding is null", binding);
99
100 // Time out after a minute
101 binding.setTimeout(60000);
102
103 // Test operation
104 binding.enumIn(test.wsdl.types.comprehensive_types.Enum.one);
105 // TBD - validate results
106 }
107
108 public void test5TypeTestEnumInout() throws Exception {
109 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
110 try {
111 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
112 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
113 }
114 catch (javax.xml.rpc.ServiceException jre) {
115 if(jre.getLinkedCause()!=null)
116 jre.getLinkedCause().printStackTrace();
117 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
118 }
119 assertNotNull("binding is null", binding);
120
121 // Time out after a minute
122 binding.setTimeout(60000);
123
124 // Test operation
125 binding.enumInout(new test.wsdl.types.comprehensive_types.holders.EnumHolder(test.wsdl.types.comprehensive_types.Enum.one));
126 // TBD - validate results
127 }
128
129 public void test6TypeTestEnumOut() throws Exception {
130 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
131 try {
132 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
133 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
134 }
135 catch (javax.xml.rpc.ServiceException jre) {
136 if(jre.getLinkedCause()!=null)
137 jre.getLinkedCause().printStackTrace();
138 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
139 }
140 assertNotNull("binding is null", binding);
141
142 // Time out after a minute
143 binding.setTimeout(60000);
144
145 // Test operation
146 binding.enumOut(new test.wsdl.types.comprehensive_types.holders.EnumHolder());
147 // TBD - validate results
148 }
149
150 public void test7TypeTestEnumReturn() throws Exception {
151 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
152 try {
153 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
154 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
155 }
156 catch (javax.xml.rpc.ServiceException jre) {
157 if(jre.getLinkedCause()!=null)
158 jre.getLinkedCause().printStackTrace();
159 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
160 }
161 assertNotNull("binding is null", binding);
162
163 // Time out after a minute
164 binding.setTimeout(60000);
165
166 // Test operation
167 test.wsdl.types.comprehensive_types.Enum value = null;
168 value = binding.enumReturn();
169 // TBD - validate results
170 }
171
172 public void test8TypeTestEnumIntIn() throws Exception {
173 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
174 try {
175 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
176 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
177 }
178 catch (javax.xml.rpc.ServiceException jre) {
179 if(jre.getLinkedCause()!=null)
180 jre.getLinkedCause().printStackTrace();
181 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
182 }
183 assertNotNull("binding is null", binding);
184
185 // Time out after a minute
186 binding.setTimeout(60000);
187
188 // Test operation
189 binding.enumIntIn(test.wsdl.types.comprehensive_types.EnumInt.value1);
190 // TBD - validate results
191 }
192
193 public void test9TypeTestEnumIntInout() throws Exception {
194 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
195 try {
196 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
197 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
198 }
199 catch (javax.xml.rpc.ServiceException jre) {
200 if(jre.getLinkedCause()!=null)
201 jre.getLinkedCause().printStackTrace();
202 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
203 }
204 assertNotNull("binding is null", binding);
205
206 // Time out after a minute
207 binding.setTimeout(60000);
208
209 // Test operation
210 binding.enumIntInout(new test.wsdl.types.comprehensive_types.holders.EnumIntHolder(test.wsdl.types.comprehensive_types.EnumInt.value1));
211 // TBD - validate results
212 }
213
214 public void test10TypeTestEnumIntOut() throws Exception {
215 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
216 try {
217 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
218 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
219 }
220 catch (javax.xml.rpc.ServiceException jre) {
221 if(jre.getLinkedCause()!=null)
222 jre.getLinkedCause().printStackTrace();
223 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
224 }
225 assertNotNull("binding is null", binding);
226
227 // Time out after a minute
228 binding.setTimeout(60000);
229
230 // Test operation
231 binding.enumIntOut(new test.wsdl.types.comprehensive_types.holders.EnumIntHolder());
232 // TBD - validate results
233 }
234
235 public void test11TypeTestEnumIntReturn() throws Exception {
236 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
237 try {
238 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
239 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
240 }
241 catch (javax.xml.rpc.ServiceException jre) {
242 if(jre.getLinkedCause()!=null)
243 jre.getLinkedCause().printStackTrace();
244 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
245 }
246 assertNotNull("binding is null", binding);
247
248 // Time out after a minute
249 binding.setTimeout(60000);
250
251 // Test operation
252 test.wsdl.types.comprehensive_types.EnumInt value = null;
253 value = binding.enumIntReturn();
254 // TBD - validate results
255 }
256
257 public void test12TypeTestArrayIn() throws Exception {
258 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
259 try {
260 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
261 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
262 }
263 catch (javax.xml.rpc.ServiceException jre) {
264 if(jre.getLinkedCause()!=null)
265 jre.getLinkedCause().printStackTrace();
266 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
267 }
268 assertNotNull("binding is null", binding);
269
270 // Time out after a minute
271 binding.setTimeout(60000);
272
273 // Test operation
274 binding.arrayIn(new java.lang.String[0]);
275 // TBD - validate results
276 }
277
278 public void test13TypeTestArrayInout() throws Exception {
279 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
280 try {
281 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
282 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
283 }
284 catch (javax.xml.rpc.ServiceException jre) {
285 if(jre.getLinkedCause()!=null)
286 jre.getLinkedCause().printStackTrace();
287 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
288 }
289 assertNotNull("binding is null", binding);
290
291 // Time out after a minute
292 binding.setTimeout(60000);
293
294 // Test operation
295 binding.arrayInout(new test.wsdl.types.comprehensive_types.holders.ArrayHolder(new java.lang.String[0]));
296 // TBD - validate results
297 }
298
299 public void test14TypeTestArrayOut() throws Exception {
300 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
301 try {
302 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
303 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
304 }
305 catch (javax.xml.rpc.ServiceException jre) {
306 if(jre.getLinkedCause()!=null)
307 jre.getLinkedCause().printStackTrace();
308 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
309 }
310 assertNotNull("binding is null", binding);
311
312 // Time out after a minute
313 binding.setTimeout(60000);
314
315 // Test operation
316 binding.arrayOut(new test.wsdl.types.comprehensive_types.holders.ArrayHolder());
317 // TBD - validate results
318 }
319
320 public void test15TypeTestArrayReturn() throws Exception {
321 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
322 try {
323 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
324 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
325 }
326 catch (javax.xml.rpc.ServiceException jre) {
327 if(jre.getLinkedCause()!=null)
328 jre.getLinkedCause().printStackTrace();
329 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
330 }
331 assertNotNull("binding is null", binding);
332
333 // Time out after a minute
334 binding.setTimeout(60000);
335
336 // Test operation
337 java.lang.String[] value = null;
338 value = binding.arrayReturn();
339 // TBD - validate results
340 }
341
342 public void test16TypeTestArrayMIn() throws Exception {
343 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
344 try {
345 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
346 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
347 }
348 catch (javax.xml.rpc.ServiceException jre) {
349 if(jre.getLinkedCause()!=null)
350 jre.getLinkedCause().printStackTrace();
351 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
352 }
353 assertNotNull("binding is null", binding);
354
355 // Time out after a minute
356 binding.setTimeout(60000);
357
358 // Test operation
359 binding.arrayMIn(new int[0][0][0]);
360 // TBD - validate results
361 }
362
363 public void test17TypeTestArrayMInout() throws Exception {
364 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
365 try {
366 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
367 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
368 }
369 catch (javax.xml.rpc.ServiceException jre) {
370 if(jre.getLinkedCause()!=null)
371 jre.getLinkedCause().printStackTrace();
372 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
373 }
374 assertNotNull("binding is null", binding);
375
376 // Time out after a minute
377 binding.setTimeout(60000);
378
379 // Test operation
380 binding.arrayMInout(new test.wsdl.types.comprehensive_types.holders.ArrayMHolder(new int[0][0][0]));
381 // TBD - validate results
382 }
383
384 public void test18TypeTestArrayMOut() throws Exception {
385 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
386 try {
387 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
388 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
389 }
390 catch (javax.xml.rpc.ServiceException jre) {
391 if(jre.getLinkedCause()!=null)
392 jre.getLinkedCause().printStackTrace();
393 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
394 }
395 assertNotNull("binding is null", binding);
396
397 // Time out after a minute
398 binding.setTimeout(60000);
399
400 // Test operation
401 binding.arrayMOut(new test.wsdl.types.comprehensive_types.holders.ArrayMHolder());
402 // TBD - validate results
403 }
404
405 public void test19TypeTestArrayMReturn() throws Exception {
406 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
407 try {
408 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
409 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
410 }
411 catch (javax.xml.rpc.ServiceException jre) {
412 if(jre.getLinkedCause()!=null)
413 jre.getLinkedCause().printStackTrace();
414 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
415 }
416 assertNotNull("binding is null", binding);
417
418 // Time out after a minute
419 binding.setTimeout(60000);
420
421 // Test operation
422 int[][][] value = null;
423 value = binding.arrayMReturn();
424 // TBD - validate results
425 }
426
427 public void test20TypeTestComplexAllIn() throws Exception {
428 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
429 try {
430 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
431 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
432 }
433 catch (javax.xml.rpc.ServiceException jre) {
434 if(jre.getLinkedCause()!=null)
435 jre.getLinkedCause().printStackTrace();
436 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
437 }
438 assertNotNull("binding is null", binding);
439
440 // Time out after a minute
441 binding.setTimeout(60000);
442
443 // Test operation
444 binding.complexAllIn(new test.wsdl.types.comprehensive_types.ComplexAll());
445 // TBD - validate results
446 }
447
448 public void test21TypeTestComplexAllInout() throws Exception {
449 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
450 try {
451 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
452 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
453 }
454 catch (javax.xml.rpc.ServiceException jre) {
455 if(jre.getLinkedCause()!=null)
456 jre.getLinkedCause().printStackTrace();
457 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
458 }
459 assertNotNull("binding is null", binding);
460
461 // Time out after a minute
462 binding.setTimeout(60000);
463
464 // Test operation
465 binding.complexAllInout(new test.wsdl.types.comprehensive_types.holders.ComplexAllHolder(new test.wsdl.types.comprehensive_types.ComplexAll()));
466 // TBD - validate results
467 }
468
469 public void test22TypeTestComplexAllOut() throws Exception {
470 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
471 try {
472 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
473 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
474 }
475 catch (javax.xml.rpc.ServiceException jre) {
476 if(jre.getLinkedCause()!=null)
477 jre.getLinkedCause().printStackTrace();
478 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
479 }
480 assertNotNull("binding is null", binding);
481
482 // Time out after a minute
483 binding.setTimeout(60000);
484
485 // Test operation
486 binding.complexAllOut(new test.wsdl.types.comprehensive_types.holders.ComplexAllHolder());
487 // TBD - validate results
488 }
489
490 public void test23TypeTestComplexAllReturn() throws Exception {
491 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
492 try {
493 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
494 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
495 }
496 catch (javax.xml.rpc.ServiceException jre) {
497 if(jre.getLinkedCause()!=null)
498 jre.getLinkedCause().printStackTrace();
499 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
500 }
501 assertNotNull("binding is null", binding);
502
503 // Time out after a minute
504 binding.setTimeout(60000);
505
506 // Test operation
507 test.wsdl.types.comprehensive_types.ComplexAll value = null;
508 value = binding.complexAllReturn();
509 // TBD - validate results
510 }
511
512 public void test24TypeTestComplexSequenceIn() throws Exception {
513 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
514 try {
515 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
516 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
517 }
518 catch (javax.xml.rpc.ServiceException jre) {
519 if(jre.getLinkedCause()!=null)
520 jre.getLinkedCause().printStackTrace();
521 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
522 }
523 assertNotNull("binding is null", binding);
524
525 // Time out after a minute
526 binding.setTimeout(60000);
527
528 // Test operation
529 binding.complexSequenceIn(new test.wsdl.types.comprehensive_types.ComplexSequence());
530 // TBD - validate results
531 }
532
533 public void test25TypeTestComplexSequenceInout() throws Exception {
534 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
535 try {
536 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
537 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
538 }
539 catch (javax.xml.rpc.ServiceException jre) {
540 if(jre.getLinkedCause()!=null)
541 jre.getLinkedCause().printStackTrace();
542 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
543 }
544 assertNotNull("binding is null", binding);
545
546 // Time out after a minute
547 binding.setTimeout(60000);
548
549 // Test operation
550 binding.complexSequenceInout(new test.wsdl.types.comprehensive_types.holders.ComplexSequenceHolder(new test.wsdl.types.comprehensive_types.ComplexSequence()));
551 // TBD - validate results
552 }
553
554 public void test26TypeTestComplexSequenceOut() throws Exception {
555 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
556 try {
557 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
558 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
559 }
560 catch (javax.xml.rpc.ServiceException jre) {
561 if(jre.getLinkedCause()!=null)
562 jre.getLinkedCause().printStackTrace();
563 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
564 }
565 assertNotNull("binding is null", binding);
566
567 // Time out after a minute
568 binding.setTimeout(60000);
569
570 // Test operation
571 binding.complexSequenceOut(new test.wsdl.types.comprehensive_types.holders.ComplexSequenceHolder());
572 // TBD - validate results
573 }
574
575 public void test27TypeTestComplexSequenceReturn() throws Exception {
576 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
577 try {
578 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
579 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
580 }
581 catch (javax.xml.rpc.ServiceException jre) {
582 if(jre.getLinkedCause()!=null)
583 jre.getLinkedCause().printStackTrace();
584 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
585 }
586 assertNotNull("binding is null", binding);
587
588 // Time out after a minute
589 binding.setTimeout(60000);
590
591 // Test operation
592 test.wsdl.types.comprehensive_types.ComplexSequence value = null;
593 value = binding.complexSequenceReturn();
594 // TBD - validate results
595 }
596
597 public void test32TypeTestComplexWComplexIn() throws Exception {
598 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
599 try {
600 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
601 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
602 }
603 catch (javax.xml.rpc.ServiceException jre) {
604 if(jre.getLinkedCause()!=null)
605 jre.getLinkedCause().printStackTrace();
606 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
607 }
608 assertNotNull("binding is null", binding);
609
610 // Time out after a minute
611 binding.setTimeout(60000);
612
613 // Test operation
614 binding.complexWComplexIn(new test.wsdl.types.comprehensive_types.ComplexWComplex());
615 // TBD - validate results
616 }
617
618 public void test33TypeTestComplexWComplexInout() throws Exception {
619 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
620 try {
621 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
622 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
623 }
624 catch (javax.xml.rpc.ServiceException jre) {
625 if(jre.getLinkedCause()!=null)
626 jre.getLinkedCause().printStackTrace();
627 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
628 }
629 assertNotNull("binding is null", binding);
630
631 // Time out after a minute
632 binding.setTimeout(60000);
633
634 // Test operation
635 binding.complexWComplexInout(new test.wsdl.types.comprehensive_types.holders.ComplexWComplexHolder(new test.wsdl.types.comprehensive_types.ComplexWComplex()));
636 // TBD - validate results
637 }
638
639 public void test34TypeTestComplexWComplexOut() throws Exception {
640 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
641 try {
642 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
643 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
644 }
645 catch (javax.xml.rpc.ServiceException jre) {
646 if(jre.getLinkedCause()!=null)
647 jre.getLinkedCause().printStackTrace();
648 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
649 }
650 assertNotNull("binding is null", binding);
651
652 // Time out after a minute
653 binding.setTimeout(60000);
654
655 // Test operation
656 binding.complexWComplexOut(new test.wsdl.types.comprehensive_types.holders.ComplexWComplexHolder());
657 // TBD - validate results
658 }
659
660 public void test35TypeTestComplexWComplexReturn() throws Exception {
661 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
662 try {
663 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
664 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
665 }
666 catch (javax.xml.rpc.ServiceException jre) {
667 if(jre.getLinkedCause()!=null)
668 jre.getLinkedCause().printStackTrace();
669 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
670 }
671 assertNotNull("binding is null", binding);
672
673 // Time out after a minute
674 binding.setTimeout(60000);
675
676 // Test operation
677 test.wsdl.types.comprehensive_types.ComplexWComplex value = null;
678 value = binding.complexWComplexReturn();
679 // TBD - validate results
680 }
681
682 public void test36TypeTestEmptyComplexTypeIn() throws Exception {
683 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
684 try {
685 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
686 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
687 }
688 catch (javax.xml.rpc.ServiceException jre) {
689 if(jre.getLinkedCause()!=null)
690 jre.getLinkedCause().printStackTrace();
691 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
692 }
693 assertNotNull("binding is null", binding);
694
695 // Time out after a minute
696 binding.setTimeout(60000);
697
698 // Test operation
699 try {
700 binding.emptyComplexTypeIn(new test.wsdl.types.comprehensive_types.EmptyComplexType());
701 }
702 catch (test.wsdl.types.comprehensive_types.EmptyFault e1) {
703 throw new junit.framework.AssertionFailedError("emptyFault Exception caught: " + e1);
704 }
705 // TBD - validate results
706 }
707
708 public void test37TypeTestEmptyComplexTypeInout() throws Exception {
709 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
710 try {
711 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
712 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
713 }
714 catch (javax.xml.rpc.ServiceException jre) {
715 if(jre.getLinkedCause()!=null)
716 jre.getLinkedCause().printStackTrace();
717 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
718 }
719 assertNotNull("binding is null", binding);
720
721 // Time out after a minute
722 binding.setTimeout(60000);
723
724 // Test operation
725 try {
726 binding.emptyComplexTypeInout(new test.wsdl.types.comprehensive_types.holders.EmptyComplexTypeHolder(new test.wsdl.types.comprehensive_types.EmptyComplexType()));
727 }
728 catch (test.wsdl.types.comprehensive_types.EmptyFault e1) {
729 throw new junit.framework.AssertionFailedError("emptyFault Exception caught: " + e1);
730 }
731 // TBD - validate results
732 }
733
734 public void test38TypeTestEmptyComplexTypeOut() throws Exception {
735 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
736 try {
737 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
738 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
739 }
740 catch (javax.xml.rpc.ServiceException jre) {
741 if(jre.getLinkedCause()!=null)
742 jre.getLinkedCause().printStackTrace();
743 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
744 }
745 assertNotNull("binding is null", binding);
746
747 // Time out after a minute
748 binding.setTimeout(60000);
749
750 // Test operation
751 try {
752 binding.emptyComplexTypeOut(new test.wsdl.types.comprehensive_types.holders.EmptyComplexTypeHolder());
753 }
754 catch (test.wsdl.types.comprehensive_types.EmptyFault e1) {
755 throw new junit.framework.AssertionFailedError("emptyFault Exception caught: " + e1);
756 }
757 // TBD - validate results
758 }
759
760 public void test39TypeTestEmptyComplexTypeReturn() throws Exception {
761 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
762 try {
763 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
764 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
765 }
766 catch (javax.xml.rpc.ServiceException jre) {
767 if(jre.getLinkedCause()!=null)
768 jre.getLinkedCause().printStackTrace();
769 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
770 }
771 assertNotNull("binding is null", binding);
772
773 // Time out after a minute
774 binding.setTimeout(60000);
775
776 // Test operation
777 try {
778 test.wsdl.types.comprehensive_types.EmptyComplexType value = null;
779 value = binding.emptyComplexTypeReturn();
780 }
781 catch (test.wsdl.types.comprehensive_types.EmptyFault e1) {
782 throw new junit.framework.AssertionFailedError("emptyFault Exception caught: " + e1);
783 }
784 // TBD - validate results
785 }
786
787 public void test40TypeTestAnyIn() throws Exception {
788 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
789 try {
790 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
791 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
792 }
793 catch (javax.xml.rpc.ServiceException jre) {
794 if(jre.getLinkedCause()!=null)
795 jre.getLinkedCause().printStackTrace();
796 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
797 }
798 assertNotNull("binding is null", binding);
799
800 // Time out after a minute
801 binding.setTimeout(60000);
802
803 // Test operation
804 binding.anyIn(new java.lang.String());
805 // TBD - validate results
806 }
807
808 public void test41TypeTestAnyInout() throws Exception {
809 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
810 try {
811 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
812 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
813 }
814 catch (javax.xml.rpc.ServiceException jre) {
815 if(jre.getLinkedCause()!=null)
816 jre.getLinkedCause().printStackTrace();
817 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
818 }
819 assertNotNull("binding is null", binding);
820
821 // Time out after a minute
822 binding.setTimeout(60000);
823
824 // Test operation
825 binding.anyInout(new javax.xml.rpc.holders.ObjectHolder(new java.lang.String()));
826 // TBD - validate results
827 }
828
829 public void test42TypeTestAnyOut() throws Exception {
830 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
831 try {
832 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
833 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
834 }
835 catch (javax.xml.rpc.ServiceException jre) {
836 if(jre.getLinkedCause()!=null)
837 jre.getLinkedCause().printStackTrace();
838 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
839 }
840 assertNotNull("binding is null", binding);
841
842 // Time out after a minute
843 binding.setTimeout(60000);
844
845 // Test operation
846 binding.anyOut(new javax.xml.rpc.holders.ObjectHolder());
847 // TBD - validate results
848 }
849
850 public void test43TypeTestAnyReturn() throws Exception {
851 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
852 try {
853 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
854 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
855 }
856 catch (javax.xml.rpc.ServiceException jre) {
857 if(jre.getLinkedCause()!=null)
858 jre.getLinkedCause().printStackTrace();
859 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
860 }
861 assertNotNull("binding is null", binding);
862
863 // Time out after a minute
864 binding.setTimeout(60000);
865
866 // Test operation
867 java.lang.Object value = null;
868 value = binding.anyReturn();
869 // TBD - validate results
870 }
871
872 public void test44TypeTestAnimalIn() throws Exception {
873 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
874 try {
875 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
876 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
877 }
878 catch (javax.xml.rpc.ServiceException jre) {
879 if(jre.getLinkedCause()!=null)
880 jre.getLinkedCause().printStackTrace();
881 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
882 }
883 assertNotNull("binding is null", binding);
884
885 // Time out after a minute
886 binding.setTimeout(60000);
887
888 // Test operation
889 binding.animalIn(new test.wsdl.types.comprehensive_types.Animal());
890 // TBD - validate results
891 }
892
893 public void test45TypeTestAnimalInout() throws Exception {
894 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
895 try {
896 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
897 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
898 }
899 catch (javax.xml.rpc.ServiceException jre) {
900 if(jre.getLinkedCause()!=null)
901 jre.getLinkedCause().printStackTrace();
902 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
903 }
904 assertNotNull("binding is null", binding);
905
906 // Time out after a minute
907 binding.setTimeout(60000);
908
909 // Test operation
910 binding.animalInout(new test.wsdl.types.comprehensive_types.holders.AnimalHolder(new test.wsdl.types.comprehensive_types.Animal()));
911 // TBD - validate results
912 }
913
914 public void test46TypeTestAnimalOut() throws Exception {
915 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
916 try {
917 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
918 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
919 }
920 catch (javax.xml.rpc.ServiceException jre) {
921 if(jre.getLinkedCause()!=null)
922 jre.getLinkedCause().printStackTrace();
923 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
924 }
925 assertNotNull("binding is null", binding);
926
927 // Time out after a minute
928 binding.setTimeout(60000);
929
930 // Test operation
931 binding.animalOut(new test.wsdl.types.comprehensive_types.holders.AnimalHolder());
932 // TBD - validate results
933 }
934
935 public void test47TypeTestAnimalReturn() throws Exception {
936 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
937 try {
938 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
939 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
940 }
941 catch (javax.xml.rpc.ServiceException jre) {
942 if(jre.getLinkedCause()!=null)
943 jre.getLinkedCause().printStackTrace();
944 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
945 }
946 assertNotNull("binding is null", binding);
947
948 // Time out after a minute
949 binding.setTimeout(60000);
950
951 // Test operation
952 test.wsdl.types.comprehensive_types.Animal value = null;
953 value = binding.animalReturn();
954 // TBD - validate results
955 }
956
957 public void test48TypeTestCatIn() throws Exception {
958 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
959 try {
960 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
961 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
962 }
963 catch (javax.xml.rpc.ServiceException jre) {
964 if(jre.getLinkedCause()!=null)
965 jre.getLinkedCause().printStackTrace();
966 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
967 }
968 assertNotNull("binding is null", binding);
969
970 // Time out after a minute
971 binding.setTimeout(60000);
972
973 // Test operation
974 binding.catIn(new test.wsdl.types.comprehensive_types.Cat());
975 // TBD - validate results
976 }
977
978 public void test49TypeTestCatInout() throws Exception {
979 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
980 try {
981 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
982 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
983 }
984 catch (javax.xml.rpc.ServiceException jre) {
985 if(jre.getLinkedCause()!=null)
986 jre.getLinkedCause().printStackTrace();
987 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
988 }
989 assertNotNull("binding is null", binding);
990
991 // Time out after a minute
992 binding.setTimeout(60000);
993
994 // Test operation
995 binding.catInout(new test.wsdl.types.comprehensive_types.holders.CatHolder(new test.wsdl.types.comprehensive_types.Cat()));
996 // TBD - validate results
997 }
998
999 public void test50TypeTestCatOut() throws Exception {
1000 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1001 try {
1002 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1003 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1004 }
1005 catch (javax.xml.rpc.ServiceException jre) {
1006 if(jre.getLinkedCause()!=null)
1007 jre.getLinkedCause().printStackTrace();
1008 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1009 }
1010 assertNotNull("binding is null", binding);
1011
1012 // Time out after a minute
1013 binding.setTimeout(60000);
1014
1015 // Test operation
1016 binding.catOut(new test.wsdl.types.comprehensive_types.holders.CatHolder());
1017 // TBD - validate results
1018 }
1019
1020 public void test51TypeTestCatReturn() throws Exception {
1021 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1022 try {
1023 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1024 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1025 }
1026 catch (javax.xml.rpc.ServiceException jre) {
1027 if(jre.getLinkedCause()!=null)
1028 jre.getLinkedCause().printStackTrace();
1029 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1030 }
1031 assertNotNull("binding is null", binding);
1032
1033 // Time out after a minute
1034 binding.setTimeout(60000);
1035
1036 // Test operation
1037 test.wsdl.types.comprehensive_types.Cat value = null;
1038 value = binding.catReturn();
1039 // TBD - validate results
1040 }
1041
1042 public void test52TypeTestMethodBoolean() throws Exception {
1043 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1044 try {
1045 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1046 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1047 }
1048 catch (javax.xml.rpc.ServiceException jre) {
1049 if(jre.getLinkedCause()!=null)
1050 jre.getLinkedCause().printStackTrace();
1051 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1052 }
1053 assertNotNull("binding is null", binding);
1054
1055 // Time out after a minute
1056 binding.setTimeout(60000);
1057
1058 // Test operation
1059 boolean value = false;
1060 value = binding.methodBoolean(true, new javax.xml.rpc.holders.BooleanHolder(true));
1061 // TBD - validate results
1062 }
1063
1064 public void test53TypeTestMethodByte() throws Exception {
1065 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1066 try {
1067 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1068 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1069 }
1070 catch (javax.xml.rpc.ServiceException jre) {
1071 if(jre.getLinkedCause()!=null)
1072 jre.getLinkedCause().printStackTrace();
1073 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1074 }
1075 assertNotNull("binding is null", binding);
1076
1077 // Time out after a minute
1078 binding.setTimeout(60000);
1079
1080 // Test operation
1081 byte value = -3;
1082 value = binding.methodByte((byte)0, new javax.xml.rpc.holders.ByteHolder((byte)0));
1083 // TBD - validate results
1084 }
1085
1086 public void test54TypeTestMethodShort() throws Exception {
1087 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1088 try {
1089 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1090 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1091 }
1092 catch (javax.xml.rpc.ServiceException jre) {
1093 if(jre.getLinkedCause()!=null)
1094 jre.getLinkedCause().printStackTrace();
1095 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1096 }
1097 assertNotNull("binding is null", binding);
1098
1099 // Time out after a minute
1100 binding.setTimeout(60000);
1101
1102 // Test operation
1103 short value = -3;
1104 value = binding.methodShort((short)0, new javax.xml.rpc.holders.ShortHolder((short)0));
1105 // TBD - validate results
1106 }
1107
1108 public void test55TypeTestMethodInt() throws Exception {
1109 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1110 try {
1111 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1112 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1113 }
1114 catch (javax.xml.rpc.ServiceException jre) {
1115 if(jre.getLinkedCause()!=null)
1116 jre.getLinkedCause().printStackTrace();
1117 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1118 }
1119 assertNotNull("binding is null", binding);
1120
1121 // Time out after a minute
1122 binding.setTimeout(60000);
1123
1124 // Test operation
1125 int value = -3;
1126 value = binding.methodInt(0, new javax.xml.rpc.holders.IntHolder(0));
1127 // TBD - validate results
1128 }
1129
1130 public void test56TypeTestMethodLong() throws Exception {
1131 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1132 try {
1133 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1134 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1135 }
1136 catch (javax.xml.rpc.ServiceException jre) {
1137 if(jre.getLinkedCause()!=null)
1138 jre.getLinkedCause().printStackTrace();
1139 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1140 }
1141 assertNotNull("binding is null", binding);
1142
1143 // Time out after a minute
1144 binding.setTimeout(60000);
1145
1146 // Test operation
1147 long value = -3;
1148 value = binding.methodLong(0, new javax.xml.rpc.holders.LongHolder(0));
1149 // TBD - validate results
1150 }
1151
1152 public void test57TypeTestMethodFloat() throws Exception {
1153 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1154 try {
1155 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1156 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1157 }
1158 catch (javax.xml.rpc.ServiceException jre) {
1159 if(jre.getLinkedCause()!=null)
1160 jre.getLinkedCause().printStackTrace();
1161 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1162 }
1163 assertNotNull("binding is null", binding);
1164
1165 // Time out after a minute
1166 binding.setTimeout(60000);
1167
1168 // Test operation
1169 float value = -3;
1170 value = binding.methodFloat(0, new javax.xml.rpc.holders.FloatHolder(0));
1171 // TBD - validate results
1172 }
1173
1174 public void test58TypeTestMethodDouble() throws Exception {
1175 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1176 try {
1177 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1178 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1179 }
1180 catch (javax.xml.rpc.ServiceException jre) {
1181 if(jre.getLinkedCause()!=null)
1182 jre.getLinkedCause().printStackTrace();
1183 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1184 }
1185 assertNotNull("binding is null", binding);
1186
1187 // Time out after a minute
1188 binding.setTimeout(60000);
1189
1190 // Test operation
1191 double value = -3;
1192 value = binding.methodDouble(0, new javax.xml.rpc.holders.DoubleHolder(0));
1193 // TBD - validate results
1194 }
1195
1196 public void test59TypeTestMethodString() throws Exception {
1197 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1198 try {
1199 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1200 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1201 }
1202 catch (javax.xml.rpc.ServiceException jre) {
1203 if(jre.getLinkedCause()!=null)
1204 jre.getLinkedCause().printStackTrace();
1205 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1206 }
1207 assertNotNull("binding is null", binding);
1208
1209 // Time out after a minute
1210 binding.setTimeout(60000);
1211
1212 // Test operation
1213 java.lang.String value = null;
1214 value = binding.methodString(new java.lang.String(), new javax.xml.rpc.holders.StringHolder(new java.lang.String()));
1215 // TBD - validate results
1216 }
1217
1218 public void test60TypeTestMethodInteger() throws Exception {
1219 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1220 try {
1221 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1222 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1223 }
1224 catch (javax.xml.rpc.ServiceException jre) {
1225 if(jre.getLinkedCause()!=null)
1226 jre.getLinkedCause().printStackTrace();
1227 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1228 }
1229 assertNotNull("binding is null", binding);
1230
1231 // Time out after a minute
1232 binding.setTimeout(60000);
1233
1234 // Test operation
1235 java.math.BigInteger value = null;
1236 value = binding.methodInteger(new java.math.BigInteger("0"), new javax.xml.rpc.holders.BigIntegerHolder(new java.math.BigInteger("0")));
1237 // TBD - validate results
1238 }
1239
1240 public void test61TypeTestMethodDecimal() throws Exception {
1241 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1242 try {
1243 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1244 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1245 }
1246 catch (javax.xml.rpc.ServiceException jre) {
1247 if(jre.getLinkedCause()!=null)
1248 jre.getLinkedCause().printStackTrace();
1249 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1250 }
1251 assertNotNull("binding is null", binding);
1252
1253 // Time out after a minute
1254 binding.setTimeout(60000);
1255
1256 // Test operation
1257 java.math.BigDecimal value = null;
1258 value = binding.methodDecimal(new java.math.BigDecimal(0), new javax.xml.rpc.holders.BigDecimalHolder(new java.math.BigDecimal(0)));
1259 // TBD - validate results
1260 }
1261
1262 public void test62TypeTestMethodDateTime() throws Exception {
1263 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1264 try {
1265 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1266 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1267 }
1268 catch (javax.xml.rpc.ServiceException jre) {
1269 if(jre.getLinkedCause()!=null)
1270 jre.getLinkedCause().printStackTrace();
1271 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1272 }
1273 assertNotNull("binding is null", binding);
1274
1275 // Time out after a minute
1276 binding.setTimeout(60000);
1277
1278 // Test operation
1279 java.util.Calendar value = null;
1280 value = binding.methodDateTime(java.util.Calendar.getInstance(), new javax.xml.rpc.holders.CalendarHolder(java.util.Calendar.getInstance()));
1281 // TBD - validate results
1282 }
1283
1284 public void test63TypeTestMethodQName() throws Exception {
1285 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1286 try {
1287 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1288 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1289 }
1290 catch (javax.xml.rpc.ServiceException jre) {
1291 if(jre.getLinkedCause()!=null)
1292 jre.getLinkedCause().printStackTrace();
1293 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1294 }
1295 assertNotNull("binding is null", binding);
1296
1297 // Time out after a minute
1298 binding.setTimeout(60000);
1299
1300 // Test operation
1301 javax.xml.namespace.QName value = null;
1302 value = binding.methodQName(new javax.xml.namespace.QName("http://double-double", "toil-and-trouble"), new javax.xml.rpc.holders.QNameHolder(new javax.xml.namespace.QName("http://double-double", "toil-and-trouble")));
1303 // TBD - validate results
1304 }
1305
1306 public void test64TypeTestMethodTime() throws Exception {
1307 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1308 try {
1309 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1310 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1311 }
1312 catch (javax.xml.rpc.ServiceException jre) {
1313 if(jre.getLinkedCause()!=null)
1314 jre.getLinkedCause().printStackTrace();
1315 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1316 }
1317 assertNotNull("binding is null", binding);
1318
1319 // Time out after a minute
1320 binding.setTimeout(60000);
1321
1322 // Test operation
1323 org.apache.axis.types.Time value = null;
1324 value = binding.methodTime(new org.apache.axis.types.Time("15:45:45.275Z"), new org.apache.axis.holders.TimeHolder(new org.apache.axis.types.Time("15:45:45.275Z")));
1325 // TBD - validate results
1326 }
1327
1328 public void test65TypeTestMethodUnsignedLong() throws Exception {
1329 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1330 try {
1331 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1332 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1333 }
1334 catch (javax.xml.rpc.ServiceException jre) {
1335 if(jre.getLinkedCause()!=null)
1336 jre.getLinkedCause().printStackTrace();
1337 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1338 }
1339 assertNotNull("binding is null", binding);
1340
1341 // Time out after a minute
1342 binding.setTimeout(60000);
1343
1344 // Test operation
1345 org.apache.axis.types.UnsignedLong value = null;
1346 value = binding.methodUnsignedLong(new org.apache.axis.types.UnsignedLong(0), new org.apache.axis.holders.UnsignedLongHolder(new org.apache.axis.types.UnsignedLong(0)));
1347 // TBD - validate results
1348 }
1349
1350 public void test66TypeTestMethodUnsignedInt() throws Exception {
1351 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1352 try {
1353 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1354 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1355 }
1356 catch (javax.xml.rpc.ServiceException jre) {
1357 if(jre.getLinkedCause()!=null)
1358 jre.getLinkedCause().printStackTrace();
1359 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1360 }
1361 assertNotNull("binding is null", binding);
1362
1363 // Time out after a minute
1364 binding.setTimeout(60000);
1365
1366 // Test operation
1367 org.apache.axis.types.UnsignedInt value = null;
1368 value = binding.methodUnsignedInt(new org.apache.axis.types.UnsignedInt(0), new org.apache.axis.holders.UnsignedIntHolder(new org.apache.axis.types.UnsignedInt(0)));
1369 // TBD - validate results
1370 }
1371
1372 public void test67TypeTestMethodUnsignedShort() throws Exception {
1373 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1374 try {
1375 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1376 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1377 }
1378 catch (javax.xml.rpc.ServiceException jre) {
1379 if(jre.getLinkedCause()!=null)
1380 jre.getLinkedCause().printStackTrace();
1381 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1382 }
1383 assertNotNull("binding is null", binding);
1384
1385 // Time out after a minute
1386 binding.setTimeout(60000);
1387
1388 // Test operation
1389 org.apache.axis.types.UnsignedShort value = null;
1390 value = binding.methodUnsignedShort(new org.apache.axis.types.UnsignedShort(0), new org.apache.axis.holders.UnsignedShortHolder(new org.apache.axis.types.UnsignedShort(0)));
1391 // TBD - validate results
1392 }
1393
1394 public void test68TypeTestMethodUnsignedByte() throws Exception {
1395 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1396 try {
1397 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1398 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1399 }
1400 catch (javax.xml.rpc.ServiceException jre) {
1401 if(jre.getLinkedCause()!=null)
1402 jre.getLinkedCause().printStackTrace();
1403 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1404 }
1405 assertNotNull("binding is null", binding);
1406
1407 // Time out after a minute
1408 binding.setTimeout(60000);
1409
1410 // Test operation
1411 org.apache.axis.types.UnsignedByte value = null;
1412 value = binding.methodUnsignedByte(new org.apache.axis.types.UnsignedByte(0), new org.apache.axis.holders.UnsignedByteHolder(new org.apache.axis.types.UnsignedByte(0)));
1413 // TBD - validate results
1414 }
1415
1416 public void test69TypeTestMethodNonNegativeInteger() throws Exception {
1417 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1418 try {
1419 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1420 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1421 }
1422 catch (javax.xml.rpc.ServiceException jre) {
1423 if(jre.getLinkedCause()!=null)
1424 jre.getLinkedCause().printStackTrace();
1425 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1426 }
1427 assertNotNull("binding is null", binding);
1428
1429 // Time out after a minute
1430 binding.setTimeout(60000);
1431
1432 // Test operation
1433 org.apache.axis.types.NonNegativeInteger value = null;
1434 value = binding.methodNonNegativeInteger(new org.apache.axis.types.NonNegativeInteger("0"), new org.apache.axis.holders.NonNegativeIntegerHolder(new org.apache.axis.types.NonNegativeInteger("0")));
1435 // TBD - validate results
1436 }
1437
1438 public void test70TypeTestMethodPositiveInteger() throws Exception {
1439 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1440 try {
1441 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1442 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1443 }
1444 catch (javax.xml.rpc.ServiceException jre) {
1445 if(jre.getLinkedCause()!=null)
1446 jre.getLinkedCause().printStackTrace();
1447 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1448 }
1449 assertNotNull("binding is null", binding);
1450
1451 // Time out after a minute
1452 binding.setTimeout(60000);
1453
1454 // Test operation
1455 org.apache.axis.types.PositiveInteger value = null;
1456 value = binding.methodPositiveInteger(new org.apache.axis.types.PositiveInteger("1"), new org.apache.axis.holders.PositiveIntegerHolder(new org.apache.axis.types.PositiveInteger("1")));
1457 // TBD - validate results
1458 }
1459
1460 public void test71TypeTestMethodNonPositiveInteger() throws Exception {
1461 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1462 try {
1463 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1464 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1465 }
1466 catch (javax.xml.rpc.ServiceException jre) {
1467 if(jre.getLinkedCause()!=null)
1468 jre.getLinkedCause().printStackTrace();
1469 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1470 }
1471 assertNotNull("binding is null", binding);
1472
1473 // Time out after a minute
1474 binding.setTimeout(60000);
1475
1476 // Test operation
1477 org.apache.axis.types.NonPositiveInteger value = null;
1478 value = binding.methodNonPositiveInteger(new org.apache.axis.types.NonPositiveInteger("0"), new org.apache.axis.holders.NonPositiveIntegerHolder(new org.apache.axis.types.NonPositiveInteger("0")));
1479 // TBD - validate results
1480 }
1481
1482 public void test72TypeTestMethodNegativeInteger() throws Exception {
1483 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1484 try {
1485 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1486 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1487 }
1488 catch (javax.xml.rpc.ServiceException jre) {
1489 if(jre.getLinkedCause()!=null)
1490 jre.getLinkedCause().printStackTrace();
1491 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1492 }
1493 assertNotNull("binding is null", binding);
1494
1495 // Time out after a minute
1496 binding.setTimeout(60000);
1497
1498 // Test operation
1499 org.apache.axis.types.NegativeInteger value = null;
1500 value = binding.methodNegativeInteger(new org.apache.axis.types.NegativeInteger("-1"), new org.apache.axis.holders.NegativeIntegerHolder(new org.apache.axis.types.NegativeInteger("-1")));
1501 // TBD - validate results
1502 }
1503
1504 public void test73TypeTestMethodAnyURI() throws Exception {
1505 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1506 try {
1507 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1508 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1509 }
1510 catch (javax.xml.rpc.ServiceException jre) {
1511 if(jre.getLinkedCause()!=null)
1512 jre.getLinkedCause().printStackTrace();
1513 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1514 }
1515 assertNotNull("binding is null", binding);
1516
1517 // Time out after a minute
1518 binding.setTimeout(60000);
1519
1520 // Test operation
1521 org.apache.axis.types.URI value = null;
1522 value = binding.methodAnyURI(new org.apache.axis.types.URI("urn:testing"), new org.apache.axis.holders.URIHolder(new org.apache.axis.types.URI("urn:testing")));
1523 // TBD - validate results
1524 }
1525
1526 public void test74TypeTestMethodSimpleAnyURI() throws Exception {
1527 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1528 try {
1529 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1530 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1531 }
1532 catch (javax.xml.rpc.ServiceException jre) {
1533 if(jre.getLinkedCause()!=null)
1534 jre.getLinkedCause().printStackTrace();
1535 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1536 }
1537 assertNotNull("binding is null", binding);
1538
1539 // Time out after a minute
1540 binding.setTimeout(60000);
1541
1542 // Test operation
1543 test.wsdl.types.comprehensive_types2.SimpleAnyURIType actual = binding.methodSimpleAnyURI(new test.wsdl.types.comprehensive_types2.SimpleAnyURIType("urn:foo"), new test.wsdl.types.comprehensive_types2.holders.SimpleAnyURITypeHolder(new test.wsdl.types.comprehensive_types2.SimpleAnyURIType("urn:foo")));
1544 // TBD - validate results
1545 }
1546
1547 public void test75TypeTestMethodYear() throws Exception {
1548 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1549 try {
1550 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1551 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1552 }
1553 catch (javax.xml.rpc.ServiceException jre) {
1554 if(jre.getLinkedCause()!=null)
1555 jre.getLinkedCause().printStackTrace();
1556 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1557 }
1558 assertNotNull("binding is null", binding);
1559
1560 // Time out after a minute
1561 binding.setTimeout(60000);
1562
1563 // Test operation
1564 org.apache.axis.types.Year value = null;
1565 value = binding.methodYear(new org.apache.axis.types.Year(2000), new org.apache.axis.holders.YearHolder(new org.apache.axis.types.Year(2000)));
1566 // TBD - validate results
1567 }
1568
1569 public void test76TypeTestMethodMonth() throws Exception {
1570 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1571 try {
1572 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1573 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1574 }
1575 catch (javax.xml.rpc.ServiceException jre) {
1576 if(jre.getLinkedCause()!=null)
1577 jre.getLinkedCause().printStackTrace();
1578 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1579 }
1580 assertNotNull("binding is null", binding);
1581
1582 // Time out after a minute
1583 binding.setTimeout(60000);
1584
1585 // Test operation
1586 org.apache.axis.types.Month value = null;
1587 value = binding.methodMonth(new org.apache.axis.types.Month(1), new org.apache.axis.holders.MonthHolder(new org.apache.axis.types.Month(1)));
1588 // TBD - validate results
1589 }
1590
1591 public void test77TypeTestMethodDay() throws Exception {
1592 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1593 try {
1594 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1595 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1596 }
1597 catch (javax.xml.rpc.ServiceException jre) {
1598 if(jre.getLinkedCause()!=null)
1599 jre.getLinkedCause().printStackTrace();
1600 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1601 }
1602 assertNotNull("binding is null", binding);
1603
1604 // Time out after a minute
1605 binding.setTimeout(60000);
1606
1607 // Test operation
1608 org.apache.axis.types.Day value = null;
1609 value = binding.methodDay(new org.apache.axis.types.Day(1), new org.apache.axis.holders.DayHolder(new org.apache.axis.types.Day(1)));
1610 // TBD - validate results
1611 }
1612
1613 public void test78TypeTestMethodYearMonth() throws Exception {
1614 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1615 try {
1616 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1617 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1618 }
1619 catch (javax.xml.rpc.ServiceException jre) {
1620 if(jre.getLinkedCause()!=null)
1621 jre.getLinkedCause().printStackTrace();
1622 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1623 }
1624 assertNotNull("binding is null", binding);
1625
1626 // Time out after a minute
1627 binding.setTimeout(60000);
1628
1629 // Test operation
1630 org.apache.axis.types.YearMonth value = null;
1631 value = binding.methodYearMonth(new org.apache.axis.types.YearMonth(2000,1), new org.apache.axis.holders.YearMonthHolder(new org.apache.axis.types.YearMonth(2000,1)));
1632 // TBD - validate results
1633 }
1634
1635 public void test79TypeTestMethodMonthDay() throws Exception {
1636 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1637 try {
1638 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1639 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1640 }
1641 catch (javax.xml.rpc.ServiceException jre) {
1642 if(jre.getLinkedCause()!=null)
1643 jre.getLinkedCause().printStackTrace();
1644 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1645 }
1646 assertNotNull("binding is null", binding);
1647
1648 // Time out after a minute
1649 binding.setTimeout(60000);
1650
1651 // Test operation
1652 org.apache.axis.types.MonthDay value = null;
1653 value = binding.methodMonthDay(new org.apache.axis.types.MonthDay(1, 1), new org.apache.axis.holders.MonthDayHolder(new org.apache.axis.types.MonthDay(1, 1)));
1654 // TBD - validate results
1655 }
1656
1657 public void test80TypeTestMethodSoapString() throws Exception {
1658 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1659 try {
1660 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1661 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1662 }
1663 catch (javax.xml.rpc.ServiceException jre) {
1664 if(jre.getLinkedCause()!=null)
1665 jre.getLinkedCause().printStackTrace();
1666 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1667 }
1668 assertNotNull("binding is null", binding);
1669
1670 // Time out after a minute
1671 binding.setTimeout(60000);
1672
1673 // Test operation
1674 java.lang.String value = null;
1675 value = binding.methodSoapString(new java.lang.String(), new javax.xml.rpc.holders.StringHolder(new java.lang.String()));
1676 // TBD - validate results
1677 }
1678
1679 public void test81TypeTestMethodSoapBoolean() throws Exception {
1680 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1681 try {
1682 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1683 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1684 }
1685 catch (javax.xml.rpc.ServiceException jre) {
1686 if(jre.getLinkedCause()!=null)
1687 jre.getLinkedCause().printStackTrace();
1688 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1689 }
1690 assertNotNull("binding is null", binding);
1691
1692 // Time out after a minute
1693 binding.setTimeout(60000);
1694
1695 // Test operation
1696 java.lang.Boolean value = null;
1697 value = binding.methodSoapBoolean(new java.lang.Boolean(false), new javax.xml.rpc.holders.BooleanWrapperHolder(new java.lang.Boolean(false)));
1698 // TBD - validate results
1699 }
1700
1701 public void test82TypeTestMethodSoapFloat() throws Exception {
1702 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1703 try {
1704 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1705 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1706 }
1707 catch (javax.xml.rpc.ServiceException jre) {
1708 if(jre.getLinkedCause()!=null)
1709 jre.getLinkedCause().printStackTrace();
1710 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1711 }
1712 assertNotNull("binding is null", binding);
1713
1714 // Time out after a minute
1715 binding.setTimeout(60000);
1716
1717 // Test operation
1718 java.lang.Float value = null;
1719 value = binding.methodSoapFloat(new java.lang.Float(0), new javax.xml.rpc.holders.FloatWrapperHolder(new java.lang.Float(0)));
1720 // TBD - validate results
1721 }
1722
1723 public void test83TypeTestMethodSoapDouble() throws Exception {
1724 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1725 try {
1726 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1727 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1728 }
1729 catch (javax.xml.rpc.ServiceException jre) {
1730 if(jre.getLinkedCause()!=null)
1731 jre.getLinkedCause().printStackTrace();
1732 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1733 }
1734 assertNotNull("binding is null", binding);
1735
1736 // Time out after a minute
1737 binding.setTimeout(60000);
1738
1739 // Test operation
1740 java.lang.Double value = null;
1741 value = binding.methodSoapDouble(new java.lang.Double(0), new javax.xml.rpc.holders.DoubleWrapperHolder(new java.lang.Double(0)));
1742 // TBD - validate results
1743 }
1744
1745 public void test84TypeTestMethodSoapDecimal() throws Exception {
1746 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1747 try {
1748 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1749 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1750 }
1751 catch (javax.xml.rpc.ServiceException jre) {
1752 if(jre.getLinkedCause()!=null)
1753 jre.getLinkedCause().printStackTrace();
1754 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1755 }
1756 assertNotNull("binding is null", binding);
1757
1758 // Time out after a minute
1759 binding.setTimeout(60000);
1760
1761 // Test operation
1762 java.math.BigDecimal value = null;
1763 value = binding.methodSoapDecimal(new java.math.BigDecimal(0), new javax.xml.rpc.holders.BigDecimalHolder(new java.math.BigDecimal(0)));
1764 // TBD - validate results
1765 }
1766
1767 public void test85TypeTestMethodSoapInt() throws Exception {
1768 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1769 try {
1770 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1771 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1772 }
1773 catch (javax.xml.rpc.ServiceException jre) {
1774 if(jre.getLinkedCause()!=null)
1775 jre.getLinkedCause().printStackTrace();
1776 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1777 }
1778 assertNotNull("binding is null", binding);
1779
1780 // Time out after a minute
1781 binding.setTimeout(60000);
1782
1783 // Test operation
1784 java.lang.Integer value = null;
1785 value = binding.methodSoapInt(new java.lang.Integer(0), new javax.xml.rpc.holders.IntegerWrapperHolder(new java.lang.Integer(0)));
1786 // TBD - validate results
1787 }
1788
1789 public void test86TypeTestMethodSoapShort() throws Exception {
1790 test.wsdl.types.comprehensive_service.TypeTestBindingStub binding;
1791 try {
1792 binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub)
1793 new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();
1794 }
1795 catch (javax.xml.rpc.ServiceException jre) {
1796 if(jre.getLinkedCause()!=null)
1797 jre.getLinkedCause().printStackTrace();
1798 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
1799 }
1800 assertNotNull("binding is null", binding);
1801
1802 // Time out after a minute
1803 binding.setTimeout(60000);
1804
1805 // Test operation
1806 java.lang.Short value = null;
1807 value = binding.methodSoapShort(new java.lang.Short((short)0), new javax.xml.rpc.holders.ShortWrapperHolder(new java.lang.Short((short)0)));
1808 // TBD - validate results
1809 }
1810
1811 }