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

📄 dynamicproxytestcase.java

📁 Java有关XML编程需要用到axis 的源代码 把里面bin下的包导入相应的Java工程 进行使用
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
    public void test26TypeTestElemWComplexOut() {        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.elemWComplexOut(new test.wsdl.types.comprehensive_types.ElemWComplexHolder());        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test27TypeTestElemWComplexReturn() {        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.ElemWComplex value = null;            value = binding.elemWComplexReturn();        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test28TypeTestComplexWComplexIn() {        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.complexWComplexIn(new test.wsdl.types.comprehensive_types.ComplexWComplex());        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test29TypeTestComplexWComplexInout() {        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.complexWComplexInout(new test.wsdl.types.comprehensive_types.ComplexWComplexHolder(new test.wsdl.types.comprehensive_types.ComplexWComplex()));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test30TypeTestComplexWComplexOut() {        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.complexWComplexOut(new test.wsdl.types.comprehensive_types.ComplexWComplexHolder());        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test31TypeTestComplexWComplexReturn() {        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.ComplexWComplex value = null;            value = binding.complexWComplexReturn();        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test32TypeTestAnyIn() {        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.anyIn(new String());        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test33TypeTestAnyInout() {        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.anyInout(new ObjectHolder(new String()));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test34TypeTestAnyOut() {        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.anyOut(new ObjectHolder());        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test35TypeTestAnyReturn() {        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 {            Object value = null;            value = binding.anyReturn();        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test36TypeTestAnimalIn() {        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.animalIn(new test.wsdl.types.comprehensive_types.Animal());        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test37TypeTestAnimalInout() {        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.animalInout(new test.wsdl.types.comprehensive_types.AnimalHolder(new test.wsdl.types.comprehensive_types.Animal()));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test38TypeTestAnimalOut() {        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.animalOut(new test.wsdl.types.comprehensive_types.AnimalHolder());        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test39TypeTestAnimalReturn() {        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.Animal value = null;            value = binding.animalReturn();        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test40TypeTestCatIn() {        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.catIn(new test.wsdl.types.comprehensive_types.Cat());        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test41TypeTestCatInout() {        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.catInout(new test.wsdl.types.comprehensive_types.CatHolder(new test.wsdl.types.comprehensive_types.Cat()));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test42TypeTestCatOut() {        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.catOut(new test.wsdl.types.comprehensive_types.CatHolder());        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test43TypeTestCatReturn() {        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.Cat value = null;            value = binding.catReturn();        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test44TypeTestMethodBoolean() {        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 {            boolean value = false;            value = binding.methodBoolean(true, new BooleanHolder(true));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }

⌨️ 快捷键说明

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