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

📄 dynamicproxytestcase.java

📁 Java有关XML编程需要用到axis 的源代码 把里面bin下的包导入相应的Java工程 进行使用
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
    public void test7TypeTestEnumReturn() {        test.wsdl.types.comprehensive_service.TypeTest binding;        try {            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();        }        catch (javax.xml.rpc.ServiceException jre) {            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);        }        assertTrue("binding is null", binding != null);        try {            test.wsdl.types.comprehensive_types.Enum value = null;            value = binding.enumReturn();        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test8TypeTestArrayIn() {        test.wsdl.types.comprehensive_service.TypeTest binding;        try {            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();        }        catch (javax.xml.rpc.ServiceException jre) {            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);        }        assertTrue("binding is null", binding != null);        try {            binding.arrayIn(new String[0]);        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test9TypeTestArrayInout() {        test.wsdl.types.comprehensive_service.TypeTest binding;        try {            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();        }        catch (javax.xml.rpc.ServiceException jre) {            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);        }        assertTrue("binding is null", binding != null);        try {            binding.arrayInout(new test.wsdl.types.comprehensive_types.ArrayHolder(new String[0]));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test10TypeTestArrayOut() {        test.wsdl.types.comprehensive_service.TypeTest binding;        try {            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();        }        catch (javax.xml.rpc.ServiceException jre) {            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);        }        assertTrue("binding is null", binding != null);        try {            binding.arrayOut(new test.wsdl.types.comprehensive_types.ArrayHolder());        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test11TypeTestArrayReturn() {        test.wsdl.types.comprehensive_service.TypeTest binding;        try {            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();        }        catch (javax.xml.rpc.ServiceException jre) {            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);        }        assertTrue("binding is null", binding != null);        try {            String[] value = null;            value = binding.arrayReturn();        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test12TypeTestArrayMIn() {        test.wsdl.types.comprehensive_service.TypeTest binding;        try {            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();        }        catch (javax.xml.rpc.ServiceException jre) {            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);        }        assertTrue("binding is null", binding != null);        try {            binding.arrayMIn(new int[0][0][0]);        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test13TypeTestArrayMInout() {        test.wsdl.types.comprehensive_service.TypeTest binding;        try {            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();        }        catch (javax.xml.rpc.ServiceException jre) {            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);        }        assertTrue("binding is null", binding != null);        try {            binding.arrayMInout(new test.wsdl.types.comprehensive_types.ArrayMHolder(new int[0][0][0]));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test14TypeTestArrayMOut() {        test.wsdl.types.comprehensive_service.TypeTest binding;        try {            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();        }        catch (javax.xml.rpc.ServiceException jre) {            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);        }        assertTrue("binding is null", binding != null);        try {            binding.arrayMOut(new test.wsdl.types.comprehensive_types.ArrayMHolder());        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test15TypeTestArrayMReturn() {        test.wsdl.types.comprehensive_service.TypeTest binding;        try {            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();        }        catch (javax.xml.rpc.ServiceException jre) {            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);        }        assertTrue("binding is null", binding != null);        try {            int[][][] value = null;            value = binding.arrayMReturn();        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test16TypeTestComplexAllIn() {        test.wsdl.types.comprehensive_service.TypeTest binding;        try {            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();        }        catch (javax.xml.rpc.ServiceException jre) {            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);        }        assertTrue("binding is null", binding != null);        try {            binding.complexAllIn(new test.wsdl.types.comprehensive_types.ComplexAll());        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test17TypeTestComplexAllInout() {        test.wsdl.types.comprehensive_service.TypeTest binding;        try {            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();        }        catch (javax.xml.rpc.ServiceException jre) {            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);        }        assertTrue("binding is null", binding != null);        try {            binding.complexAllInout(new test.wsdl.types.comprehensive_types.ComplexAllHolder(new test.wsdl.types.comprehensive_types.ComplexAll()));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test18TypeTestComplexAllOut() {        test.wsdl.types.comprehensive_service.TypeTest binding;        try {            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();        }        catch (javax.xml.rpc.ServiceException jre) {            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);        }        assertTrue("binding is null", binding != null);        try {            binding.complexAllOut(new test.wsdl.types.comprehensive_types.ComplexAllHolder());        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test19TypeTestComplexAllReturn() {        test.wsdl.types.comprehensive_service.TypeTest binding;        try {            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();        }        catch (javax.xml.rpc.ServiceException jre) {            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);        }        assertTrue("binding is null", binding != null);        try {            test.wsdl.types.comprehensive_types.ComplexAll value = null;            value = binding.complexAllReturn();        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test20TypeTestComplexSequenceIn() {        test.wsdl.types.comprehensive_service.TypeTest binding;        try {            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();        }        catch (javax.xml.rpc.ServiceException jre) {            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);        }        assertTrue("binding is null", binding != null);        try {            binding.complexSequenceIn(new test.wsdl.types.comprehensive_types.ComplexSequence());        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test21TypeTestComplexSequenceInout() {        test.wsdl.types.comprehensive_service.TypeTest binding;        try {            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();        }        catch (javax.xml.rpc.ServiceException jre) {            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);        }        assertTrue("binding is null", binding != null);        try {            binding.complexSequenceInout(new test.wsdl.types.comprehensive_types.ComplexSequenceHolder(new test.wsdl.types.comprehensive_types.ComplexSequence()));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test22TypeTestComplexSequenceOut() {        test.wsdl.types.comprehensive_service.TypeTest binding;        try {            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();        }        catch (javax.xml.rpc.ServiceException jre) {            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);        }        assertTrue("binding is null", binding != null);        try {            binding.complexSequenceOut(new test.wsdl.types.comprehensive_types.ComplexSequenceHolder());        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test23TypeTestComplexSequenceReturn() {        test.wsdl.types.comprehensive_service.TypeTest binding;        try {            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();        }        catch (javax.xml.rpc.ServiceException jre) {            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);        }        assertTrue("binding is null", binding != null);        try {            test.wsdl.types.comprehensive_types.ComplexSequence value = null;            value = binding.complexSequenceReturn();        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test24TypeTestElemWComplexIn() {        test.wsdl.types.comprehensive_service.TypeTest binding;        try {            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();        }        catch (javax.xml.rpc.ServiceException jre) {            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);        }        assertTrue("binding is null", binding != null);        try {            binding.elemWComplexIn(new test.wsdl.types.comprehensive_types.ElemWComplex());        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test25TypeTestElemWComplexInout() {        test.wsdl.types.comprehensive_service.TypeTest binding;        try {            binding = new test.wsdl.types.comprehensive_service.TypeTestServiceLocator().getTypeTest();        }        catch (javax.xml.rpc.ServiceException jre) {            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);        }        assertTrue("binding is null", binding != null);        try {            binding.elemWComplexInout(new test.wsdl.types.comprehensive_types.ElemWComplexHolder(new test.wsdl.types.comprehensive_types.ElemWComplex()));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }

⌨️ 快捷键说明

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