文档介绍:import .URL;
import ;
import ;
import ;
import ;
import ;
.;
.;
.;
import ;
public class Test {
private static final byte[] lock = new byte[0];
/**
 * ***@param args
 */
public static void main(String[] args) {
//webService0();
//webService1();
webService2();
}
public static void webService0(){
try {  
   String theEmail = "callray@";
           String nameSpace="http://intf./";
           String endpoint = "http://intf./ai/services/authservice?wsdl";
           //直接引用远程的wsdl文件
           Service service = new Service();
           Call call = (Call) ();
           (new URL(endpoint));
           (new QName(nameSpace, "getUserInfo"));
           (true);
           ("http://intf./getUserInfo");
           (new QName(nameSpace,"theEmail"), , );//接口的参数
           ();//设置返回类型 
           String  result = (String)(new Object[]{theEmail});
           //给方法传递参数,并且调用方法
           ("调用结果:"+result);
      }catch (Exception e) {