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

📄 dynamicproxytestcase.java

📁 Java有关XML编程需要用到axis 的源代码 把里面bin下的包导入相应的Java工程 进行使用
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
    public void test45TypeTestMethodByte() {        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 {            byte value = -3;            value = binding.methodByte((byte)0, new ByteHolder((byte)0));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test46TypeTestMethodShort() {        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 {            short value = -3;            value = binding.methodShort((short)0, new ShortHolder((short)0));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test47TypeTestMethodInt() {        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 = -3;            value = binding.methodInt(0, new IntHolder(0));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test48TypeTestMethodLong() {        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 {            long value = -3;            value = binding.methodLong(0, new LongHolder(0));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test49TypeTestMethodFloat() {        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 {            float value = -3;            value = binding.methodFloat(0, new FloatHolder(0));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test50TypeTestMethodDouble() {        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 {            double value = -3;            value = binding.methodDouble(0, new DoubleHolder(0));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test51TypeTestMethodString() {        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.methodString(new String(), new StringHolder(new String()));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test52TypeTestMethodInteger() {        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 {            java.math.BigInteger value = null;            value = binding.methodInteger(new java.math.BigInteger("0"), new BigIntegerHolder(new java.math.BigInteger("0")));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test53TypeTestMethodDecimal() {        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 {            java.math.BigDecimal value = null;            value = binding.methodDecimal(new java.math.BigDecimal(0), new BigDecimalHolder(new java.math.BigDecimal(0)));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test54TypeTestMethodDateTime() {        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 {            java.util.Calendar value = null;            value = binding.methodDateTime(java.util.Calendar.getInstance(), new CalendarHolder(java.util.Calendar.getInstance()));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test55TypeTestMethodQName() {        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 {            javax.xml.namespace.QName value = null;            value = binding.methodQName(new javax.xml.namespace.QName("http://double-double", "toil-and-trouble"), new QNameHolder(new javax.xml.namespace.QName("http://double-double", "toil-and-trouble")));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test56TypeTestMethodSoapString() {        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.methodSoapString(new String(), new StringHolder(new String()));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test57TypeTestMethodSoapBoolean() {        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 = null;            value = binding.methodSoapBoolean(new Boolean(false), new BooleanWrapperHolder(new Boolean(false)));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test58TypeTestMethodSoapFloat() {        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 {            Float value = null;            value = binding.methodSoapFloat(new Float(0), new FloatWrapperHolder(new Float(0)));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test59TypeTestMethodSoapDouble() {        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 {            Double value = null;            value = binding.methodSoapDouble(new Double(0), new DoubleWrapperHolder(new Double(0)));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test60TypeTestMethodSoapDecimal() {        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 {            java.math.BigDecimal value = null;            value = binding.methodSoapDecimal(new java.math.BigDecimal(0), new BigDecimalHolder(new java.math.BigDecimal(0)));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test61TypeTestMethodSoapInt() {        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 {            Integer value = null;            value = binding.methodSoapInt(new Integer(0), new IntegerWrapperHolder(new Integer(0)));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }    public void test62TypeTestMethodSoapShort() {        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 {            Short value = null;            value = binding.methodSoapShort(new Short((short)0), new ShortWrapperHolder(new Short((short)0)));        }        catch (java.rmi.RemoteException re) {            throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);        }    }*/}

⌨️ 快捷键说明

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