SOAP SoapServer 클래스

(PHP 5, PHP 7, PHP 8)


소개

SoapServer 클래스는 » SOAP 1.1, » SOAP 1.2 프로토콜용 서버를 제공합니다. WSDL 서비스 설명을 포함하거나 포함하지 않고 사용할 수 있습니다.


클래스 개요

                  
class SoapServer {

  /* Properties */
  private resource $service;
  private ?SoapFault $__soap_fault = null;

  /* Methods */
  public __construct(?string $wsdl, array $options = [])
  public addFunction(array|string|int $functions): void
  public addSoapHeader(SoapHeader $header): void
  public fault(
      string $code,
      string $string,
      string $actor = "",
      mixed $details = null,
      string $name = ""
  ): void
  public getFunctions(): array
  public handle(?string $request = null): void
  public setClass(string $class, mixed ...$args): void
  public setObject(object $object): void
  public setPersistence(int $mode): void
}
                  
                

Properties

service
__soap_fault

목차