/**
  *
  * 调用直接查询用户携程UserUniqueID的接口
  */
 function main()
 {
     try {
         $requestXML = $this->getRequestXML();
         //echo $requestXML;
         $commonRequestDo = new commonRequest();
         //常用数据请求
         $commonRequestDo->requestURL = OTA_UserUniqueID_Url;
         $commonRequestDo->requestXML = $requestXML;
         $commonRequestDo->requestType = System_RequestType;
         //取config中的配置
         $commonRequestDo->doRequest();
         // $returnXML=$commonRequestDo->responseXML;
         //echo json_encode($commonRequestDo->responseXML);
         $this->ResponseXML = getXMLFromReturnString($commonRequestDo->responseXML);
     } catch (Exception $e) {
         $this->ResponseXML = null;
     }
 }
 function main()
 {
     try {
         $requestXML = $this->getRequestXML();
         //$this->requestXML=$this->getRequestXML();
         $commonRequestDo = new commonRequest();
         //常用数据请求
         $commonRequestDo->requestURL = OTA_FlightSearch_Url;
         $commonRequestDo->requestXML = $requestXML;
         $commonRequestDo->requestType = System_RequestType;
         //取config中的配置
         $commonRequestDo->doRequest();
         $this->str_responseXML = $commonRequestDo->responseXML;
         //echo $this->str_responseXML;
         //$returnXML=$commonRequestDo->responseXML;
         //print_r($commonRequestDo);die;
         // echo json_encode($returnXML);die;//校验请求数据-临时用
         //调用Common/RequestDomXml.php中函数解析返回的XML
         //			echo $returnXML;
         $this->ResponseXML = getXMLFromReturnString($this->str_responseXML);
     } catch (Exception $e) {
         $this->ResponseXML = null;
     }
 }