📄 typetestservicetestcase.java
字号:
} 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.complexSequenceOut(new test.wsdl.types.comprehensive_types.holders.ComplexSequenceHolder()); // TBD - validate results } public void test27TypeTestComplexSequenceReturn() 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.ComplexSequence value = null; value = binding.complexSequenceReturn(); // TBD - validate results } public void test32TypeTestComplexWComplexIn() 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.complexWComplexIn(new test.wsdl.types.comprehensive_types.ComplexWComplex()); // TBD - validate results } public void test33TypeTestComplexWComplexInout() 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.complexWComplexInout(new test.wsdl.types.comprehensive_types.holders.ComplexWComplexHolder(new test.wsdl.types.comprehensive_types.ComplexWComplex())); // TBD - validate results } public void test34TypeTestComplexWComplexOut() 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.complexWComplexOut(new test.wsdl.types.comprehensive_types.holders.ComplexWComplexHolder()); // TBD - validate results } public void test35TypeTestComplexWComplexReturn() 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.ComplexWComplex value = null; value = binding.complexWComplexReturn(); // TBD - validate results } public void test36TypeTestEmptyComplexTypeIn() 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 try { binding.emptyComplexTypeIn(new test.wsdl.types.comprehensive_types.EmptyComplexType()); } catch (test.wsdl.types.comprehensive_types.EmptyFault e1) { throw new junit.framework.AssertionFailedError("emptyFault Exception caught: " + e1); } // TBD - validate results } public void test37TypeTestEmptyComplexTypeInout() 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 try { binding.emptyComplexTypeInout(new test.wsdl.types.comprehensive_types.holders.EmptyComplexTypeHolder(new test.wsdl.types.comprehensive_types.EmptyComplexType())); } catch (test.wsdl.types.comprehensive_types.EmptyFault e1) { throw new junit.framework.AssertionFailedError("emptyFault Exception caught: " + e1); } // TBD - validate results } public void test38TypeTestEmptyComplexTypeOut() 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 try { binding.emptyComplexTypeOut(new test.wsdl.types.comprehensive_types.holders.EmptyComplexTypeHolder()); } catch (test.wsdl.types.comprehensive_types.EmptyFault e1) { throw new junit.framework.AssertionFailedError("emptyFault Exception caught: " + e1); } // TBD - validate results } public void test39TypeTestEmptyComplexTypeReturn() 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 try { test.wsdl.types.comprehensive_types.EmptyComplexType value = null; value = binding.emptyComplexTypeReturn(); } catch (test.wsdl.types.comprehensive_types.EmptyFault e1) { throw new junit.framework.AssertionFailedError("emptyFault Exception caught: " + e1); } // TBD - validate results } public void test40TypeTestAnyIn() 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.anyIn(new java.lang.String()); // TBD - validate results } public void test41TypeTestAnyInout() 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.anyInout(new javax.xml.rpc.holders.ObjectHolder(new java.lang.String())); // TBD - validate results } public void test42TypeTestAnyOut() 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 + -