The SoapServer class

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

SoapServer
/* Properties */
private SoapFaultnull $__soap_fault = null;
/* Methods */
public __construct(stringnull $wsdl, array $options = [])
public void addFunction(arraystringint $functions)
public void addSoapHeader(SoapHeader $header)
public void fault(
    string $code,
    string $string,
    string $actor = "",
    mixed $details = null,
    string $name = ""
)
public array getFunctions()
public stringnull __getLastResponse()
public void handle(stringnull $request = null)
public void setClass(string $class, mixed ...$args)
public void setObject(object $object)
public void setPersistence(int $mode)

Properties

service

__soap_fault

Table of Contents