SOAP Functions
Introduzione
The SOAP extension can be used to write SOAP Servers and Clients. It supports subsets of » SOAP 1.1, » SOAP 1.2 and » WSDL 1.1 specifications.
Requisiti
This extension makes use of the » GNOME xml library. Download and install this library. You will need at least libxml-2.5.4.
Installazione
This extension is only available if PHP was configured with --enable-soap.
Configurazione di Runtime
Il comportamento di queste funzioni è influenzato dalle impostazioni di php.ini.
Name | Default | Changeable | Changelog |
---|---|---|---|
soap.wsdl_cache_enabled | "1" | PHP_INI_ALL | Available since PHP 5.0.0. |
soap.wsdl_cache_dir | "/tmp" | PHP_INI_ALL | Available since PHP 5.0.0. |
soap.wsdl_cache_ttl | "86400" | PHP_INI_ALL | Available since PHP 5.0.0. |
soap.wsdl_cache_limit | "5" | PHP_INI_ALL | Available since PHP 5.1.5. |
Breve descrizione dei parametri di configurazione.
- soap.wsdl_cache_enabled boolean
-
Enables or disables the WSDL caching feature.
- soap.wsdl_cache_dir string
-
Sets the directory name where the SOAP extension will put cache files.
- soap.wsdl_cache_ttl int
-
Sets the number of seconds (time to live) that cached files will be used instead the originals.
- soap.wsdl_cache_limit integer
-
Maximum number of in memory cached wsdl files
Classi predefinite
SoapClient
Costruttori
-
SoapClient->__construct() - constructs a new SoapClient object
Metodi
-
SoapClient->__call() - Calls a SOAP function (deprecated)
-
SoapClient->__doRequest() - Performs a SOAP request