The SoapClient class
(PHP 5, PHP 7, PHP 8)
簡介
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 SoapClient
{
/* 屬性 */
/* 方法 */
public __doRequest(
string
string
string
int
bool
): ?string
string
$request
,string
$location
,string
$action
,int
$version
,bool
$oneWay
= false
): ?string
public __soapCall(
string
array
?array
SoapHeader|array|null
array
): mixed
}string
$name
,array
$args
,?array
$options
= null
,SoapHeader|array|null
$inputHeaders
= null
,array
&$outputHeaders
= null
): mixed
屬性
- __default_headers
-
- __last_request
-
- __last_request_headers
-
- __last_response
-
- __last_response_headers
-
- __soap_fault
-
- _classmap
-
- _connection_timeout
-
-
- _digest
-
- _encoding
-
- _exceptions
-
- _features
-
- _keep_alive
-
- _login
-
- _password
-
- _proxy_host
-
- _proxy_login
-
- _proxy_password
-
- _proxy_port
-
- _soap_version
-
- _ssl_method
-
- _stream_context
-
- _use_digest
-
- _use_proxy
-
- _user_agent
-
- compression
-
- httpsocket
-
- httpurl
-
- location
-
- sdl
-
- style
-
- trace
-
- typemap
-
- uri
-
- use
-
目錄
- SoapClient::__call — Calls a SOAP function (deprecated)
- SoapClient::__construct — SoapClient constructor
- SoapClient::__doRequest — Performs a SOAP request
- SoapClient::__getCookies — Get list of cookies
- SoapClient::__getFunctions — Returns list of available SOAP functions
- SoapClient::__getLastRequest — Returns last SOAP request
- SoapClient::__getLastRequestHeaders — Returns the SOAP headers from the last request
- SoapClient::__getLastResponse — Returns last SOAP response
- SoapClient::__getLastResponseHeaders — Returns the SOAP headers from the last response
- SoapClient::__getTypes — Returns a list of SOAP types
- SoapClient::__setCookie — Defines a cookie for SOAP requests
- SoapClient::__setLocation — Sets the location of the Web service to use
- SoapClient::__setSoapHeaders — Sets SOAP headers for subsequent calls
- SoapClient::__soapCall — Calls a SOAP function