1 7 8 package test.wsdl.interop5.basetype; 9 10 import org.apache.axis.types.NMToken; 11 import org.apache.axis.types.NMTokens; 12 import org.apache.axis.types.IDRef; 13 import org.apache.axis.types.IDRefs; 14 15 import java.net.URL ; 16 17 public class BaseTypesInteropTestsTestCase extends junit.framework.TestCase { 18 public static URL url = null; 19 20 public static void main(String [] args) throws Exception { 21 if (args.length == 1) { 22 url = new URL (args[0]); 23 } else { 24 url = new URL (new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPortAddress()); 25 } 26 junit.textui.TestRunner.run(new junit.framework.TestSuite(BaseTypesInteropTestsTestCase.class)); 27 } 29 protected void setUp() throws Exception { 30 if (url == null) { 31 String urlStr = System.getProperty("testURL"); 32 if (urlStr != null) { 33 url = new URL (urlStr); 34 } 35 } 36 if(url == null) { 37 url = new URL (new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPortAddress()); 38 } 39 } 40 41 public BaseTypesInteropTestsTestCase(java.lang.String name) { 42 super(name); 43 } 44 45 public void testInteropTestsPortWSDL() throws Exception { 46 javax.xml.rpc.ServiceFactory serviceFactory = javax.xml.rpc.ServiceFactory.newInstance(); 47 java.net.URL url = new java.net.URL (new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPortAddress() + "?WSDL"); 48 javax.xml.rpc.Service service = serviceFactory.createService(url, new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getServiceName()); 49 assertTrue(service != null); 50 } 51 52 public void test1InteropTestsPortEchoDouble() throws Exception { 53 test.wsdl.interop5.basetype.InteropTestsExpType binding; 54 try { 55 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 56 } 57 catch (javax.xml.rpc.ServiceException jre) { 58 if(jre.getLinkedCause()!=null) 59 jre.getLinkedCause().printStackTrace(); 60 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 61 } 62 assertTrue("binding is null", binding != null); 63 64 double value = -3; 66 value = binding.echoDouble(0); 67 } 69 70 public void test2InteropTestsPortEchoDuration() throws Exception { 71 test.wsdl.interop5.basetype.InteropTestsExpType binding; 72 try { 73 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 74 } 75 catch (javax.xml.rpc.ServiceException jre) { 76 if(jre.getLinkedCause()!=null) 77 jre.getLinkedCause().printStackTrace(); 78 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 79 } 80 assertTrue("binding is null", binding != null); 81 82 org.apache.axis.types.Duration value = null; 84 value = binding.echoDuration(new org.apache.axis.types.Duration()); 85 } 87 88 public void test3InteropTestsPortEchoDateTime() throws Exception { 89 test.wsdl.interop5.basetype.InteropTestsExpType binding; 90 try { 91 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 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 assertTrue("binding is null", binding != null); 99 100 java.util.Calendar value = null; 102 value = binding.echoDateTime(java.util.Calendar.getInstance()); 103 } 105 106 public void test4InteropTestsPortEchoTime() throws Exception { 107 test.wsdl.interop5.basetype.InteropTestsExpType binding; 108 try { 109 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 110 } 111 catch (javax.xml.rpc.ServiceException jre) { 112 if(jre.getLinkedCause()!=null) 113 jre.getLinkedCause().printStackTrace(); 114 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 115 } 116 assertTrue("binding is null", binding != null); 117 118 org.apache.axis.types.Time value = null; 120 value = binding.echoTime(new org.apache.axis.types.Time("15:45:45.275Z")); 121 } 123 124 public void test5InteropTestsPortEchoGYearMonth() throws Exception { 125 test.wsdl.interop5.basetype.InteropTestsExpType binding; 126 try { 127 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 128 } 129 catch (javax.xml.rpc.ServiceException jre) { 130 if(jre.getLinkedCause()!=null) 131 jre.getLinkedCause().printStackTrace(); 132 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 133 } 134 assertTrue("binding is null", binding != null); 135 136 org.apache.axis.types.YearMonth value = null; 138 value = binding.echoGYearMonth(new org.apache.axis.types.YearMonth(2000,1)); 139 } 141 142 public void test6InteropTestsPortEchoGYear() throws Exception { 143 test.wsdl.interop5.basetype.InteropTestsExpType binding; 144 try { 145 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 146 } 147 catch (javax.xml.rpc.ServiceException jre) { 148 if(jre.getLinkedCause()!=null) 149 jre.getLinkedCause().printStackTrace(); 150 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 151 } 152 assertTrue("binding is null", binding != null); 153 154 org.apache.axis.types.Year value = null; 156 value = binding.echoGYear(new org.apache.axis.types.Year(2000)); 157 } 159 160 public void test7InteropTestsPortEchoGMonthDay() throws Exception { 161 test.wsdl.interop5.basetype.InteropTestsExpType binding; 162 try { 163 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 164 } 165 catch (javax.xml.rpc.ServiceException jre) { 166 if(jre.getLinkedCause()!=null) 167 jre.getLinkedCause().printStackTrace(); 168 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 169 } 170 assertTrue("binding is null", binding != null); 171 172 org.apache.axis.types.MonthDay value = null; 174 value = binding.echoGMonthDay(new org.apache.axis.types.MonthDay(1, 1)); 175 } 177 178 public void test8InteropTestsPortEchoGDay() throws Exception { 179 test.wsdl.interop5.basetype.InteropTestsExpType binding; 180 try { 181 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 182 } 183 catch (javax.xml.rpc.ServiceException jre) { 184 if(jre.getLinkedCause()!=null) 185 jre.getLinkedCause().printStackTrace(); 186 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 187 } 188 assertTrue("binding is null", binding != null); 189 190 org.apache.axis.types.Day value = null; 192 value = binding.echoGDay(new org.apache.axis.types.Day(1)); 193 } 195 196 public void test9InteropTestsPortEchoGMonth() throws Exception { 197 test.wsdl.interop5.basetype.InteropTestsExpType binding; 198 try { 199 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 200 } 201 catch (javax.xml.rpc.ServiceException jre) { 202 if(jre.getLinkedCause()!=null) 203 jre.getLinkedCause().printStackTrace(); 204 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 205 } 206 assertTrue("binding is null", binding != null); 207 208 org.apache.axis.types.Month value = null; 210 value = binding.echoGMonth(new org.apache.axis.types.Month(1)); 211 } 213 214 public void test10InteropTestsPortEchoAnyURI() throws Exception { 215 test.wsdl.interop5.basetype.InteropTestsExpType binding; 216 try { 217 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 218 } 219 catch (javax.xml.rpc.ServiceException jre) { 220 if(jre.getLinkedCause()!=null) 221 jre.getLinkedCause().printStackTrace(); 222 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 223 } 224 assertTrue("binding is null", binding != null); 225 226 org.apache.axis.types.URI value = null; 228 value = binding.echoAnyURI(new org.apache.axis.types.URI("urn:testing")); 229 } 231 232 public void test11InteropTestsPortEchoQName() throws Exception { 233 test.wsdl.interop5.basetype.InteropTestsExpType binding; 234 try { 235 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 236 } 237 catch (javax.xml.rpc.ServiceException jre) { 238 if(jre.getLinkedCause()!=null) 239 jre.getLinkedCause().printStackTrace(); 240 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 241 } 242 assertTrue("binding is null", binding != null); 243 244 javax.xml.namespace.QName value = null; 246 value = binding.echoQName(new javax.xml.namespace.QName ("http://double-double", "toil-and-trouble")); 247 } 249 250 public void test12InteropTestsPortEchoNotation() throws Exception { 251 test.wsdl.interop5.basetype.InteropTestsExpType binding; 252 try { 253 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 254 } 255 catch (javax.xml.rpc.ServiceException jre) { 256 if(jre.getLinkedCause()!=null) 257 jre.getLinkedCause().printStackTrace(); 258 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 259 } 260 assertTrue("binding is null", binding != null); 261 262 org.apache.axis.types.Notation value = null; 264 value = binding.echoNotation(new org.apache.axis.types.Notation()); 265 } 267 268 public void test13InteropTestsPortEchoLanguage() throws Exception { 269 test.wsdl.interop5.basetype.InteropTestsExpType binding; 270 try { 271 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 272 } 273 catch (javax.xml.rpc.ServiceException jre) { 274 if(jre.getLinkedCause()!=null) 275 jre.getLinkedCause().printStackTrace(); 276 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 277 } 278 assertTrue("binding is null", binding != null); 279 280 org.apache.axis.types.Language value = null; 282 value = binding.echoLanguage(new org.apache.axis.types.Language()); 283 } 285 286 public void test14InteropTestsPortEchoNMToken() throws Exception { 287 test.wsdl.interop5.basetype.InteropTestsExpType binding; 288 try { 289 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 290 } 291 catch (javax.xml.rpc.ServiceException jre) { 292 if(jre.getLinkedCause()!=null) 293 jre.getLinkedCause().printStackTrace(); 294 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 295 } 296 assertTrue("binding is null", binding != null); 297 298 org.apache.axis.types.NMToken value = null; 300 NMToken token = new NMToken(); 301 token.setValue("eye_am_an_en_em_tokin"); 302 value = binding.echoNMToken(token); 303 assertEquals(token, value); 304 } 305 306 public void test15InteropTestsPortEchoNMTokens() throws Exception { 307 test.wsdl.interop5.basetype.InteropTestsExpType binding; 308 try { 309 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 310 } 311 catch (javax.xml.rpc.ServiceException jre) { 312 if(jre.getLinkedCause()!=null) 313 jre.getLinkedCause().printStackTrace(); 314 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 315 } 316 assertTrue("binding is null", binding != null); 317 318 org.apache.axis.types.NMTokens value = null; 320 NMTokens tokens = new NMTokens(); 321 tokens.setValue("one two three"); 322 value = binding.echoNMTokens(tokens); 323 assertEquals(tokens, value); 324 } 325 326 public void test16InteropTestsPortEchoName() throws Exception { 327 test.wsdl.interop5.basetype.InteropTestsExpType binding; 328 try { 329 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 330 } 331 catch (javax.xml.rpc.ServiceException jre) { 332 if(jre.getLinkedCause()!=null) 333 jre.getLinkedCause().printStackTrace(); 334 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 335 } 336 assertTrue("binding is null", binding != null); 337 338 org.apache.axis.types.Name value = null; 340 value = binding.echoName(new org.apache.axis.types.Name()); 341 } 343 344 public void test17InteropTestsPortEchoNCName() throws Exception { 345 test.wsdl.interop5.basetype.InteropTestsExpType binding; 346 try { 347 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 348 } 349 catch (javax.xml.rpc.ServiceException jre) { 350 if(jre.getLinkedCause()!=null) 351 jre.getLinkedCause().printStackTrace(); 352 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 353 } 354 assertTrue("binding is null", binding != null); 355 356 org.apache.axis.types.NCName value = null; 358 value = binding.echoNCName(new org.apache.axis.types.NCName()); 359 } 361 362 public void test18InteropTestsPortEchoID() throws Exception { 363 test.wsdl.interop5.basetype.InteropTestsExpType binding; 364 try { 365 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 366 } 367 catch (javax.xml.rpc.ServiceException jre) { 368 if(jre.getLinkedCause()!=null) 369 jre.getLinkedCause().printStackTrace(); 370 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 371 } 372 assertTrue("binding is null", binding != null); 373 374 org.apache.axis.types.Id value = null; 376 value = binding.echoID(new org.apache.axis.types.Id()); 377 } 379 380 public void test19InteropTestsPortEchoIDREF() throws Exception { 381 test.wsdl.interop5.basetype.InteropTestsExpType binding; 382 try { 383 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 384 } 385 catch (javax.xml.rpc.ServiceException jre) { 386 if(jre.getLinkedCause()!=null) 387 jre.getLinkedCause().printStackTrace(); 388 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 389 } 390 assertTrue("binding is null", binding != null); 391 392 org.apache.axis.types.IDRef value = null; 394 IDRef ref = new IDRef(); 395 ref.setValue("THX1138"); 396 value = binding.echoIDREF(ref); 397 assertEquals(ref, value); 398 } 399 400 public void test20InteropTestsPortEchoIDREFS() throws Exception { 401 test.wsdl.interop5.basetype.InteropTestsExpType binding; 402 try { 403 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 404 } 405 catch (javax.xml.rpc.ServiceException jre) { 406 if(jre.getLinkedCause()!=null) 407 jre.getLinkedCause().printStackTrace(); 408 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 409 } 410 assertTrue("binding is null", binding != null); 411 412 org.apache.axis.types.IDRefs value = null; 414 IDRefs refs = new IDRefs(); 415 refs.setValue("THX1138 R2D2 C3P0"); 416 value = binding.echoIDREFS(refs); 417 assertEquals(refs, value); 418 } 419 420 public void test21InteropTestsPortEchoEntity() throws Exception { 421 test.wsdl.interop5.basetype.InteropTestsExpType binding; 422 try { 423 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 424 } 425 catch (javax.xml.rpc.ServiceException jre) { 426 if(jre.getLinkedCause()!=null) 427 jre.getLinkedCause().printStackTrace(); 428 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 429 } 430 assertTrue("binding is null", binding != null); 431 432 org.apache.axis.types.Entity value = null; 434 value = binding.echoEntity(new org.apache.axis.types.Entity()); 435 } 437 438 public void test22InteropTestsPortEchoEntities() throws Exception { 439 test.wsdl.interop5.basetype.InteropTestsExpType binding; 440 try { 441 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 442 } 443 catch (javax.xml.rpc.ServiceException jre) { 444 if(jre.getLinkedCause()!=null) 445 jre.getLinkedCause().printStackTrace(); 446 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 447 } 448 assertTrue("binding is null", binding != null); 449 450 org.apache.axis.types.Entities value = null; 452 value = binding.echoEntities(new org.apache.axis.types.Entities()); 453 } 455 456 public void test23InteropTestsPortEchoNonPositiveInteger() throws Exception { 457 test.wsdl.interop5.basetype.InteropTestsExpType binding; 458 try { 459 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 460 } 461 catch (javax.xml.rpc.ServiceException jre) { 462 if(jre.getLinkedCause()!=null) 463 jre.getLinkedCause().printStackTrace(); 464 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 465 } 466 assertTrue("binding is null", binding != null); 467 468 org.apache.axis.types.NonPositiveInteger value = null; 470 value = binding.echoNonPositiveInteger(new org.apache.axis.types.NonPositiveInteger("0")); 471 } 473 474 public void test24InteropTestsPortEchoNegativeInteger() throws Exception { 475 test.wsdl.interop5.basetype.InteropTestsExpType binding; 476 try { 477 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 478 } 479 catch (javax.xml.rpc.ServiceException jre) { 480 if(jre.getLinkedCause()!=null) 481 jre.getLinkedCause().printStackTrace(); 482 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 483 } 484 assertTrue("binding is null", binding != null); 485 486 org.apache.axis.types.NegativeInteger value = null; 488 value = binding.echoNegativeInteger(new org.apache.axis.types.NegativeInteger("-1")); 489 } 491 492 public void test25InteropTestsPortEchoLong() throws Exception { 493 test.wsdl.interop5.basetype.InteropTestsExpType binding; 494 try { 495 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 496 } 497 catch (javax.xml.rpc.ServiceException jre) { 498 if(jre.getLinkedCause()!=null) 499 jre.getLinkedCause().printStackTrace(); 500 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 501 } 502 assertTrue("binding is null", binding != null); 503 504 long value = -3; 506 value = binding.echoLong(0); 507 } 509 510 public void test26InteropTestsPortEchoInt() throws Exception { 511 test.wsdl.interop5.basetype.InteropTestsExpType binding; 512 try { 513 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 514 } 515 catch (javax.xml.rpc.ServiceException jre) { 516 if(jre.getLinkedCause()!=null) 517 jre.getLinkedCause().printStackTrace(); 518 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 519 } 520 assertTrue("binding is null", binding != null); 521 522 int value = -3; 524 value = binding.echoInt(0); 525 } 527 528 public void test27InteropTestsPortEchoShort() throws Exception { 529 test.wsdl.interop5.basetype.InteropTestsExpType binding; 530 try { 531 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 532 } 533 catch (javax.xml.rpc.ServiceException jre) { 534 if(jre.getLinkedCause()!=null) 535 jre.getLinkedCause().printStackTrace(); 536 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 537 } 538 assertTrue("binding is null", binding != null); 539 540 short value = -3; 542 value = binding.echoShort((short)0); 543 } 545 546 public void test28InteropTestsPortEchoByte() throws Exception { 547 test.wsdl.interop5.basetype.InteropTestsExpType binding; 548 try { 549 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 550 } 551 catch (javax.xml.rpc.ServiceException jre) { 552 if(jre.getLinkedCause()!=null) 553 jre.getLinkedCause().printStackTrace(); 554 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 555 } 556 assertTrue("binding is null", binding != null); 557 558 byte value = -3; 560 value = binding.echoByte((byte)0); 561 } 563 564 public void test29InteropTestsPortEchoNonNegativeInteger() throws Exception { 565 test.wsdl.interop5.basetype.InteropTestsExpType binding; 566 try { 567 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 568 } 569 catch (javax.xml.rpc.ServiceException jre) { 570 if(jre.getLinkedCause()!=null) 571 jre.getLinkedCause().printStackTrace(); 572 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 573 } 574 assertTrue("binding is null", binding != null); 575 576 org.apache.axis.types.NonNegativeInteger value = null; 578 value = binding.echoNonNegativeInteger(new org.apache.axis.types.NonNegativeInteger("0")); 579 } 581 582 public void test30InteropTestsPortEchoUnsignedLong() throws Exception { 583 test.wsdl.interop5.basetype.InteropTestsExpType binding; 584 try { 585 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 586 } 587 catch (javax.xml.rpc.ServiceException jre) { 588 if(jre.getLinkedCause()!=null) 589 jre.getLinkedCause().printStackTrace(); 590 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 591 } 592 assertTrue("binding is null", binding != null); 593 594 org.apache.axis.types.UnsignedLong value = null; 596 value = binding.echoUnsignedLong(new org.apache.axis.types.UnsignedLong(0)); 597 } 599 600 public void test31InteropTestsPortEchoUnsignedInt() throws Exception { 601 test.wsdl.interop5.basetype.InteropTestsExpType binding; 602 try { 603 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 604 } 605 catch (javax.xml.rpc.ServiceException jre) { 606 if(jre.getLinkedCause()!=null) 607 jre.getLinkedCause().printStackTrace(); 608 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 609 } 610 assertTrue("binding is null", binding != null); 611 612 org.apache.axis.types.UnsignedInt value = null; 614 value = binding.echoUnsignedInt(new org.apache.axis.types.UnsignedInt(0)); 615 } 617 618 public void test32InteropTestsPortEchoUnsignedShort() throws Exception { 619 test.wsdl.interop5.basetype.InteropTestsExpType binding; 620 try { 621 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 622 } 623 catch (javax.xml.rpc.ServiceException jre) { 624 if(jre.getLinkedCause()!=null) 625 jre.getLinkedCause().printStackTrace(); 626 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 627 } 628 assertTrue("binding is null", binding != null); 629 630 org.apache.axis.types.UnsignedShort value = null; 632 value = binding.echoUnsignedShort(new org.apache.axis.types.UnsignedShort(0)); 633 } 635 636 public void test33InteropTestsPortEchoUnsignedByte() throws Exception { 637 test.wsdl.interop5.basetype.InteropTestsExpType binding; 638 try { 639 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 640 } 641 catch (javax.xml.rpc.ServiceException jre) { 642 if(jre.getLinkedCause()!=null) 643 jre.getLinkedCause().printStackTrace(); 644 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 645 } 646 assertTrue("binding is null", binding != null); 647 648 org.apache.axis.types.UnsignedByte value = null; 650 value = binding.echoUnsignedByte(new org.apache.axis.types.UnsignedByte(0)); 651 } 653 654 public void test34InteropTestsPortEchoPositiveInteger() throws Exception { 655 test.wsdl.interop5.basetype.InteropTestsExpType binding; 656 try { 657 binding = new test.wsdl.interop5.basetype.BaseTypesInteropTestsLocator().getInteropTestsPort(url); 658 } 659 catch (javax.xml.rpc.ServiceException jre) { 660 if(jre.getLinkedCause()!=null) 661 jre.getLinkedCause().printStackTrace(); 662 throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); 663 } 664 assertTrue("binding is null", binding != null); 665 666 org.apache.axis.types.PositiveInteger value = null; 668 value = binding.echoPositiveInteger(new org.apache.axis.types.PositiveInteger("1")); 669 } 671 672 } 673 | Popular Tags |