The SOAP extension can be used to compile SOAP servers and clients. it supports a subset of SOAP1.1, SOAP1.2, and WSDL1.1 specifications.
I. Overview and installation
The SOAP extension can be used to write SOAP servers and clients. it supports a subset of the SOAP 1.1, SOAP 1.2, and WSDL 1.1 specifications.
This extension requires libxml PHP extension. This indicates the use of -- enable-libxml, although this is done implicitly because libxml is enabled by default.
To enable SOAP support, add -- enable-soap when configuring PHP.
II. related functions
Is_soap_fault-Checks if a SOAP call has failed
Use_soap_error_handler-Set whether to use the SOAP error handler
III. related classes and member functions
SoapClient
SoapClient: :__ call-cils a SOAP function (deprecated)
SoapClient ::__ construct-SoapClient constructor
SoapClient ::__ doRequest-Performs a SOAP request
SoapClient ::__ getFunctions-Returns list of available SOAP functions
SoapClient ::__ getLastRequest-Returns last SOAP request
SoapClient ::__ getLastRequestHeaders-Returns the SOAP headers from the last request
SoapClient ::__ getLastResponse-Returns last SOAP response
SoapClient ::__ getLastResponseHeaders-Returns the SOAP headers from the last response
SoapClient ::__ getTypes-Returns a list of SOAP types
SoapClient ::__ setCookie-The _ setCookie purpose
SoapClient ::__ setLocation-Sets the location of the Web service to use
SoapClient ::__ setSoapHeaders-Sets SOAP headers for subsequent cballs
SoapClient ::__ soapCall-cils a SOAP function
SoapClient: SoapClient-SoapClient constructor
SoapServer
SoapServer: addFunction-Adds one or more functions to handle SOAP requests
SoapServer: addSoapHeader-Add a SOAP header to the response
SoapServer ::__ construct-SoapServer constructor
SoapServer: fault-Issue SoapServer fault indicating an error
SoapServer: getFunctions-Returns list of defined functions
SoapServer: handle-Handles a SOAP request
SoapServer: setClass-Sets the class which handles SOAP requests
SoapServer: setObject-Sets the object which will be used to handle SOAP requests
SoapServer: setPersistence-Sets SoapServer persistence mode
SoapServer: SoapServer-SoapServer constructor
SoapFault
SoapFault ::__ construct-SoapFault constructor
SoapFault: SoapFault-SoapFault constructor
SoapFault ::__ toString-Obtain a string representation of a SoapFault
SoapHeader
SoapHeader ::__ construct-SoapHeader constructor
SoapHeader: SoapHeader-SoapHeader constructor
SoapParam
SoapParam ::__ construct-SoapParam constructor
SoapParam: SoapParam-SoapParam constructor
SoapVar
SoapVar ::__ construct-SoapVar constructor
SoapVar: SoapVar-SoapVar constructor