Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Zend_Soap_Client_Local
Class is intended to be used with .Net Web Services.
Important! Class is at experimental stage now. Please leave your notes, compatiblity issues reports or suggestions in fw-webservices@lists.zend.com or fw-general@lists.com

__call(
string $name, array $arguments
)
:
mixed
Perform a SOAP call
Inherited from: \Zend_Soap_Client::__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
Inherited from: \Zend_Soap_Client::_initSoapClientObject()Exception | Description |
---|---|
\Zend_Soap_Client_Exception |

_preProcessArguments(
array $arguments
)
:
void
Perform arguments pre-processing
My be overridden in descendant classes
Name | Type | Description |
---|---|---|
$arguments | array |
Exception | Description |
---|---|
\Zend_Soap_Client_Exception |

_preProcessResult(
$result
)
:
void
Perform result pre-processing
My be overridden in descendant classes
Name | Type | Description |
---|---|---|
$result |

addSoapInputHeader(
\SoapHeader $header, boolean $permanent
=
false
)
:
\Zend_Soap_Client
Add SOAP input header
Inherited from: \Zend_Soap_Client::addSoapInputHeader()Name | Type | Description |
---|---|---|
$header | \SoapHeader | |
$permanent | boolean |
Type | Description |
---|---|
\Zend_Soap_Client |

getClassmap(
)
:
mixed
Retrieve classmap
Inherited from: \Zend_Soap_Client::getClassmap()Type | Description |
---|---|
mixed |

getCompressionOptions(
)
:
int
Get Compression options
Inherited from: \Zend_Soap_Client::getCompressionOptions()Type | Description |
---|---|
int |

getEncoding(
)
:
string
Get encoding
Inherited from: \Zend_Soap_Client::getEncoding()Type | Description |
---|---|
string |

getEncodingMethod(
)
:
int
Get message encoding method
Inherited from: \Zend_Soap_Client::getEncodingMethod()Type | Description |
---|---|
int |

getFunctions(
)
:
array
Return a list of available functions
Inherited from: \Zend_Soap_Client::getFunctions()
getHttpLogin(
)
:
string
Retrieve HTTP Login
Inherited from: \Zend_Soap_Client::getHttpLogin()Type | Description |
---|---|
string |

getHttpPassword(
)
:
string
Retrieve HTTP Password
Inherited from: \Zend_Soap_Client::getHttpPassword()Type | Description |
---|---|
string |

getHttpsCertPassphrase(
)
:
string
Get HTTPS client certificate passphrase
Inherited from: \Zend_Soap_Client::getHttpsCertPassphrase()Type | Description |
---|---|
string |

getHttpsCertificate(
)
:
string
Get HTTPS client certificate path
Inherited from: \Zend_Soap_Client::getHttpsCertificate()Type | Description |
---|---|
string |

getLastMethod(
)
:
string
Retrieve last invoked method
Inherited from: \Zend_Soap_Client::getLastMethod()Type | Description |
---|---|
string |

getLastRequest(
)
:
string
Retrieve request XML
Inherited from: \Zend_Soap_Client::getLastRequest()Type | Description |
---|---|
string |

getLastRequestHeaders(
)
:
string
Retrieve request headers
Inherited from: \Zend_Soap_Client::getLastRequestHeaders()Type | Description |
---|---|
string |

getLastResponse(
)
:
string
Get response XML
Inherited from: \Zend_Soap_Client::getLastResponse()Type | Description |
---|---|
string |

getLastResponseHeaders(
)
:
string
Retrieve response headers (as string)
Inherited from: \Zend_Soap_Client::getLastResponseHeaders()Type | Description |
---|---|
string |

getLastSoapOutputHeaderObjects(
)
:
array
Get last SOAP output headers
Inherited from: \Zend_Soap_Client::getLastSoapOutputHeaderObjects()Type | Description |
---|---|
array |

getLocation(
)
:
string
Retrieve URI
Inherited from: \Zend_Soap_Client::getLocation()Type | Description |
---|---|
string |

getOptions(
)
:
array
Return array of options suitable for using with SoapClient constructor
Inherited from: \Zend_Soap_Client::getOptions()Type | Description |
---|---|
array |

getProxyHost(
)
:
string
Retrieve proxy host
Inherited from: \Zend_Soap_Client::getProxyHost()Type | Description |
---|---|
string |

getProxyLogin(
)
:
string
Retrieve proxy login
Inherited from: \Zend_Soap_Client::getProxyLogin()Type | Description |
---|---|
string |

getProxyPassword(
)
:
string
Retrieve proxy password
Inherited from: \Zend_Soap_Client::getProxyPassword()Type | Description |
---|---|
string |

getProxyPort(
)
:
int
Retrieve proxy port
Inherited from: \Zend_Soap_Client::getProxyPort()Type | Description |
---|---|
int |

