コード例 #1
0
ファイル: TCP.php プロジェクト: prometheus-ev/promdilps
 /**
  * Constructor.
  *
  * @param string $url  HTTP url to SOAP endpoint.
  *
  * @access public
  */
 function SOAP_Transport_TCP($url, $encoding = SOAP_DEFAULT_ENCODING)
 {
     parent::SOAP_Base_Object('TCP');
     $this->urlparts = @parse_url($url);
     $this->url = $url;
     $this->encoding = $encoding;
 }
コード例 #2
0
ファイル: Disco.php プロジェクト: jwest00724/AccountLab-Plus
 function SOAP_DISCO_Server($soap_server, $service_name, $service_desc = '', $import_ns = null)
 {
     parent::SOAP_Base_Object('Server');
     if (!is_object($soap_server) || !get_class($soap_server) == 'soap_server') {
         return;
     }
     $this->_service_name = $service_name;
     $this->_service_ns = "urn:{$service_name}";
     $this->_service_desc = $service_desc;
     $this->import_ns = isset($import_ns) ? $import_ns : $this->import_ns;
     $this->soap_server = $soap_server;
     $this->host = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : 'localhost';
 }
コード例 #3
0
ファイル: Base.php プロジェクト: rolwi/koala
 /**
  * Constructor.
  *
  * @param string $faultcode  Error code.
  */
 function SOAP_Base($faultcode = 'Client')
 {
     parent::SOAP_Base_Object($faultcode);
     $this->_resetNamespaces();
 }