![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||||||||
CXXIV. SOAP FunctionsIntroductionThe 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. RequirementsThis extension makes use of the GNOME xml library. Download and install this library. You will need at least libxml-2.5.4. InstallationThis extension is only available if PHP was configured with --enable-soap. Runtime ConfigurationThe behaviour of these functions is affected by settings in php.ini.
Table 1. SOAP Configuration Options
Here's a short explanation of the configuration directives.
Predefined ClassesSoapClientConstructor
Methods
SoapFaultConstructor
SoapHeaderSoapHeader is a special low-level class for passing or returning SOAP headers. It's just a data holder and it does not have any special methods except its constructor. It can be used in the SoapClient->__soapCall() method to pass a SOAP header or in a SOAP header handler to return the header in a SOAP response. Constructor
SoapParamSoapParam is a special low-level class for naming parameters and returning values in non-WSDL mode. It's just a data holder and it does not have any special methods except its constructor. Constructor
SoapServerConstructor
Methods
SoapVarSoapVar is a special low-level class for encoding parameters and returning values in non-WSDL mode. It's just a data holder and does not have any special methods except the constructor. It's useful when you want to set the type property in SOAP request or response. Constructor
Predefined ConstantsThe 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.
Copyright © 1997 - 2007 by the PHP Documentation Group. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later. A copy of the Open Publication License is distributed with this manual, the latest version is presently available at http://www.opencontent.org/openpub/. Please see full copyright text at http://www.php.net/manual/en/copyright.php Original version of the above documentation is available at http://www.php.net/manual/en/ |
|