1 7 8 package test.wsdl.roundtrip2; 9 10 public class RoundTrip2TestServiceTestCase extends junit.framework.TestCase { 11 public RoundTrip2TestServiceTestCase(java.lang.String name) { 12 super(name); 13 } 14 15 public void testRoundTrip2TestWSDL() throws Exception { 16 javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance(); 17 java.net.URL url = new java.net.URL (new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2TestAddress() + "?WSDL"); 18 javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getServiceName()); 19 assertTrue(service != null); 20 } 21 22 public void test1RoundTrip2TestBooleanTest() throws Exception { 23 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 24 try { 25 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 26 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 27 } 28 catch (javax.xml.rpc.ServiceException jre) { 29 if(jre.getLinkedCause()!=null) 30 jre.getLinkedCause().printStackTrace(); 31 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 32 } 33 assertNotNull("binding is null", binding); 34 35 binding.setTimeout(60000); 37 38 boolean value = false; 40 value = binding.booleanTest(true); 41 } 43 44 public void test2RoundTrip2TestWrapperBooleanTest() throws Exception { 45 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 46 try { 47 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 48 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 49 } 50 catch (javax.xml.rpc.ServiceException jre) { 51 if(jre.getLinkedCause()!=null) 52 jre.getLinkedCause().printStackTrace(); 53 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 54 } 55 assertNotNull("binding is null", binding); 56 57 binding.setTimeout(60000); 59 60 java.lang.Boolean value = null; 62 value = binding.wrapperBooleanTest(new java.lang.Boolean (false)); 63 } 65 66 public void test3RoundTrip2TestByteTest() throws Exception { 67 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 68 try { 69 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 70 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 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 binding.setTimeout(60000); 81 82 byte value = -3; 84 value = binding.byteTest((byte)0); 85 } 87 88 public void test4RoundTrip2TestWrapperByteTest() throws Exception { 89 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 90 try { 91 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 92 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 93 } 94 catch (javax.xml.rpc.ServiceException jre) { 95 if(jre.getLinkedCause()!=null) 96 jre.getLinkedCause().printStackTrace(); 97 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 98 } 99 assertNotNull("binding is null", binding); 100 101 binding.setTimeout(60000); 103 104 java.lang.Byte value = null; 106 value = binding.wrapperByteTest(new java.lang.Byte ((byte)0)); 107 } 109 110 public void test5RoundTrip2TestShortTest() throws Exception { 111 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 112 try { 113 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 114 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 115 } 116 catch (javax.xml.rpc.ServiceException jre) { 117 if(jre.getLinkedCause()!=null) 118 jre.getLinkedCause().printStackTrace(); 119 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 120 } 121 assertNotNull("binding is null", binding); 122 123 binding.setTimeout(60000); 125 126 short value = -3; 128 value = binding.shortTest((short)0); 129 } 131 132 public void test6RoundTrip2TestWrapperShortTest() throws Exception { 133 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 134 try { 135 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 136 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 137 } 138 catch (javax.xml.rpc.ServiceException jre) { 139 if(jre.getLinkedCause()!=null) 140 jre.getLinkedCause().printStackTrace(); 141 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 142 } 143 assertNotNull("binding is null", binding); 144 145 binding.setTimeout(60000); 147 148 java.lang.Short value = null; 150 value = binding.wrapperShortTest(new java.lang.Short ((short)0)); 151 } 153 154 public void test7RoundTrip2TestIntTest() throws Exception { 155 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 156 try { 157 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 158 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 159 } 160 catch (javax.xml.rpc.ServiceException jre) { 161 if(jre.getLinkedCause()!=null) 162 jre.getLinkedCause().printStackTrace(); 163 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 164 } 165 assertNotNull("binding is null", binding); 166 167 binding.setTimeout(60000); 169 170 int value = -3; 172 value = binding.intTest(0); 173 } 175 176 public void test8RoundTrip2TestWrapperIntegerTest() throws Exception { 177 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 178 try { 179 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 180 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 181 } 182 catch (javax.xml.rpc.ServiceException jre) { 183 if(jre.getLinkedCause()!=null) 184 jre.getLinkedCause().printStackTrace(); 185 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 186 } 187 assertNotNull("binding is null", binding); 188 189 binding.setTimeout(60000); 191 192 java.lang.Integer value = null; 194 value = binding.wrapperIntegerTest(new java.lang.Integer (0)); 195 } 197 198 public void test9RoundTrip2TestLongTest() throws Exception { 199 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 200 try { 201 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 202 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 203 } 204 catch (javax.xml.rpc.ServiceException jre) { 205 if(jre.getLinkedCause()!=null) 206 jre.getLinkedCause().printStackTrace(); 207 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 208 } 209 assertNotNull("binding is null", binding); 210 211 binding.setTimeout(60000); 213 214 long value = -3; 216 value = binding.longTest(0); 217 } 219 220 public void test10RoundTrip2TestWrapperLongTest() throws Exception { 221 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 222 try { 223 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 224 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 225 } 226 catch (javax.xml.rpc.ServiceException jre) { 227 if(jre.getLinkedCause()!=null) 228 jre.getLinkedCause().printStackTrace(); 229 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 230 } 231 assertNotNull("binding is null", binding); 232 233 binding.setTimeout(60000); 235 236 java.lang.Long value = null; 238 value = binding.wrapperLongTest(new java.lang.Long (0)); 239 } 241 242 public void test11RoundTrip2TestFloatTest() throws Exception { 243 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 244 try { 245 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 246 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 247 } 248 catch (javax.xml.rpc.ServiceException jre) { 249 if(jre.getLinkedCause()!=null) 250 jre.getLinkedCause().printStackTrace(); 251 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 252 } 253 assertNotNull("binding is null", binding); 254 255 binding.setTimeout(60000); 257 258 float value = -3; 260 value = binding.floatTest(0); 261 } 263 264 public void test12RoundTrip2TestWrapperFloatTest() throws Exception { 265 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 266 try { 267 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 268 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 269 } 270 catch (javax.xml.rpc.ServiceException jre) { 271 if(jre.getLinkedCause()!=null) 272 jre.getLinkedCause().printStackTrace(); 273 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 274 } 275 assertNotNull("binding is null", binding); 276 277 binding.setTimeout(60000); 279 280 java.lang.Float value = null; 282 value = binding.wrapperFloatTest(new java.lang.Float (0)); 283 } 285 286 public void test13RoundTrip2TestDoubleTest() throws Exception { 287 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 288 try { 289 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 290 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 291 } 292 catch (javax.xml.rpc.ServiceException jre) { 293 if(jre.getLinkedCause()!=null) 294 jre.getLinkedCause().printStackTrace(); 295 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 296 } 297 assertNotNull("binding is null", binding); 298 299 binding.setTimeout(60000); 301 302 double value = -3; 304 value = binding.doubleTest(0); 305 } 307 308 public void test14RoundTrip2TestWrapperDoubleTest() throws Exception { 309 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 310 try { 311 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 312 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 313 } 314 catch (javax.xml.rpc.ServiceException jre) { 315 if(jre.getLinkedCause()!=null) 316 jre.getLinkedCause().printStackTrace(); 317 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 318 } 319 assertNotNull("binding is null", binding); 320 321 binding.setTimeout(60000); 323 324 java.lang.Double value = null; 326 value = binding.wrapperDoubleTest(new java.lang.Double (0)); 327 } 329 330 public void test15RoundTrip2TestBooleanArrayTest() throws Exception { 331 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 332 try { 333 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 334 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 335 } 336 catch (javax.xml.rpc.ServiceException jre) { 337 if(jre.getLinkedCause()!=null) 338 jre.getLinkedCause().printStackTrace(); 339 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 340 } 341 assertNotNull("binding is null", binding); 342 343 binding.setTimeout(60000); 345 346 boolean[] value = null; 348 value = binding.booleanArrayTest(new boolean[]{true,false}); 349 } 351 352 public void test16RoundTrip2TestByteArrayTest() throws Exception { 353 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 354 try { 355 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 356 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 357 } 358 catch (javax.xml.rpc.ServiceException jre) { 359 if(jre.getLinkedCause()!=null) 360 jre.getLinkedCause().printStackTrace(); 361 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 362 } 363 assertNotNull("binding is null", binding); 364 365 binding.setTimeout(60000); 367 368 byte[] value = null; 370 value = binding.byteArrayTest(new byte[]{0xD,0xE}); 371 } 373 374 public void test17RoundTrip2TestShortArrayTest() throws Exception { 375 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 376 try { 377 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 378 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 379 } 380 catch (javax.xml.rpc.ServiceException jre) { 381 if(jre.getLinkedCause()!=null) 382 jre.getLinkedCause().printStackTrace(); 383 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 384 } 385 assertNotNull("binding is null", binding); 386 387 binding.setTimeout(60000); 389 390 short[] value = null; 392 value = binding.shortArrayTest(new short[]{3,4}); 393 } 395 396 public void test18RoundTrip2TestIntArrayTest() throws Exception { 397 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 398 try { 399 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 400 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 401 } 402 catch (javax.xml.rpc.ServiceException jre) { 403 if(jre.getLinkedCause()!=null) 404 jre.getLinkedCause().printStackTrace(); 405 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 406 } 407 assertNotNull("binding is null", binding); 408 409 binding.setTimeout(60000); 411 412 int[] value = null; 414 value = binding.intArrayTest(new int[]{1,2}); 415 } 417 418 public void test19RoundTrip2TestLongArrayTest() throws Exception { 419 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 420 try { 421 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 422 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 423 } 424 catch (javax.xml.rpc.ServiceException jre) { 425 if(jre.getLinkedCause()!=null) 426 jre.getLinkedCause().printStackTrace(); 427 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 428 } 429 assertNotNull("binding is null", binding); 430 431 binding.setTimeout(60000); 433 434 long[] value = null; 436 value = binding.longArrayTest(new long[]{45,64}); 437 } 439 440 public void test20RoundTrip2TestFloatArrayTest() throws Exception { 441 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 442 try { 443 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 444 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 445 } 446 catch (javax.xml.rpc.ServiceException jre) { 447 if(jre.getLinkedCause()!=null) 448 jre.getLinkedCause().printStackTrace(); 449 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 450 } 451 assertNotNull("binding is null", binding); 452 453 binding.setTimeout(60000); 455 456 float[] value = null; 458 value = binding.floatArrayTest(new float[]{12,34}); 459 } 461 462 public void test21RoundTrip2TestDoubleArrayTest() throws Exception { 463 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 464 try { 465 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 466 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 467 } 468 catch (javax.xml.rpc.ServiceException jre) { 469 if(jre.getLinkedCause()!=null) 470 jre.getLinkedCause().printStackTrace(); 471 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 472 } 473 assertNotNull("binding is null", binding); 474 475 binding.setTimeout(60000); 477 478 double[] value = null; 480 value = binding.doubleArrayTest(new double[]{435,647}); 481 } 483 484 public void test22RoundTrip2TestWrapperBooleanArrayTest() throws Exception { 485 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 486 try { 487 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 488 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 489 } 490 catch (javax.xml.rpc.ServiceException jre) { 491 if(jre.getLinkedCause()!=null) 492 jre.getLinkedCause().printStackTrace(); 493 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 494 } 495 assertNotNull("binding is null", binding); 496 497 binding.setTimeout(60000); 499 500 java.lang.Boolean [] value = null; 502 value = binding.wrapperBooleanArrayTest(new java.lang.Boolean []{Boolean.TRUE, Boolean.FALSE}); 503 } 505 506 public void test23RoundTrip2TestWrapperByteArrayTest() throws Exception { 507 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 508 try { 509 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 510 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 511 } 512 catch (javax.xml.rpc.ServiceException jre) { 513 if(jre.getLinkedCause()!=null) 514 jre.getLinkedCause().printStackTrace(); 515 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 516 } 517 assertNotNull("binding is null", binding); 518 519 binding.setTimeout(60000); 521 522 java.lang.Byte [] value = null; 524 value = binding.wrapperByteArrayTest(new java.lang.Byte []{new Byte ((byte)0x3)}); 525 } 527 528 public void test24RoundTrip2TestWrapperShortArrayTest() throws Exception { 529 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 530 try { 531 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 532 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 533 } 534 catch (javax.xml.rpc.ServiceException jre) { 535 if(jre.getLinkedCause()!=null) 536 jre.getLinkedCause().printStackTrace(); 537 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 538 } 539 assertNotNull("binding is null", binding); 540 541 binding.setTimeout(60000); 543 544 java.lang.Short [] value = null; 546 value = binding.wrapperShortArrayTest(new java.lang.Short []{new Short ((short)3)}); 547 } 549 550 public void test25RoundTrip2TestWrapperIntArrayTest() throws Exception { 551 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 552 try { 553 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 554 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 555 } 556 catch (javax.xml.rpc.ServiceException jre) { 557 if(jre.getLinkedCause()!=null) 558 jre.getLinkedCause().printStackTrace(); 559 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 560 } 561 assertNotNull("binding is null", binding); 562 563 binding.setTimeout(60000); 565 566 java.lang.Integer [] value = null; 568 value = binding.wrapperIntArrayTest(new java.lang.Integer []{new Integer (4)}); 569 } 571 572 public void test26RoundTrip2TestWrapperLongArrayTest() throws Exception { 573 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 574 try { 575 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 576 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 577 } 578 catch (javax.xml.rpc.ServiceException jre) { 579 if(jre.getLinkedCause()!=null) 580 jre.getLinkedCause().printStackTrace(); 581 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 582 } 583 assertNotNull("binding is null", binding); 584 585 binding.setTimeout(60000); 587 588 java.lang.Long [] value = null; 590 value = binding.wrapperLongArrayTest(new java.lang.Long [0]); 591 } 593 594 public void test27RoundTrip2TestWrapperFloatArrayTest() throws Exception { 595 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 596 try { 597 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 598 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 599 } 600 catch (javax.xml.rpc.ServiceException jre) { 601 if(jre.getLinkedCause()!=null) 602 jre.getLinkedCause().printStackTrace(); 603 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 604 } 605 assertNotNull("binding is null", binding); 606 607 binding.setTimeout(60000); 609 610 java.lang.Float [] value = null; 612 value = binding.wrapperFloatArrayTest(new java.lang.Float [0]); 613 } 615 616 public void test28RoundTrip2TestWrapperDoubleArrayTest() throws Exception { 617 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 618 try { 619 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 620 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 621 } 622 catch (javax.xml.rpc.ServiceException jre) { 623 if(jre.getLinkedCause()!=null) 624 jre.getLinkedCause().printStackTrace(); 625 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 626 } 627 assertNotNull("binding is null", binding); 628 629 binding.setTimeout(60000); 631 632 java.lang.Double [] value = null; 634 value = binding.wrapperDoubleArrayTest(new java.lang.Double [0]); 635 } 637 638 public void test29RoundTrip2TestBooleanMultiArrayTest() throws Exception { 639 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 640 try { 641 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 642 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 643 } 644 catch (javax.xml.rpc.ServiceException jre) { 645 if(jre.getLinkedCause()!=null) 646 jre.getLinkedCause().printStackTrace(); 647 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 648 } 649 assertNotNull("binding is null", binding); 650 651 binding.setTimeout(60000); 653 654 boolean[][] value = null; 656 value = binding.booleanMultiArrayTest(new boolean[0][0]); 657 } 659 660 public void test30RoundTrip2TestByteMultiArrayTest() throws Exception { 661 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 662 try { 663 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 664 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 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 binding.setTimeout(60000); 675 676 byte[][] value = null; 678 value = binding.byteMultiArrayTest(new byte[0][0]); 679 } 681 682 public void test31RoundTrip2TestShortMultiArrayTest() throws Exception { 683 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 684 try { 685 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 686 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 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 binding.setTimeout(60000); 697 698 short[][] value = null; 700 value = binding.shortMultiArrayTest(new short[0][0]); 701 } 703 704 public void test32RoundTrip2TestIntMultiArrayTest() throws Exception { 705 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 706 try { 707 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 708 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 709 } 710 catch (javax.xml.rpc.ServiceException jre) { 711 if(jre.getLinkedCause()!=null) 712 jre.getLinkedCause().printStackTrace(); 713 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 714 } 715 assertNotNull("binding is null", binding); 716 717 binding.setTimeout(60000); 719 720 int[][] value = null; 722 value = binding.intMultiArrayTest(new int[0][0]); 723 } 725 726 public void test33RoundTrip2TestLongMultiArrayTest() throws Exception { 727 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 728 try { 729 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 730 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 731 } 732 catch (javax.xml.rpc.ServiceException jre) { 733 if(jre.getLinkedCause()!=null) 734 jre.getLinkedCause().printStackTrace(); 735 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 736 } 737 assertNotNull("binding is null", binding); 738 739 binding.setTimeout(60000); 741 742 long[][] value = null; 744 value = binding.longMultiArrayTest(new long[0][0]); 745 } 747 748 public void test34RoundTrip2TestFloatMultiArrayTest() throws Exception { 749 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 750 try { 751 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 752 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 753 } 754 catch (javax.xml.rpc.ServiceException jre) { 755 if(jre.getLinkedCause()!=null) 756 jre.getLinkedCause().printStackTrace(); 757 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 758 } 759 assertNotNull("binding is null", binding); 760 761 binding.setTimeout(60000); 763 764 float[][] value = null; 766 value = binding.floatMultiArrayTest(new float[0][0]); 767 } 769 770 public void test35RoundTrip2TestDoubleMultiArrayTest() throws Exception { 771 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 772 try { 773 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 774 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 775 } 776 catch (javax.xml.rpc.ServiceException jre) { 777 if(jre.getLinkedCause()!=null) 778 jre.getLinkedCause().printStackTrace(); 779 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 780 } 781 assertNotNull("binding is null", binding); 782 783 binding.setTimeout(60000); 785 786 double[][] value = null; 788 value = binding.doubleMultiArrayTest(new double[0][0]); 789 } 791 792 public void test36RoundTrip2TestStringTest() throws Exception { 793 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 794 try { 795 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 796 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 797 } 798 catch (javax.xml.rpc.ServiceException jre) { 799 if(jre.getLinkedCause()!=null) 800 jre.getLinkedCause().printStackTrace(); 801 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 802 } 803 assertNotNull("binding is null", binding); 804 805 binding.setTimeout(60000); 807 808 java.lang.String value = null; 810 value = binding.stringTest(new java.lang.String ()); 811 } 813 814 public void test37RoundTrip2TestStringArrayTest() throws Exception { 815 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 816 try { 817 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 818 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 819 } 820 catch (javax.xml.rpc.ServiceException jre) { 821 if(jre.getLinkedCause()!=null) 822 jre.getLinkedCause().printStackTrace(); 823 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 824 } 825 assertNotNull("binding is null", binding); 826 827 binding.setTimeout(60000); 829 830 java.lang.String [] value = null; 832 value = binding.stringArrayTest(new java.lang.String [0]); 833 } 835 836 public void test38RoundTrip2TestStringMultiArrayTest() throws Exception { 837 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 838 try { 839 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 840 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 841 } 842 catch (javax.xml.rpc.ServiceException jre) { 843 if(jre.getLinkedCause()!=null) 844 jre.getLinkedCause().printStackTrace(); 845 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 846 } 847 assertNotNull("binding is null", binding); 848 849 binding.setTimeout(60000); 851 852 java.lang.String [][] value = null; 854 value = binding.stringMultiArrayTest(new java.lang.String [0][0]); 855 } 857 858 public void test39RoundTrip2TestCalendarTest() throws Exception { 859 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 860 try { 861 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 862 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 863 } 864 catch (javax.xml.rpc.ServiceException jre) { 865 if(jre.getLinkedCause()!=null) 866 jre.getLinkedCause().printStackTrace(); 867 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 868 } 869 assertNotNull("binding is null", binding); 870 871 binding.setTimeout(60000); 873 874 java.util.Calendar value = null; 876 value = binding.calendarTest(java.util.Calendar.getInstance()); 877 } 879 880 public void test40RoundTrip2TestCalendarArrayTest() throws Exception { 881 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 882 try { 883 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 884 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 885 } 886 catch (javax.xml.rpc.ServiceException jre) { 887 if(jre.getLinkedCause()!=null) 888 jre.getLinkedCause().printStackTrace(); 889 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 890 } 891 assertNotNull("binding is null", binding); 892 893 binding.setTimeout(60000); 895 896 java.util.Calendar [] value = null; 898 value = binding.calendarArrayTest(new java.util.Calendar [0]); 899 } 901 902 public void test41RoundTrip2TestCalendarMultiArrayTest() throws Exception { 903 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 904 try { 905 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 906 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 907 } 908 catch (javax.xml.rpc.ServiceException jre) { 909 if(jre.getLinkedCause()!=null) 910 jre.getLinkedCause().printStackTrace(); 911 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 912 } 913 assertNotNull("binding is null", binding); 914 915 binding.setTimeout(60000); 917 918 java.util.Calendar [][] value = null; 920 value = binding.calendarMultiArrayTest(new java.util.Calendar [0][0]); 921 } 923 924 public void test42RoundTrip2TestBigIntegerTest() throws Exception { 925 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 926 try { 927 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 928 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 929 } 930 catch (javax.xml.rpc.ServiceException jre) { 931 if(jre.getLinkedCause()!=null) 932 jre.getLinkedCause().printStackTrace(); 933 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 934 } 935 assertNotNull("binding is null", binding); 936 937 binding.setTimeout(60000); 939 940 java.math.BigInteger value = null; 942 value = binding.bigIntegerTest(new java.math.BigInteger ("0")); 943 } 945 946 public void test43RoundTrip2TestBigIntegerArrayTest() throws Exception { 947 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 948 try { 949 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 950 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 951 } 952 catch (javax.xml.rpc.ServiceException jre) { 953 if(jre.getLinkedCause()!=null) 954 jre.getLinkedCause().printStackTrace(); 955 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 956 } 957 assertNotNull("binding is null", binding); 958 959 binding.setTimeout(60000); 961 962 java.math.BigInteger [] value = null; 964 value = binding.bigIntegerArrayTest(new java.math.BigInteger [0]); 965 } 967 968 public void test44RoundTrip2TestBigIntegerMultiArrayTest() throws Exception { 969 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 970 try { 971 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 972 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 973 } 974 catch (javax.xml.rpc.ServiceException jre) { 975 if(jre.getLinkedCause()!=null) 976 jre.getLinkedCause().printStackTrace(); 977 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 978 } 979 assertNotNull("binding is null", binding); 980 981 binding.setTimeout(60000); 983 984 java.math.BigInteger [][] value = null; 986 value = binding.bigIntegerMultiArrayTest(new java.math.BigInteger [0][0]); 987 } 989 990 public void test45RoundTrip2TestBigDecimalTest() throws Exception { 991 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 992 try { 993 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 994 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 995 } 996 catch (javax.xml.rpc.ServiceException jre) { 997 if(jre.getLinkedCause()!=null) 998 jre.getLinkedCause().printStackTrace(); 999 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 1000 } 1001 assertNotNull("binding is null", binding); 1002 1003 binding.setTimeout(60000); 1005 1006 java.math.BigDecimal value = null; 1008 value = binding.bigDecimalTest(new java.math.BigDecimal (0)); 1009 } 1011 1012 public void test46RoundTrip2TestBigDecimalArrayTest() throws Exception { 1013 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 1014 try { 1015 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 1016 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 1017 } 1018 catch (javax.xml.rpc.ServiceException jre) { 1019 if(jre.getLinkedCause()!=null) 1020 jre.getLinkedCause().printStackTrace(); 1021 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 1022 } 1023 assertNotNull("binding is null", binding); 1024 1025 binding.setTimeout(60000); 1027 1028 java.math.BigDecimal [] value = null; 1030 value = binding.bigDecimalArrayTest(new java.math.BigDecimal [0]); 1031 } 1033 1034 public void test47RoundTrip2TestBigDecimalMultiArrayTest() throws Exception { 1035 test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub binding; 1036 try { 1037 binding = (test.wsdl.roundtrip2.RoundTrip2TestSoapBindingStub) 1038 new test.wsdl.roundtrip2.RoundTrip2TestServiceLocator().getRoundTrip2Test(); 1039 } 1040 catch (javax.xml.rpc.ServiceException jre) { 1041 if(jre.getLinkedCause()!=null) 1042 jre.getLinkedCause().printStackTrace(); 1043 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 1044 } 1045 assertNotNull("binding is null", binding); 1046 1047 binding.setTimeout(60000); 1049 1050 java.math.BigDecimal [][] value = null; 1052 value = binding.bigDecimalMultiArrayTest(new java.math.BigDecimal [0][0]); 1053 } 1055 1056} 1057 | Popular Tags |