Documentation TYPO3 par Ameos |
Public Member Functions | |
soapclient ($endpoint, $wsdl=false, $proxyhost=false, $proxyport=false, $proxyusername=false, $proxypassword=false, $timeout=0, $response_timeout=30) | |
call ($operation, $params=array(), $namespace='http://tempuri.org', $soapAction='', $headers=false, $rpcParams=null, $style='rpc', $use='encoded') | |
getOperationData ($operation) | |
send ($msg, $soapaction= '', $timeout=0, $response_timeout=30) | |
parseResponse ($headers, $data) | |
setEndpoint ($endpoint) | |
setHeaders ($headers) | |
getHeaders () | |
setHTTPProxy ($proxyhost, $proxyport, $proxyusername= '', $proxypassword= '') | |
setCredentials ($username, $password, $authtype= 'basic', $certRequest=array()) | |
setHTTPEncoding ($enc='gzip, deflate') | |
useHTTPPersistentConnection () | |
getDefaultRpcParams () | |
setDefaultRpcParams ($rpcParams) | |
getProxy () | |
_getProxyClassCode ($r) | |
getProxyClassCode () | |
getHTTPBody ($soapmsg) | |
getHTTPContentType () | |
getHTTPContentTypeCharset () | |
decodeUTF8 ($bool) | |
setCookie ($name, $value) | |
getCookies () | |
checkCookies () | |
UpdateCookies ($cookies) | |
Public Attributes | |
$username = '' | |
$password = '' | |
$authtype = '' | |
$certRequest = array() | |
$requestHeaders = false | |
$responseHeaders = '' | |
$document = '' | |
$endpoint | |
$forceEndpoint = '' | |
$proxyhost = '' | |
$proxyport = '' | |
$proxyusername = '' | |
$proxypassword = '' | |
$xml_encoding = '' | |
$http_encoding = false | |
$timeout = 0 | |
$response_timeout = 30 | |
$endpointType = '' | |
$persistentConnection = false | |
$defaultRpcParams = false | |
$request = '' | |
$response = '' | |
$responseData = '' | |
$cookies = array() | |
$decode_utf8 = true | |
$operations = array() | |
$fault | |
$faultcode | |
$faultstring | |
$faultdetail |
usage:
// instantiate client with server info $soapclient = new soapclient( string path [ ,boolean wsdl] );
// call method, get results echo $soapclient->call( string methodname [ ,array parameters] );
// bye bye client unset($soapclient);
Definition at line 5348 of file class.nusoap.php.
|
constructor
Definition at line 5415 of file class.nusoap.php. References $endpoint, $proxyhost, $proxypassword, $proxyport, $proxyusername, $response_timeout, $timeout, nusoap_base::appendDebug(), nusoap_base::debug(), and nusoap_base::setError(). |
|
dynamically creates proxy class code
Definition at line 5958 of file class.nusoap.php. |
|
calls method, returns PHP native type
Definition at line 5483 of file class.nusoap.php. |
|
checks all Cookies and delete those which are expired
Definition at line 6091 of file class.nusoap.php. |
|
gets all Cookies
Definition at line 6081 of file class.nusoap.php. |
|
gets the default RPC parameter setting. If true, default is that call params are like RPC even for document style. Each call() can override this value. This is no longer used.
Definition at line 5893 of file class.nusoap.php. |
|
get the SOAP response headers (namespace resolution incomplete)
Definition at line 5827 of file class.nusoap.php. |
|
gets the HTTP body for the current request.
Definition at line 6019 of file class.nusoap.php. |
|
gets the HTTP content type for the current request. Note: getHTTPBody must be called before this.
Definition at line 6031 of file class.nusoap.php. |
|
gets the HTTP content type charset for the current request. returns false for non-text content types. Note: getHTTPBody must be called before this.
Definition at line 6044 of file class.nusoap.php. |
|
get available data pertaining to an operation
Definition at line 5659 of file class.nusoap.php. |
|
dynamically creates an instance of a proxy class, allowing user to directly call methods from wsdl
Definition at line 5919 of file class.nusoap.php. |
|
dynamically creates proxy class code
Definition at line 6007 of file class.nusoap.php. |
|
processes SOAP message returned from server
Definition at line 5759 of file class.nusoap.php. |
|
send the SOAP message Note: if the operation has multiple return values the return value of this method will be an array of those values.
Definition at line 5680 of file class.nusoap.php. |
|
adds a new Cookie into $this->cookies array
Definition at line 6067 of file class.nusoap.php. |
|
if authenticating, set user credentials here
Definition at line 5856 of file class.nusoap.php. |
|
sets the default RPC parameter setting. If true, default is that call params are like RPC even for document style Each call() can override this value. This is no longer used.
Definition at line 5908 of file class.nusoap.php. |
|
sets the SOAP endpoint, which can override WSDL
Definition at line 5807 of file class.nusoap.php. |
|
set the SOAP headers
Definition at line 5817 of file class.nusoap.php. |
|
use HTTP encoding
Definition at line 5869 of file class.nusoap.php. |
|
set proxy info here
Definition at line 5840 of file class.nusoap.php. |
|
updates the current cookies with a new set
Definition at line 6124 of file class.nusoap.php. |
|
use HTTP persistent connections if possible public Definition at line 5878 of file class.nusoap.php. |