⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getl1location.java

📁 电信ISAG的服务连接和服务
💻 JAVA
字号:
package test.lcsL1Test;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2006</p>
 * <p>Company: </p>
 * @author not attributable
 * @version 1.0
 */
import cn.com.chinatelecom.www.wsdl.ctcc.terminal_location.v2_1.service.*;
import cn.com.chinatelecom.www.wsdl.ctcc.terminal_location.v2_1._interface.*;
import java.net.URL;
import cn.com.chinatelecom.www.schema.ctcc.terminal_location.v2_1.*;
import org.apache.axis.types.*;
import cn.com.chinatelecom.www.schema.ctcc.common.v2_1.*;
import org.apache.axis.types.URI;

public class getL1Location {
  public getL1Location() {
  }

  public static void main(String[] args) {
    try {
      String url = "http://10.40.90.15:8080/sagWeb/services/TerminalLocation";
      String origUserAccessType = "";
      String findMeIndic = "";
      String msId = "";
      String msIdType = "";
      String queryPassWord = "";
      String posReqType = "";
      String coordSys = "";
      String datum = "";
      String llFormat = "";
      String respReq = "";
      String respTimer = "";
      String horAcc = "";
      String altAcc = "";
      String prio = "";

      sendLCS req = new sendLCS(url);
      posInfos[] res = req.sendLCS(origUserAccessType, findMeIndic,
                                   msId, msIdType, queryPassWord,
                                   posReqType, coordSys, datum,
                                   llFormat, respReq, respTimer,
                                   horAcc, altAcc, prio);

      for (int i = 0; i < res.length; i++) {
        System.out.println(i + ":");
        System.out.println("clientId:" + res[i].clientId);
        System.out.println("orId:" + res[i].orId);
        System.out.println("positionResult:" + res[i].positionResult);
        System.out.println("msId:" + res[i].msId);
        System.out.println("msId_type:" + res[i].msId_type);
        System.out.println("areaCode:" + res[i].areaCode);
        System.out.println("localTime:" + res[i].localTime);
        System.out.println("latitudeType:" + res[i].latitudeType);
        System.out.println("latitude:" + res[i].latitude);
        System.out.println("longitudeType:" + res[i].longitudeType);
        System.out.println("longitude:" + res[i].longitude);

        System.out.println("radius:" + res[i].radius);
        System.out.println("velocity:" + res[i].velocity);
        System.out.println("direction:" + res[i].direction);
        System.out.println("posour:" + res[i].posour);
      }

    }
    catch (Exception ex) {
      ex.printStackTrace();
    }

  }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -