AXIS简单客户端

String endPoint = "http://127.0.0.1:8080/cis/services/Hinge";
String qname = "http://crea.com";
String method = "forward";
String param = "gogo";
Service server = new Service();
Call call = (Call) server.createCall();
call.setTargetEndpointAddress(new URL(endPoint));
call.setOperationName(new QName(qname, method));
String res = (String) call.invoke(new Object[] { param });
System.out.println(res);

需要axis的jar包
只适用简单的String I/O

 

语言 en>zh Google C E
http://127.0.0.1:8080/cis/services/Hinge?wsdl为的WebServices的端点

你可能感兴趣的:(C++,c,Google,C#)