The SoapServer class

(PHP 5, PHP 7, PHP 8)

Introduction

The SoapServer class provides a server for the » SOAP 1.1 and » SOAP 1.2 protocols. It can be used with or without a WSDL service description.

Class synopsis

classSoapServer {
private?SoapFault$__soap_fault = null;
public__construct(?string$wsdl, array$options = [])
publicaddFunction(array|string|int$functions): void
publicfault(
    string$code,
    string$string,
    string$actor = "",
    mixed$details = null,
    string$name = ""
): void
publichandle(?string$request = null): void
publicsetClass(string$class, mixed...$args): void
publicsetObject(object$object): void
publicsetPersistence(int$mode): void
}

Properties

service

__soap_fault

Table of Contents

To Top