Bugfix and continued implementation of soap client
This commit is contained in:
parent
a64464593a
commit
7bbec55626
6 changed files with 112 additions and 18 deletions
|
|
@ -21,24 +21,34 @@
|
|||
******************************************************************************/
|
||||
package zutil.test;
|
||||
|
||||
import java.util.logging.Level;
|
||||
|
||||
import javassist.CannotCompileException;
|
||||
import javassist.NotFoundException;
|
||||
|
||||
import javax.wsdl.WSDLException;
|
||||
|
||||
import zutil.log.CompactLogFormatter;
|
||||
import zutil.log.LogUtil;
|
||||
import zutil.net.http.soap.SOAPClientFactory;
|
||||
import zutil.net.ws.WSInterface;
|
||||
|
||||
public class SOAPClientTest {
|
||||
|
||||
public static void main(String[] args) throws InstantiationException, IllegalAccessException, CannotCompileException, NotFoundException, WSDLException{
|
||||
LogUtil.setGlobalLevel(Level.ALL);
|
||||
LogUtil.setFormatter("", new CompactLogFormatter());
|
||||
|
||||
TestClient intf = SOAPClientFactory.getClient(TestClient.class);
|
||||
System.out.println("GenClass: "+intf.getClass().getName());
|
||||
intf.m();
|
||||
intf.c();
|
||||
}
|
||||
|
||||
|
||||
public interface TestClient extends WSInterface{
|
||||
public void m();
|
||||
|
||||
public void c();
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue