⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 typetestservicetestcase.java

📁 Java有关XML编程需要用到axis 的源代码 把里面bin下的包导入相应的Java工程 进行使用
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
        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.arrayInout(new test.wsdl.types.comprehensive_types.holders.ArrayHolder(new java.lang.String[0]));        // TBD - validate results    }    public void test14TypeTestArrayOut() 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.arrayOut(new test.wsdl.types.comprehensive_types.holders.ArrayHolder());        // TBD - validate results    }    public void test15TypeTestArrayReturn() 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.String[] value = null;        value = binding.arrayReturn();        // TBD - validate results    }    public void test16TypeTestArrayMIn() 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.arrayMIn(new int[0][0][0]);        // TBD - validate results    }    public void test17TypeTestArrayMInout() 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.arrayMInout(new test.wsdl.types.comprehensive_types.holders.ArrayMHolder(new int[0][0][0]));        // TBD - validate results    }    public void test18TypeTestArrayMOut() 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.arrayMOut(new test.wsdl.types.comprehensive_types.holders.ArrayMHolder());        // TBD - validate results    }    public void test19TypeTestArrayMReturn() 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        int[][][] value = null;        value = binding.arrayMReturn();        // TBD - validate results    }    public void test20TypeTestComplexAllIn() 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.complexAllIn(new test.wsdl.types.comprehensive_types.ComplexAll());        // TBD - validate results    }    public void test21TypeTestComplexAllInout() 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.complexAllInout(new test.wsdl.types.comprehensive_types.holders.ComplexAllHolder(new test.wsdl.types.comprehensive_types.ComplexAll()));        // TBD - validate results    }    public void test22TypeTestComplexAllOut() 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.complexAllOut(new test.wsdl.types.comprehensive_types.holders.ComplexAllHolder());        // TBD - validate results    }    public void test23TypeTestComplexAllReturn() 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.ComplexAll value = null;        value = binding.complexAllReturn();        // TBD - validate results    }    public void test24TypeTestComplexSequenceIn() 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.complexSequenceIn(new test.wsdl.types.comprehensive_types.ComplexSequence());        // TBD - validate results    }    public void test25TypeTestComplexSequenceInout() 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.complexSequenceInout(new test.wsdl.types.comprehensive_types.holders.ComplexSequenceHolder(new test.wsdl.types.comprehensive_types.ComplexSequence()));        // TBD - validate results    }    public void test26TypeTestComplexSequenceOut() 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();

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -