CXXXIX. SOAP FunctionsВведение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. ТребованияThis extension makes use of the GNOME xml library. Download and install this library. You will need at least libxml-2.5.4. УстановкаThis extension is only available if PHP was configured with --enable-soap. Настройка во время выполненияПоведение этих функций зависит от установок в php.ini.
Таблица 1. SOAP Configuration Options
Краткое разъяснение конфигурационных директив.
Предопределенные классыSoapClientКонструктор
Методы
SoapFaultКонструктор
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. Конструктор
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. Конструктор
SoapServerКонструктор
Методы
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. Конструктор
Предопределенные константыПеречисленные ниже константы определены данным расширением и могут быть доступны только в том случае, если PHP был собран с поддержкой этого расширения или же в том случае, если данное расширение подгружается во время выполнения.
| ||||||||||||||||||
|