Soap/Client.php
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Soap
- Subpackage
- Client
- Version
- $Id$
\Zend_Soap_Client
- Children
- \Zend_Service_DeveloperGarden_Client_Soap
- \Zend_Soap_Client_Local
- \Zend_Soap_Client_DotNet
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
array $_classmap = null
null
Details- Type
- array
array $_permanentSoapInputHeaders = array()
array()
Details- Type
- array
array $_soapInputHeaders = array()
array()
Details- Type
- array
array $_soapOutputHeaders = array()
array()
Details- Type
- array
int $_soapVersion = SOAP_1_2
SOAP_1_2
Details- Type
- int
Methods
__call(string $name, array $arguments) : mixed
Perform a SOAP call
Name | Type | Description |
---|---|---|
$name | string | |
$arguments | array |
Type | Description |
---|---|
mixed |
__construct(string $wsdl = null, array $options = null) : void
Constructor
Name | Type | Description |
---|---|---|
$wsdl | string | |
$options | array |
_initSoapClientObject() : void
Initialize SOAP Client object
Exception | Description |
---|---|
\Zend_Soap_Client_Exception |
_preProcessArguments(array $arguments) : void
Perform arguments pre-processing
Name | Type | Description |
---|---|---|
$arguments | array |
_preProcessResult( $result) : void
Perform result pre-processing
Name | Type | Description |
---|---|---|
$result |
addSoapInputHeader(\SoapHeader $header, boolean $permanent = false) : \Zend_Soap_Client
Add SOAP input header
Name | Type | Description |
---|---|---|
$header | \SoapHeader | |
$permanent | boolean |
Type | Description |
---|---|
\Zend_Soap_Client |
getFunctions() : array
Return a list of available functions
Type | Description |
---|---|
array |
Exception | Description |
---|---|
\Zend_Soap_Client_Exception |
getHttpsCertPassphrase() : string
Get HTTPS client certificate passphrase
Type | Description |
---|---|
string |
getOptions() : array
Return array of options suitable for using with SoapClient constructor
Type | Description |
---|---|
array |
getTypes() : array
Return a list of SOAP types
Type | Description |
---|---|
array |
Exception | Description |
---|---|
\Zend_Soap_Client_Exception |
getUserAgent() : string | null
Get current string to use in User-Agent header
Type | Description |
---|---|
string | null |
resetSoapInputHeaders() : \Zend_Soap_Client
Reset SOAP input headers
Type | Description |
---|---|
\Zend_Soap_Client |
setClassmap(array $classmap) : \Zend_Soap_Client
Set classmap
Name | Type | Description |
---|---|---|
$classmap | array |
Type | Description |
---|---|
\Zend_Soap_Client |
Exception | Description |
---|---|
\Zend_Soap_Client_Exception | for any invalid class in the class map |
setCompressionOptions(int | null $compressionOptions) : \Zend_Soap_Client
Set compression options
Name | Type | Description |
---|---|---|
$compressionOptions | int | null |
Type | Description |
---|---|
\Zend_Soap_Client |
setCookie( $cookieName, $cookieValue = null) : \Zend_Soap_Client
Name | Type | Description |
---|---|---|
$cookieName | ||
$cookieValue |
Type | Description |
---|---|
\Zend_Soap_Client |
setEncoding(string $encoding) : \Zend_Soap_Client
Set encoding
Name | Type | Description |
---|---|---|
$encoding | string |
Type | Description |
---|---|
\Zend_Soap_Client |
Exception | Description |
---|---|
\Zend_Soap_Client_Exception | with invalid encoding argument |
setEncodingMethod(int $use) : \Zend_Soap_Client
Set message encoding method
Name | Type | Description |
---|---|---|
$use | int | One of the SOAP_ENCODED or SOAP_LITERAL constants |
Type | Description |
---|---|
\Zend_Soap_Client |
Exception | Description |
---|---|
\Zend_Soap_Client_Exception | with invalid message encoding method argument |
setHttpLogin(string $login) : \Zend_Soap_Client
Set HTTP login
Name | Type | Description |
---|---|---|
$login | string |
Type | Description |
---|---|
\Zend_Soap_Client |
setHttpPassword(string $password) : \Zend_Soap_Client
Set HTTP password
Name | Type | Description |
---|---|---|
$password | string |
Type | Description |
---|---|
\Zend_Soap_Client |
setHttpsCertPassphrase(string $passphrase) : \Zend_Soap_Client
Set HTTPS client certificate passphrase
Name | Type | Description |
---|---|---|
$passphrase | string |
Type | Description |
---|---|
\Zend_Soap_Client |
setHttpsCertificate(string $localCert) : \Zend_Soap_Client
Set HTTPS client certificate path
Name | Type | Description |
---|---|---|
$localCert | string | local certificate path |
Type | Description |
---|---|
\Zend_Soap_Client |
Exception | Description |
---|---|
\Zend_Soap_Client_Exception | with invalid local certificate path argument |
setLocation(string $location) : \Zend_Soap_Client
Set Location
Name | Type | Description |
---|---|---|
$location | string |
Type | Description |
---|---|
\Zend_Soap_Client |
Exception | Description |
---|---|
\Zend_Soap_Client_Exception | with invalid uri argument |
setOptions(array | \Zend_Config $options) : \Zend_Soap_Client
Set Options
Name | Type | Description |
---|---|---|
$options | array | \Zend_Config |
Type | Description |
---|---|
\Zend_Soap_Client |
Exception | Description |
---|---|
\Zend_SoapClient_Exception |
setProxyHost(string $proxyHost) : \Zend_Soap_Client
Set proxy host
Name | Type | Description |
---|---|---|
$proxyHost | string |
Type | Description |
---|---|
\Zend_Soap_Client |
setProxyLogin(string $proxyLogin) : \Zend_Soap_Client
Set proxy login
Name | Type | Description |
---|---|---|
$proxyLogin | string |
Type | Description |
---|---|
\Zend_Soap_Client |
setProxyPassword( $proxyPassword) : \Zend_Soap_Client
Set proxy password
Name | Type | Description |
---|---|---|
$proxyPassword |
Type | Description |
---|---|
\Zend_Soap_Client |
setProxyPort(int $proxyPort) : \Zend_Soap_Client
Set proxy port
Name | Type | Description |
---|---|---|
$proxyPort | int |
Type | Description |
---|---|
\Zend_Soap_Client |
setSoapClient(\SoapClient $soapClient) : \Zend_Soap_Client
Name | Type | Description |
---|---|---|
$soapClient | \SoapClient |
Type | Description |
---|---|
\Zend_Soap_Client |
setSoapFeatures(string | int $feature) : \Zend_Soap_Client
Set the SOAP Feature options.
Name | Type | Description |
---|---|---|
$feature | string | int |
Type | Description |
---|---|
\Zend_Soap_Client |
setSoapVersion(int $version) : \Zend_Soap_Client
Set SOAP version
Name | Type | Description |
---|---|---|
$version | int | One of the SOAP_1_1 or SOAP_1_2 constants |
Type | Description |
---|---|
\Zend_Soap_Client |
Exception | Description |
---|---|
\Zend_Soap_Client_Exception | with invalid soap version argument |
setStreamContext( $context) : \Zend_Soap_Client
Set Stream Context
Name | Type | Description |
---|---|---|
$context |
Type | Description |
---|---|
\Zend_Soap_Client |
setStyle(int $style) : \Zend_Soap_Client
Set request style
Name | Type | Description |
---|---|---|
$style | int | One of the SOAP_RPC or SOAP_DOCUMENT constants |
Type | Description |
---|---|
\Zend_Soap_Client |
Exception | Description |
---|---|
\Zend_Soap_Client_Exception | with invalid style argument |
setUri(string $uri) : \Zend_Soap_Client
Set URI
Name | Type | Description |
---|---|---|
$uri | string |
Type | Description |
---|---|
\Zend_Soap_Client |
Exception | Description |
---|---|
\Zend_Soap_Client_Exception | with invalid uri argument |
setUserAgent(string | null $userAgent) : \Zend_Soap_Client
Set the string to use in User-Agent header
Name | Type | Description |
---|---|---|
$userAgent | string | null |
Type | Description |
---|---|
\Zend_Soap_Client |
setWsdl(string $wsdl) : \Zend_Soap_Client
Set wsdl
Name | Type | Description |
---|---|---|
$wsdl | string |
Type | Description |
---|---|
\Zend_Soap_Client |
setWsdlCache(string | int | boolean | null $caching) : \Zend_Soap_Client
Set the SOAP Wsdl Caching Options
Name | Type | Description |
---|---|---|
$caching | string | int | boolean | null |
Type | Description |
---|---|
\Zend_Soap_Client |
validateUrn(string $urn) : true
Check for valid URN
Name | Type | Description |
---|---|---|
$urn | string |
Type | Description |
---|---|
true |
Exception | Description |
---|---|
\Zend_Soap_Client_Exception | on invalid URN |