SoapServer::SoapServer (PHP5>=5.0.1,PHP7) SoapServer::SoapServer—SoapServerconstructor Description publicSoapServer
Classsynopsis SoapServer{ /*Methods*/ publicvoidaddFunction(mixed$functions) publicvoidaddSoapHeader(
SoapServer::addFunction (PHP5>=5.0.1,PHP7) SoapServer::addFunction—AddsoneormorefunctionstohandleSOAPrequests
SoapServer::addSoapHeader (PHP5>=5.0.1,PHP7) SoapServer::addSoapHeader—AddaSOAPheadertotheresponse Description
SoapServer::fault (PHP5>=5.0.1,PHP7) SoapServer::fault—IssueSoapServerfaultindicatinganerror Description
SoapServer::getFunctions (PHP5>=5.0.1,PHP7) SoapServer::getFunctions—Returnslistofdefinedfunctions Description
SoapServer::handle (PHP5>=5.0.1,PHP7) SoapServer::handle—HandlesaSOAPrequest Description publicvoidSoapServer
SoapServer::setClass (PHP5>=5.0.1,PHP7) SoapServer::setClass—SetstheclasswhichhandlesSOAPrequests Description
SoapServer::setObject (PHP5>=5.2.0,PHP7) SoapServer::setObject—SetstheobjectwhichwillbeusedtohandleSOAPrequests
SoapServer::setPersistence (PHP5>=5.1.2,PHP7) SoapServer::setPersistence—SetsSoapServerpersistencemode
SoapServer::__construct (PHP5>=5.0.1,PHP7) SoapServer::__construct—SoapServerconstructor Description
phpfunction test($x){ return new SoapFault("Server", "Some error message");}$server = new SoapServer
SoapFault::SoapFault—SoapFaultconstructor SoapFault::__toString—ObtainastringrepresentationofaSoapFault ←SoapServer
CallsaSOAPfunction SoapVar::SoapVar()-SoapVarconstructor SoapParam::SoapParam()-SoapParamconstructor SoapServer
function __construct($wsdl, $options) { parent::__construct($wsdl, $options); $this->server = new SoapServer
> ←SoapClient::__soapCall SoapServer→ ©1997–2017ThePHPDocumentationGroup LicensedundertheCreativeCommonsAttributionLicensev3.0orlater