update nusoap lib with standard nusoap 0.9.5 (http://sourceforge.net/projects/nusoap/)
This commit is contained in:
parent
6cdcd20901
commit
f1f604a0a7
@ -23,7 +23,7 @@
|
|||||||
* @version $Id$
|
* @version $Id$
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class soapclient_nusoap extends nusoap_base {
|
class nusoap_client extends nusoap_base {
|
||||||
|
|
||||||
var $username = ''; // Username for HTTP authentication
|
var $username = ''; // Username for HTTP authentication
|
||||||
var $password = ''; // Password for HTTP authentication
|
var $password = ''; // Password for HTTP authentication
|
||||||
@ -95,7 +95,7 @@ class soapclient_nusoap extends nusoap_base {
|
|||||||
* @param string $portName optional portName in WSDL document
|
* @param string $portName optional portName in WSDL document
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
function soapclient_nusoap($endpoint,$wsdl = false,$proxyhost = false,$proxyport = false,$proxyusername = false, $proxypassword = false, $timeout = 0, $response_timeout = 30, $portName = ''){
|
function nusoap_client($endpoint,$wsdl = false,$proxyhost = false,$proxyport = false,$proxyusername = false, $proxypassword = false, $timeout = 0, $response_timeout = 30, $portName = ''){
|
||||||
parent::nusoap_base();
|
parent::nusoap_base();
|
||||||
$this->endpoint = $endpoint;
|
$this->endpoint = $endpoint;
|
||||||
$this->proxyhost = $proxyhost;
|
$this->proxyhost = $proxyhost;
|
||||||
@ -793,7 +793,7 @@ class soapclient_nusoap extends nusoap_base {
|
|||||||
unset($paramCommentStr);
|
unset($paramCommentStr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$evalStr = 'class nusoap_proxy_'.$r.' extends soapclient_nusoap {
|
$evalStr = 'class nusoap_proxy_'.$r.' extends nusoap_client {
|
||||||
'.$evalStr.'
|
'.$evalStr.'
|
||||||
}';
|
}';
|
||||||
return $evalStr;
|
return $evalStr;
|
||||||
@ -985,7 +985,7 @@ if (!extension_loaded('soap')) {
|
|||||||
/**
|
/**
|
||||||
* For backwards compatiblity, define soapclient unless the PHP SOAP extension is loaded.
|
* For backwards compatiblity, define soapclient unless the PHP SOAP extension is loaded.
|
||||||
*/
|
*/
|
||||||
class soapclient extends soapclient_nusoap {
|
class soapclient extends nusoap_client {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -7180,7 +7180,7 @@ class soap_parser extends nusoap_parser {
|
|||||||
* @version $Id$
|
* @version $Id$
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class soapclient_nusoap extends nusoap_base {
|
class nusoap_client extends nusoap_base {
|
||||||
|
|
||||||
var $username = ''; // Username for HTTP authentication
|
var $username = ''; // Username for HTTP authentication
|
||||||
var $password = ''; // Password for HTTP authentication
|
var $password = ''; // Password for HTTP authentication
|
||||||
@ -7252,7 +7252,7 @@ class soapclient_nusoap extends nusoap_base {
|
|||||||
* @param string $portName optional portName in WSDL document
|
* @param string $portName optional portName in WSDL document
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
function soapclient_nusoap($endpoint,$wsdl = false,$proxyhost = false,$proxyport = false,$proxyusername = false, $proxypassword = false, $timeout = 0, $response_timeout = 30, $portName = ''){
|
function nusoap_client($endpoint,$wsdl = false,$proxyhost = false,$proxyport = false,$proxyusername = false, $proxypassword = false, $timeout = 0, $response_timeout = 30, $portName = ''){
|
||||||
parent::nusoap_base();
|
parent::nusoap_base();
|
||||||
$this->endpoint = $endpoint;
|
$this->endpoint = $endpoint;
|
||||||
$this->proxyhost = $proxyhost;
|
$this->proxyhost = $proxyhost;
|
||||||
@ -7950,7 +7950,7 @@ class soapclient_nusoap extends nusoap_base {
|
|||||||
unset($paramCommentStr);
|
unset($paramCommentStr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$evalStr = 'class nusoap_proxy_'.$r.' extends soapclient_nusoap {
|
$evalStr = 'class nusoap_proxy_'.$r.' extends nusoap_client {
|
||||||
'.$evalStr.'
|
'.$evalStr.'
|
||||||
}';
|
}';
|
||||||
return $evalStr;
|
return $evalStr;
|
||||||
@ -8142,7 +8142,7 @@ if (!extension_loaded('soap')) {
|
|||||||
/**
|
/**
|
||||||
* For backwards compatiblity, define soapclient unless the PHP SOAP extension is loaded.
|
* For backwards compatiblity, define soapclient unless the PHP SOAP extension is loaded.
|
||||||
*/
|
*/
|
||||||
class soapclient extends soapclient_nusoap {
|
class soapclient extends nusoap_client {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -51,7 +51,7 @@ require_once('Mail/mimePart.php');
|
|||||||
* @version $Id$
|
* @version $Id$
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
class nusoap_client_mime extends soapclient_nusoap {
|
class nusoap_client_mime extends nusoap_client {
|
||||||
/**
|
/**
|
||||||
* @var array Each array element in the return is an associative array with keys
|
* @var array Each array element in the return is an associative array with keys
|
||||||
* data, filename, contenttype, cid
|
* data, filename, contenttype, cid
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user