📄 typetestservicetestcase.java
字号:
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); } assertNotNull("binding is null", binding); // Time out after a minute binding.setTimeout(60000); // Test operation binding.anyOut(new javax.xml.rpc.holders.ObjectHolder()); // TBD - validate results } public void test43TypeTestAnyReturn() throws Exception { test.wsdl.types.comprehensive_service.TypeTestBindingStub binding; try { binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub) new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest(); } catch (javax.xml.rpc.ServiceException jre) { if(jre.getLinkedCause()!=null) jre.getLinkedCause().printStackTrace(); throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); } assertNotNull("binding is null", binding); // Time out after a minute binding.setTimeout(60000); // Test operation java.lang.Object value = null; value = binding.anyReturn(); // TBD - validate results } public void test44TypeTestAnimalIn() throws Exception { test.wsdl.types.comprehensive_service.TypeTestBindingStub binding; try { binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub) new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest(); } catch (javax.xml.rpc.ServiceException jre) { if(jre.getLinkedCause()!=null) jre.getLinkedCause().printStackTrace(); throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); } assertNotNull("binding is null", binding); // Time out after a minute binding.setTimeout(60000); // Test operation binding.animalIn(new test.wsdl.types.comprehensive_types.Animal()); // TBD - validate results } public void test45TypeTestAnimalInout() throws Exception { test.wsdl.types.comprehensive_service.TypeTestBindingStub binding; try { binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub) new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest(); } catch (javax.xml.rpc.ServiceException jre) { if(jre.getLinkedCause()!=null) jre.getLinkedCause().printStackTrace(); throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); } assertNotNull("binding is null", binding); // Time out after a minute binding.setTimeout(60000); // Test operation binding.animalInout(new test.wsdl.types.comprehensive_types.holders.AnimalHolder(new test.wsdl.types.comprehensive_types.Animal())); // TBD - validate results } public void test46TypeTestAnimalOut() throws Exception { test.wsdl.types.comprehensive_service.TypeTestBindingStub binding; try { binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub) new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest(); } catch (javax.xml.rpc.ServiceException jre) { if(jre.getLinkedCause()!=null) jre.getLinkedCause().printStackTrace(); throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); } assertNotNull("binding is null", binding); // Time out after a minute binding.setTimeout(60000); // Test operation binding.animalOut(new test.wsdl.types.comprehensive_types.holders.AnimalHolder()); // TBD - validate results } public void test47TypeTestAnimalReturn() throws Exception { test.wsdl.types.comprehensive_service.TypeTestBindingStub binding; try { binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub) new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest(); } catch (javax.xml.rpc.ServiceException jre) { if(jre.getLinkedCause()!=null) jre.getLinkedCause().printStackTrace(); throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); } assertNotNull("binding is null", binding); // Time out after a minute binding.setTimeout(60000); // Test operation test.wsdl.types.comprehensive_types.Animal value = null; value = binding.animalReturn(); // TBD - validate results } public void test48TypeTestCatIn() throws Exception { test.wsdl.types.comprehensive_service.TypeTestBindingStub binding; try { binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub) new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest(); } catch (javax.xml.rpc.ServiceException jre) { if(jre.getLinkedCause()!=null) jre.getLinkedCause().printStackTrace(); throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); } assertNotNull("binding is null", binding); // Time out after a minute binding.setTimeout(60000); // Test operation binding.catIn(new test.wsdl.types.comprehensive_types.Cat()); // TBD - validate results } public void test49TypeTestCatInout() throws Exception { test.wsdl.types.comprehensive_service.TypeTestBindingStub binding; try { binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub) new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest(); } catch (javax.xml.rpc.ServiceException jre) { if(jre.getLinkedCause()!=null) jre.getLinkedCause().printStackTrace(); throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); } assertNotNull("binding is null", binding); // Time out after a minute binding.setTimeout(60000); // Test operation binding.catInout(new test.wsdl.types.comprehensive_types.holders.CatHolder(new test.wsdl.types.comprehensive_types.Cat())); // TBD - validate results } public void test50TypeTestCatOut() throws Exception { test.wsdl.types.comprehensive_service.TypeTestBindingStub binding; try { binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub) new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest(); } catch (javax.xml.rpc.ServiceException jre) { if(jre.getLinkedCause()!=null) jre.getLinkedCause().printStackTrace(); throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); } assertNotNull("binding is null", binding); // Time out after a minute binding.setTimeout(60000); // Test operation binding.catOut(new test.wsdl.types.comprehensive_types.holders.CatHolder()); // TBD - validate results } public void test51TypeTestCatReturn() throws Exception { test.wsdl.types.comprehensive_service.TypeTestBindingStub binding; try { binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub) new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest(); } catch (javax.xml.rpc.ServiceException jre) { if(jre.getLinkedCause()!=null) jre.getLinkedCause().printStackTrace(); throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); } assertNotNull("binding is null", binding); // Time out after a minute binding.setTimeout(60000); // Test operation test.wsdl.types.comprehensive_types.Cat value = null; value = binding.catReturn(); // TBD - validate results } public void test52TypeTestMethodBoolean() throws Exception { test.wsdl.types.comprehensive_service.TypeTestBindingStub binding; try { binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub) new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest(); } catch (javax.xml.rpc.ServiceException jre) { if(jre.getLinkedCause()!=null) jre.getLinkedCause().printStackTrace(); throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); } assertNotNull("binding is null", binding); // Time out after a minute binding.setTimeout(60000); // Test operation boolean value = false; value = binding.methodBoolean(true, new javax.xml.rpc.holders.BooleanHolder(true)); // TBD - validate results } public void test53TypeTestMethodByte() throws Exception { test.wsdl.types.comprehensive_service.TypeTestBindingStub binding; try { binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub) new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest(); } catch (javax.xml.rpc.ServiceException jre) { if(jre.getLinkedCause()!=null) jre.getLinkedCause().printStackTrace(); throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); } assertNotNull("binding is null", binding); // Time out after a minute binding.setTimeout(60000); // Test operation byte value = -3; value = binding.methodByte((byte)0, new javax.xml.rpc.holders.ByteHolder((byte)0)); // TBD - validate results } public void test54TypeTestMethodShort() throws Exception { test.wsdl.types.comprehensive_service.TypeTestBindingStub binding; try { binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub) new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest(); } catch (javax.xml.rpc.ServiceException jre) { if(jre.getLinkedCause()!=null) jre.getLinkedCause().printStackTrace(); throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); } assertNotNull("binding is null", binding); // Time out after a minute binding.setTimeout(60000); // Test operation short value = -3; value = binding.methodShort((short)0, new javax.xml.rpc.holders.ShortHolder((short)0)); // TBD - validate results } public void test55TypeTestMethodInt() throws Exception { test.wsdl.types.comprehensive_service.TypeTestBindingStub binding; try { binding = (test.wsdl.types.comprehensive_service.TypeTestBindingStub) new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest(); } catch (javax.xml.rpc.ServiceException jre) { if(jre.getLinkedCause()!=null) jre.getLinkedCause().printStackTrace();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -