Introduction
Warning |
This extension is
EXPERIMENTAL. The behaviour of this extension --
including the names of its functions and anything else documented
about this extension -- may change without notice in a future release of PHP.
Use this extension at your own risk. |
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.
Requirements
This extension makes use of the GNOME xml
library. Download and install this library. You will need at
least libxml-2.5.4.
Installation
This extension is only available if PHP was configured with
--enable-soap.
Runtime Configuration
The behaviour of these functions is affected by settings in php.ini.
Table 1. SOAP Configuration Options
Name | Default | Changeable |
---|
soap.wsdl_cache_enabled | "1" | PHP_INI_ALL |
soap.wsdl_cache_dir | "/tmp" | PHP_INI_ALL |
soap.wsdl_cache_ttl | 86400 | PHP_INI_ALL |
For further details and definition of the PHP_INI_* constants see
ini_set().
Here's a short explanation of
the configuration directives.
- soap.wsdl_cache_enabled
boolean
Enables or disables WSDL caching feature.
- soap.wsdl_cache_dir
string
Sets the directory name where SOAP extension will put cache files.
- soap.wsdl_cache_ttl
int
(time to live) Sets the number of second while cached file will be used
instead of original one.
Predefined Constants
The constants below are defined by this extension, and
will only be available when the extension has either
been compiled into PHP or dynamically loaded at runtime.