回覆列表
  • 1 # 範閒不是我

    String webservice = https://api.ums86.com:9600/sms_hb/services/Sms

    Service s = new Service();

    Call call= (Call) s.createCall();

    call.setTimeout(new Integer(5000));

    call.setOperation( "getSecurityToken" );

    call.setTargetEndpointAddress(new URL(webservice));

    call.setOperationName("webservice的方法");

    Object[] fn01 = {引數};

    try {

    String val = (String)call.invoke(fn01);

    logger.debug( "getSecurityToken(correct):" + val);

    } catch (RemoteException e) {

    logger.error(e.getMessage());

    }

  • 中秋節和大豐收的關聯?
  • 騰訊模擬器怎麼才能玩?