The SoapClient classIntroductionThe 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
/* Properties */
private
stringnull
$uri = null;
private
intnull
$style = null;
private
intnull
$use = null;
private
stringnull
$location = null;
private
bool
$trace = false;
private
intnull
$compression = null;
private
resourcenull
$sdl = null;
private
resourcenull
$typemap = null;
private
resourcenull
$httpsocket = null;
private
resourcenull
$httpurl = null;
private
stringnull
$_login = null;
private
stringnull
$_password = null;
private
bool
$_use_digest = false;
private
stringnull
$_digest = null;
private
stringnull
$_proxy_host = null;
private
intnull
$_proxy_port = null;
private
stringnull
$_proxy_login = null;
private
stringnull
$_proxy_password = null;
private
bool
$_exceptions = true;
private
stringnull
$_encoding = null;
private
arraynull
$_classmap = null;
private
intnull
$_features = null;
private
int
$_connection_timeout;
private
resourcenull
$_stream_context = null;
private
stringnull
$_user_agent = null;
private
bool
$_keep_alive = true;
private
intnull
$_ssl_method = null;
private
int
$_soap_version;
private
intnull
$_use_proxy = null;
private
array
$_cookies = [];
private
arraynull
$__default_headers = null;
private
SoapFaultnull
$__soap_fault = null;
private
stringnull
$__last_request = null;
private
stringnull
$__last_response = null;
private
stringnull
$__last_request_headers = null;
private
stringnull
$__last_response_headers = null;
/* Methods */
public __construct(stringnull
$wsdl , array $options = [])public mixed __call(string
$name , array $args )public stringnull __doRequest(
string $request ,string $location ,string $action ,int $version ,bool $oneWay = false ) public array __getCookies()
public arraynull __getFunctions()
public stringnull __getLastRequest()
public stringnull __getLastRequestHeaders()
public stringnull __getLastResponse()
public stringnull __getLastResponseHeaders()
public arraynull __getTypes()
public void __setCookie(string
$name , stringnull $value = null )public stringnull __setLocation(stringnull
$location = null )public bool __setSoapHeaders(SoapHeaderarraynull
$headers = null )public mixed __soapCall(
string $name ,array $args ,arraynull $options = null ,SoapHeaderarraynull $inputHeaders = null ,array &$outputHeaders = null ) Properties
|