[ Index ] |
|
Code source de Mantis 1.1.0rc3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 977 lignes (33 kb) |
Inclus ou requis: | 2 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
nusoap_client:: (30 méthodes):
nusoap_client()
call()
checkWSDL()
loadWSDL()
getOperationData()
send()
parseResponse()
setCurlOption()
setEndpoint()
setHeaders()
getHeaders()
getHeader()
setHTTPProxy()
setCredentials()
setHTTPEncoding()
setUseCURL()
useHTTPPersistentConnection()
getDefaultRpcParams()
setDefaultRpcParams()
getProxy()
_getProxyClassCode()
getProxyClassCode()
getHTTPBody()
getHTTPContentType()
getHTTPContentTypeCharset()
decodeUTF8()
setCookie()
getCookies()
checkCookies()
UpdateCookies()
soapclient:: (0 méthodes):
Classe: nusoap_client - X-Ref
[nu]soapclient higher level class for easy usage.nusoap_client($endpoint,$wsdl = false,$proxyhost = false,$proxyport = false,$proxyusername = false, $proxypassword = false, $timeout = 0, $response_timeout = 30) X-Ref |
constructor param: mixed $endpoint SOAP server or WSDL URL (string), or wsdl instance (object) param: bool $wsdl optional, set to true if using WSDL param: int $portName optional portName in WSDL document param: string $proxyhost param: string $proxyport param: string $proxyusername param: string $proxypassword param: integer $timeout set the connection timeout param: integer $response_timeout set the response timeout |
call($operation,$params=array() X-Ref |
calls method, returns PHP native type param: string $operation SOAP server URL or path param: mixed $params An array, associative or simple, of the parameters param: string $namespace optional method namespace (WSDL can override) param: string $soapAction optional SOAPAction value (WSDL can override) param: mixed $headers optional string of XML with SOAP header content, or array of soapval objects for SOAP headers, or associative array param: boolean $rpcParams optional (no longer used) param: string $style optional (rpc|document) the style to use when serializing parameters (WSDL can override) param: string $use optional (encoded|literal) the use when serializing parameters (WSDL can override) return: mixed response from SOAP call |
checkWSDL() X-Ref |
check WSDL passed as an instance or pulled from an endpoint |
loadWSDL() X-Ref |
instantiate wsdl object and parse wsdl file |
getOperationData($operation) X-Ref |
get available data pertaining to an operation param: string $operation operation name return: array array of data pertaining to the operation |
send($msg, $soapaction = '', $timeout=0, $response_timeout=30) X-Ref |
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. param: string $msg a SOAPx4 soapmsg object param: string $soapaction SOAPAction value param: integer $timeout set connection timeout in seconds param: integer $response_timeout set response timeout in seconds return: mixed native PHP types. |
parseResponse($headers, $data) X-Ref |
processes SOAP message returned from server param: array $headers The HTTP headers param: string $data unprocessed response data from server return: mixed value of the message, decoded into a PHP type |
setCurlOption($option, $value) X-Ref |
sets user-specified cURL options param: mixed $option The cURL option (always integer?) param: mixed $value The cURL option value |
setEndpoint($endpoint) X-Ref |
sets the SOAP endpoint, which can override WSDL param: string $endpoint The endpoint URL to use, or empty string or false to prevent override |
setHeaders($headers) X-Ref |
set the SOAP headers param: mixed $headers String of XML with SOAP header content, or array of soapval objects for SOAP headers |
getHeaders() X-Ref |
get the SOAP response headers (namespace resolution incomplete) return: string |
getHeader() X-Ref |
get the SOAP response Header (parsed) return: mixed |
setHTTPProxy($proxyhost, $proxyport, $proxyusername = '', $proxypassword = '') X-Ref |
set proxy info here param: string $proxyhost param: string $proxyport param: string $proxyusername param: string $proxypassword |
setCredentials($username, $password, $authtype = 'basic', $certRequest = array() X-Ref |
if authenticating, set user credentials here param: string $username param: string $password param: string $authtype (basic|digest|certificate|ntlm) param: array $certRequest (keys must be cainfofile (optional), sslcertfile, sslkeyfile, passphrase, verifypeer (optional), verifyhost (optional): see corresponding options in cURL docs) |
setHTTPEncoding($enc='gzip, deflate') X-Ref |
use HTTP encoding param: string $enc HTTP encoding |
setUseCURL($use) X-Ref |
Set whether to try to use cURL connections if possible param: boolean $use Whether to try to use cURL |
useHTTPPersistentConnection() X-Ref |
use HTTP persistent connections if possible |
getDefaultRpcParams() X-Ref |
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. return: boolean |
setDefaultRpcParams($rpcParams) X-Ref |
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. param: boolean $rpcParams |
getProxy() X-Ref |
dynamically creates an instance of a proxy class, allowing user to directly call methods from wsdl return: object soap_proxy object |
_getProxyClassCode($r) X-Ref |
dynamically creates proxy class code return: string PHP/NuSOAP code for the proxy class |
getProxyClassCode() X-Ref |
Pas de description |
getHTTPBody($soapmsg) X-Ref |
gets the HTTP body for the current request. param: string $soapmsg The SOAP payload return: string The HTTP body, which includes the SOAP payload |
getHTTPContentType() X-Ref |
gets the HTTP content type for the current request. Note: getHTTPBody must be called before this. return: string the HTTP content type for the current request. |
getHTTPContentTypeCharset() X-Ref |
gets the HTTP content type charset for the current request. returns false for non-text content types. Note: getHTTPBody must be called before this. return: string the HTTP content type charset for the current request. |
decodeUTF8($bool) X-Ref |
Pas de description |
setCookie($name, $value) X-Ref |
adds a new Cookie into $this->cookies array param: string $name Cookie Name param: string $value Cookie Value return: boolean if cookie-set was successful returns true, else false |
getCookies() X-Ref |
gets all Cookies return: array with all internal cookies |
checkCookies() X-Ref |
checks all Cookies and delete those which are expired return: boolean always return true |
UpdateCookies($cookies) X-Ref |
updates the current cookies with a new set param: array $cookies new cookies with which to update current ones return: boolean always return true |
Classe: soapclient - X-Ref
For backwards compatiblity, define soapclient unless the PHP SOAP extension is loaded.Généré le : Thu Nov 29 09:42:17 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |