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

📄 anyserviceservicetestcase.java

📁 Java有关XML编程需要用到axis 的源代码 把里面bin下的包导入相应的Java工程 进行使用
💻 JAVA
字号:
/** * AnyServiceServiceTestCase.java * * This file was auto-generated from WSDL * by the Apache Axis WSDL2Java emitter. */package test.wsdl.anytype;public class AnyServiceServiceTestCase extends junit.framework.TestCase {    public AnyServiceServiceTestCase(java.lang.String name) {        super(name);    }    public void test1AnyServiceRun() throws Exception {        test.wsdl.anytype.AnyService binding;        try {            binding = new test.wsdl.anytype.AnyServiceServiceLocator().getAnyService();        }        catch (javax.xml.rpc.ServiceException jre) {            if(jre.getLinkedCause()!=null)                jre.getLinkedCause().printStackTrace();            throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);        }        assertTrue("binding is null", binding != null);        // Test operation        java.lang.Object value = null;        value = binding.run();        System.out.println("Got:" + value);    }}

⌨️ 快捷键说明

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