getSoapClient(
)
:
\SoapClient
Type | Description |
---|---|
\SoapClient |

getSoapFeatures(
)
:
int
Return current SOAP Features options
Inherited from: \Zend_Soap_Client::getSoapFeatures()Type | Description |
---|---|
int |

getSoapVersion(
)
:
int
Get SOAP version
Inherited from: \Zend_Soap_Client::getSoapVersion()Type | Description |
---|---|
int |

getStreamContext(
)
:
resource
Get Stream Context
Inherited from: \Zend_Soap_Client::getStreamContext()Type | Description |
---|---|
resource |

getStyle(
)
:
int
Get request style
Inherited from: \Zend_Soap_Client::getStyle()Type | Description |
---|---|
int |

getUri(
)
:
string
Retrieve URI
Inherited from: \Zend_Soap_Client::getUri()Type | Description |
---|---|
string |

getUserAgent(
)
:
string|null
Get current string to use in User-Agent header
Inherited from: \Zend_Soap_Client::getUserAgent()Type | Description |
---|---|
stringnull |

getWsdl(
)
:
string
Get wsdl
Inherited from: \Zend_Soap_Client::getWsdl()Type | Description |
---|---|
string |

getWsdlCache(
)
:
int
Get current SOAP Wsdl Caching option
Inherited from: \Zend_Soap_Client::getWsdlCache()Type | Description |
---|---|
int |

resetSoapInputHeaders(
)
:
\Zend_Soap_Client
Reset SOAP input headers
Inherited from: \Zend_Soap_Client::resetSoapInputHeaders()Type | Description |
---|---|
\Zend_Soap_Client |

setClassmap(
array $classmap
)
:
\Zend_Soap_Client
Set classmap
Inherited from: \Zend_Soap_Client::setClassmap()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
Inherited from: \Zend_Soap_Client::setCompressionOptions()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
Inherited from: \Zend_Soap_Client::setEncoding()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
Inherited from: \Zend_Soap_Client::setEncodingMethod()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
Inherited from: \Zend_Soap_Client::setHttpLogin()
setHttpPassword(
string $password
)
:
\Zend_Soap_Client
Set HTTP password
Inherited from: \Zend_Soap_Client::setHttpPassword()
setHttpsCertPassphrase(
string $passphrase
)
:
\Zend_Soap_Client
Set HTTPS client certificate passphrase
Inherited from: \Zend_Soap_Client::setHttpsCertPassphrase()
setHttpsCertificate(
string $localCert
)
:
\Zend_Soap_Client
Set HTTPS client certificate path
Inherited from: \Zend_Soap_Client::setHttpsCertificate()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
Inherited from: \Zend_Soap_Client::setLocation()URI in Web Service the target namespace
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
Inherited from: \Zend_Soap_Client::setOptions()Allows setting options as an associative array of option => value pairs.
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
Inherited from: \Zend_Soap_Client::setProxyHost()
setProxyLogin(
string $proxyLogin
)
:
\Zend_Soap_Client
Set proxy login
Inherited from: \Zend_Soap_Client::setProxyLogin()
setProxyPassword(
$proxyPassword
)
:
\Zend_Soap_Client
Set proxy password
Inherited from: \Zend_Soap_Client::setProxyPassword()
setProxyPort(
int $proxyPort
)
:
\Zend_Soap_Client
Set proxy port
Inherited from: \Zend_Soap_Client::setProxyPort()
setSoapClient(
\SoapClient $soapClient
)
:
\Zend_Soap_Client

setSoapFeatures(
string|int $feature
)
:
\Zend_Soap_Client
Set the SOAP Feature options.
Inherited from: \Zend_Soap_Client::setSoapFeatures()
setSoapVersion(
int $version
)
:
\Zend_Soap_Client
Set SOAP version
Inherited from: \Zend_Soap_Client::setSoapVersion()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
Inherited from: \Zend_Soap_Client::setStreamContext()
setStyle(
int $style
)
:
\Zend_Soap_Client
Set request style
Inherited from: \Zend_Soap_Client::setStyle()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
Inherited from: \Zend_Soap_Client::setUri()URI in Web Service the target namespace
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
Inherited from: \Zend_Soap_Client::setUserAgent()
setWsdlCache(
string|int|boolean|null $caching
)
:
\Zend_Soap_Client
Set the SOAP Wsdl Caching Options
Inherited from: \Zend_Soap_Client::setWsdlCache()Name | Type | Description |
---|---|---|
$caching | string|int|boolean|null |
Type | Description |
---|---|
\Zend_Soap_Client |

validateUrn(
string $urn
)
:
true
Check for valid URN
Inherited from: \Zend_Soap_Client::validateUrn()Name | Type | Description |
---|---|---|
$urn | string |
Type | Description |
---|---|
true |
Exception | Description |
---|---|
\Zend_Soap_Client_Exception | on invalid URN |