Php/docs/class.soapclient
(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.
类摘要
SoapClient {
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
- 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 — The __setCookie purpose
- 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
- SoapClient::SoapClient — SoapClient constructor
/* 方法 */