| 1 |
/** |
| 2 |
* RoundTrip2TestServiceTestCase.java |
| 3 |
* |
| 4 |
* This file was auto-generated from WSDL |
| 5 |
* by the Apache Axis 1.2RC3 Feb 19, 2005 (03:03:59 EST) WSDL2Java emitter. |
| 6 |
*/ |
| 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 |
// Time out after a minute |
| 36 |
binding.setTimeout(60000); |
| 37 |
|
| 38 |
// Test operation |
| 39 |
boolean value = false; |
| 40 |
value = binding.booleanTest(true); |
| 41 |
// TBD - validate results |
| 42 |
} |
| 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 |
// Time out after a minute |
| 58 |
binding.setTimeout(60000); |
| 59 |
|
| 60 |
// Test operation |
| 61 |
java.lang.Boolean value = null; |
| 62 |
value = binding.wrapperBooleanTest(new java.lang.Boolean(false)); |
| 63 |
// TBD - validate results |
| 64 |
} |
| 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 |
// Time out after a minute |
| 80 |
binding.setTimeout(60000); |
| 81 |
|
| 82 |
// Test operation |
| 83 |
byte value = -3; |
| 84 |
value = binding.byteTest((byte)0); |
| 85 |
// TBD - validate results |
| 86 |
} |
| 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 |
// Time out after a minute |
| 102 |
binding.setTimeout(60000); |
| 103 |
|
| 104 |
// Test operation |
| 105 |
java.lang.Byte value = null; |
| 106 |
value = binding.wrapperByteTest(new java.lang.Byte((byte)0)); |
| 107 |
// TBD - validate results |
| 108 |
} |
| 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 |
// Time out after a minute |
| 124 |
binding.setTimeout(60000); |
| 125 |
|
| 126 |
// Test operation |
| 127 |
short value = -3; |
| 128 |
value = binding.shortTest((short)0); |
| 129 |
// TBD - validate results |
| 130 |
} |
| 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 |
// Time out after a minute |
| 146 |
binding.setTimeout(60000); |
| 147 |
|
| 148 |
// Test operation |
| 149 |
java.lang.Short value = null; |
| 150 |
value = binding.wrapperShortTest(new java.lang.Short((short)0)); |
| 151 |
// TBD - validate results |
| 152 |
} |
| 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 |
// Time out after a minute |
| 168 |
binding.setTimeout(60000); |
| 169 |
|
| 170 |
// Test operation |
| 171 |
int value = -3; |
| 172 |
value = binding.intTest(0); |
| 173 |
// TBD - validate results |
| 174 |
} |
| 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 |
// Time out after a minute |
| 190 |
binding.setTimeout(60000); |
| 191 |
|
| 192 |
// Test operation |
| 193 |
java.lang.Integer value = null; |
| 194 |
value = binding.wrapperIntegerTest(new java.lang.Integer(0)); |
| 195 |
// TBD - validate results |
| 196 |
} |
| 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 |
// Time out after a minute |
| 212 |
binding.setTimeout(60000); |
| 213 |
|
| 214 |
// Test operation |
| 215 |
long value = -3; |
| 216 |
value = binding.longTest(0); |
| 217 |
// TBD - validate results |
| 218 |
} |
| 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 |
// Time out after a minute |
| 234 |
binding.setTimeout(60000); |
| 235 |
|
| 236 |
// Test operation |
| 237 |
java.lang.Long value = null; |
| 238 |
value = binding.wrapperLongTest(new java.lang.Long(0)); |
| 239 |
// TBD - validate results |
| 240 |
} |
| 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 |
// Time out after a minute |
| 256 |
binding.setTimeout(60000); |
| 257 |
|
| 258 |
// Test operation |
| 259 |
float value = -3; |
| 260 |
value = binding.floatTest(0); |
| 261 |
// TBD - validate results |
| 262 |
} |
| 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 |
// Time out after a minute |
| 278 |
binding.setTimeout(60000); |
| 279 |
|
| 280 |
// Test operation |
| 281 |
java.lang.Float value = null; |
| 282 |
value = binding.wrapperFloatTest(new java.lang.Float(0)); |
| 283 |
// TBD - validate results |
| 284 |
} |
| 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 |
// Time out after a minute |
| 300 |
binding.setTimeout(60000); |
| 301 |
|
| 302 |
// Test operation |
| 303 |
double value = -3; |
| 304 |
value = binding.doubleTest(0); |
| 305 |
// TBD - validate results |
| 306 |
} |
| 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 |
// Time out after a minute |
| 322 |
binding.setTimeout(60000); |
| 323 |
|
| 324 |
// Test operation |
| 325 |
java.lang.Double value = null; |
| 326 |
value = binding.wrapperDoubleTest(new java.lang.Double(0)); |
| 327 |
// TBD - validate results |
| 328 |
} |
| 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 |
// Time out after a minute |
| 344 |
binding.setTimeout(60000); |
| 345 |
|
| 346 |
// Test operation |
| 347 |
boolean[] value = null; |
| 348 |
value = binding.booleanArrayTest(new boolean[]{true,false}); |
| 349 |
// TBD - validate results |
| 350 |
} |
| 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 |
// Time out after a minute |
| 366 |
binding.setTimeout(60000); |
| 367 |
|
| 368 |
// Test operation |
| 369 |
byte[] value = null; |
| 370 |
value = binding.byteArrayTest(new byte[]{0xD,0xE}); |
| 371 |
// TBD - validate results |
| 372 |
} |
| 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 |
// Time out after a minute |
| 388 |
binding.setTimeout(60000); |
| 389 |
|
| 390 |
// Test operation |
| 391 |
short[] value = null; |
| 392 |
value = binding.shortArrayTest(new short[]{3,4}); |
| 393 |
// TBD - validate results |
| 394 |
} |
| 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 |
// Time out after a minute |
| 410 |
binding.setTimeout(60000); |
| 411 |
|
| 412 |
// Test operation |
| 413 |
int[] value = null; |
| 414 |
value = binding.intArrayTest(new int[]{1,2}); |
| 415 |
// TBD - validate results |
| 416 |
} |
| 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 |
// Time out after a minute |
| 432 |
binding.setTimeout(60000); |
| 433 |
|
| 434 |
// Test operation |
| 435 |
long[] value = null; |
| 436 |
value = binding.longArrayTest(new long[]{45,64}); |
| 437 |
// TBD - validate results |
| 438 |
} |
| 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 |
// Time out after a minute |
| 454 |
binding.setTimeout(60000); |
| 455 |
|
| 456 |
// Test operation |
| 457 |
float[] value = null; |
| 458 |
value = binding.floatArrayTest(new float[]{12,34}); |
| 459 |
// TBD - validate results |
| 460 |
} |
| 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 |
// Time out after a minute |
| 476 |
binding.setTimeout(60000); |
| 477 |
|
| 478 |
// Test operation |
| 479 |
double[] value = null; |
| 480 |
value = binding.doubleArrayTest(new double[]{435,647}); |
| 481 |
// TBD - validate results |
| 482 |
} |
| 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 |
// Time out after a minute |
| 498 |
binding.setTimeout(60000); |
| 499 |
|
| 500 |
// Test operation |
| 501 |
java.lang.Boolean[] value = null; |
| 502 |
value = binding.wrapperBooleanArrayTest(new java.lang.Boolean[]{Boolean.TRUE, Boolean.FALSE}); |
| 503 |
// TBD - validate results |
| 504 |
} |
| 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 |
// Time out after a minute |
| 520 |
binding.setTimeout(60000); |
| 521 |
|
| 522 |
// Test operation |
| 523 |
java.lang.Byte[] value = null; |
| 524 |
value = binding.wrapperByteArrayTest(new java.lang.Byte[]{new Byte((byte)0x3)}); |
| 525 |
// TBD - validate results |
| 526 |
} |
| 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 |
// Time out after a minute |
| 542 |
binding.setTimeout(60000); |
| 543 |
|
| 544 |
// Test operation |
| 545 |
java.lang.Short[] value = null; |
| 546 |
value = binding.wrapperShortArrayTest(new java.lang.Short[]{new Short((short)3)}); |
| 547 |
// TBD - validate results |
| 548 |
} |
| 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 |
// Time out after a minute |
| 564 |
binding.setTimeout(60000); |
| 565 |
|
| 566 |
// Test operation |
| 567 |
java.lang.Integer[] value = null; |
| 568 |
value = binding.wrapperIntArrayTest(new java.lang.Integer[]{new Integer(4)}); |
| 569 |
// TBD - validate results |
| 570 |
} |
| 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 |
// Time out after a minute |
| 586 |
binding.setTimeout(60000); |
| 587 |
|
| 588 |
// Test operation |
| 589 |
java.lang.Long[] value = null; |
| 590 |
value = binding.wrapperLongArrayTest(new java.lang.Long[0]); |
| 591 |
// TBD - validate results |
| 592 |
} |
| 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 |
// Time out after a minute |
| 608 |
binding.setTimeout(60000); |
| 609 |
|
| 610 |
// Test operation |
| 611 |
java.lang.Float[] value = null; |
| 612 |
value = binding.wrapperFloatArrayTest(new java.lang.Float[0]); |
| 613 |
// TBD - validate results |
| 614 |
} |
| 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 |
// Time out after a minute |
| 630 |
binding.setTimeout(60000); |
| 631 |
|
| 632 |
// Test operation |
| 633 |
java.lang.Double[] value = null; |
| 634 |
value = binding.wrapperDoubleArrayTest(new java.lang.Double[0]); |
| 635 |
// TBD - validate results |
| 636 |
} |
| 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 |
// Time out after a minute |
| 652 |
binding.setTimeout(60000); |
| 653 |
|
| 654 |
// Test operation |
| 655 |
boolean[][] value = null; |
| 656 |
value = binding.booleanMultiArrayTest(new boolean[0][0]); |
| 657 |
// TBD - validate results |
| 658 |
} |
| 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 |
// Time out after a minute |
| 674 |
binding.setTimeout(60000); |
| 675 |
|
| 676 |
// Test operation |
| 677 |
byte[][] value = null; |
| 678 |
value = binding.byteMultiArrayTest(new byte[0][0]); |
| 679 |
// TBD - validate results |
| 680 |
} |
| 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 |
// Time out after a minute |
| 696 |
binding.setTimeout(60000); |
| 697 |
|
| 698 |
// Test operation |
| 699 |
short[][] value = null; |
| 700 |
value = binding.shortMultiArrayTest(new short[0][0]); |
| 701 |
// TBD - validate results |
| 702 |
} |
| 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 |
// Time out after a minute |
| 718 |
binding.setTimeout(60000); |
| 719 |
|
| 720 |
// Test operation |
| 721 |
int[][] value = null; |
| 722 |
value = binding.intMultiArrayTest(new int[0][0]); |
| 723 |
// TBD - validate results |
| 724 |
} |
| 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 |
// Time out after a minute |
| 740 |
binding.setTimeout(60000); |
| 741 |
|
| 742 |
// Test operation |
| 743 |
long[][] value = null; |
| 744 |
value = binding.longMultiArrayTest(new long[0][0]); |
| 745 |
// TBD - validate results |
| 746 |
} |
| 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 |
// Time out after a minute |
| 762 |
binding.setTimeout(60000); |
| 763 |
|
| 764 |
// Test operation |
| 765 |
float[][] value = null; |
| 766 |
value = binding.floatMultiArrayTest(new float[0][0]); |
| 767 |
// TBD - validate results |
| 768 |
} |
| 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 |
// Time out after a minute |
| 784 |
binding.setTimeout(60000); |
| 785 |
|
| 786 |
// Test operation |
| 787 |
double[][] value = null; |
| 788 |
value = binding.doubleMultiArrayTest(new double[0][0]); |
| 789 |
// TBD - validate results |
| 790 |
} |
| 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 |
// Time out after a minute |
| 806 |
binding.setTimeout(60000); |
| 807 |
|
| 808 |
// Test operation |
| 809 |
java.lang.String value = null; |
| 810 |
value = binding.stringTest(new java.lang.String()); |
| 811 |
// TBD - validate results |
| 812 |
} |
| 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 |
// Time out after a minute |
| 828 |
binding.setTimeout(60000); |
| 829 |
|
| 830 |
// Test operation |
| 831 |
java.lang.String[] value = null; |
| 832 |
value = binding.stringArrayTest(new java.lang.String[0]); |
| 833 |
// TBD - validate results |
| 834 |
} |
| 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 |
// Time out after a minute |
| 850 |
binding.setTimeout(60000); |
| 851 |
|
| 852 |
// Test operation |
| 853 |
java.lang.String[][] value = null; |
| 854 |
value = binding.stringMultiArrayTest(new java.lang.String[0][0]); |
| 855 |
// TBD - validate results |
| 856 |
} |
| 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 |
// Time out after a minute |
| 872 |
binding.setTimeout(60000); |
| 873 |
|
| 874 |
// Test operation |
| 875 |
java.util.Calendar value = null; |
| 876 |
value = binding.calendarTest(java.util.Calendar.getInstance()); |
| 877 |
// TBD - validate results |
| 878 |
} |
| 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 |
// Time out after a minute |
| 894 |
binding.setTimeout(60000); |
| 895 |
|
| 896 |
// Test operation |
| 897 |
java.util.Calendar[] value = null; |
| 898 |
value = binding.calendarArrayTest(new java.util.Calendar[0]); |
| 899 |
// TBD - validate results |
| 900 |
} |
| 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 |
// Time out after a minute |
| 916 |
binding.setTimeout(60000); |
| 917 |
|
| 918 |
// Test operation |
| 919 |
java.util.Calendar[][] value = null; |
| 920 |
value = binding.calendarMultiArrayTest(new java.util.Calendar[0][0]); |
| 921 |
// TBD - validate results |
| 922 |
} |
| 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 |
// Time out after a minute |
| 938 |
binding.setTimeout(60000); |
| 939 |
|
| 940 |
// Test operation |
| 941 |
java.math.BigInteger value = null; |
| 942 |
value = binding.bigIntegerTest(new java.math.BigInteger("0")); |
| 943 |
// TBD - validate results |
| 944 |
} |
| 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 |
// Time out after a minute |
| 960 |
binding.setTimeout(60000); |
| 961 |
|
| 962 |
// Test operation |
| 963 |
java.math.BigInteger[] value = null; |
| 964 |
value = binding.bigIntegerArrayTest(new java.math.BigInteger[0]); |
| 965 |
// TBD - validate results |
| 966 |
} |
| 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 |
// Time out after a minute |
| 982 |
binding.setTimeout(60000); |
| 983 |
|
| 984 |
// Test operation |
| 985 |
java.math.BigInteger[][] value = null; |
| 986 |
value = binding.bigIntegerMultiArrayTest(new java.math.BigInteger[0][0]); |
| 987 |
// TBD - validate results |
| 988 |
} |
| 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 |
// Time out after a minute |
| 1004 |
binding.setTimeout(60000); |
| 1005 |
|
| 1006 |
// Test operation |
| 1007 |
java.math.BigDecimal value = null; |
| 1008 |
value = binding.bigDecimalTest(new java.math.BigDecimal(0)); |
| 1009 |
// TBD - validate results |
| 1010 |
} |
| 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 |
// Time out after a minute |
| 1026 |
binding.setTimeout(60000); |
| 1027 |
|
| 1028 |
// Test operation |
| 1029 |
java.math.BigDecimal[] value = null; |
| 1030 |
value = binding.bigDecimalArrayTest(new java.math.BigDecimal[0]); |
| 1031 |
// TBD - validate results |
| 1032 |
} |
| 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 |
// Time out after a minute |
| 1048 |
binding.setTimeout(60000); |
| 1049 |
|
| 1050 |
// Test operation |
| 1051 |
java.math.BigDecimal[][] value = null; |
| 1052 |
value = binding.bigDecimalMultiArrayTest(new java.math.BigDecimal[0][0]); |
| 1053 |
// TBD - validate results |
| 1054 |
} |
| 1055 |
|
| 1056 |
} |