The SoapClient class

Introduction

(PHP 5, PHP 7)

The SoapClient class provides a client for » SOAP 1.1, » SOAP 1.2 servers. It can be used in WSDL or non-WSDL mode.

Class synopsis

SoapClient {
/* Methods */
public __call ( string $function_name , array $arguments ) : mixed
public __construct ( mixed $wsdl [, array $options ] )
public __doRequest ( string $request , string $location , string $action , int $version [, int $one_way = 0 ] ) : string
public __getCookies ( ) : array
public __getFunctions ( ) : array
public __getLastRequest ( ) : string
public __getLastRequestHeaders ( ) : string
public __getLastResponse ( ) : string
public __getLastResponseHeaders ( ) : string
public __getTypes ( ) : array
public __setCookie ( string $name [, string $value ] ) : void
public __setLocation ([ string $new_location ] ) : string
public __setSoapHeaders ([ mixed $soapheaders ] ) : bool
public __soapCall ( string $function_name , array $arguments [, array $options [, mixed $input_headers [, array &$output_headers ]]] ) : mixed
public SoapClient ( mixed $wsdl [, array $options ] )
}

Table of Contents

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.soapclient.php