📄 mutinodebookserviceservicetestcase.java
字号:
/**
* MutiNodeBookServiceServiceTestCase.java
*
* This file was auto-generated from WSDL
* by the Apache Axis WSDL2Java emitter.
*/
package com.liuyang.axis.server.MutiNodeBook;
public class MutiNodeBookServiceServiceTestCase extends junit.framework.TestCase {
public MutiNodeBookServiceServiceTestCase(java.lang.String name) {
super(name);
}
public void test1MutiNodeBookServiceEchoNodeBook() throws Exception {
com.liuyang.axis.server.MutiNodeBook.MutiNodeBookServiceSoapBindingStub binding;
try {
binding = (com.liuyang.axis.server.MutiNodeBook.MutiNodeBookServiceSoapBindingStub)
new com.liuyang.axis.server.MutiNodeBook.MutiNodeBookServiceServiceLocator().getMutiNodeBookService();
}
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
NodeBook_pkg.NodeBook[] value = null;
value = binding.echoNodeBook(new NodeBook_pkg.NodeBook[0]);
// TBD - validate results
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -