Zend Framework
3.0
|
Public Member Functions | |
__construct ($wsdl=null, $options=null) | |
#@- | |
setWSDL ($wsdl) | |
Set wsdl. | |
getWSDL () | |
Get wsdl. | |
setOptions ($options) | |
Set Options. | |
getOptions () | |
Return array of options suitable for using with SoapClient constructor. | |
setSoapVersion ($version) | |
Set SOAP version. | |
getSoapVersion () | |
Get SOAP version. | |
setClassmap (array $classmap) | |
Set classmap. | |
getClassmap () | |
Retrieve classmap. | |
setTypemap (array $typeMap) | |
Set typemap with xml to php type mappings with appropriate validation. | |
getTypemap () | |
Retrieve typemap. | |
setEncoding ($encoding) | |
Set encoding. | |
getEncoding () | |
Get encoding. | |
validateUrn ($urn) | |
Check for valid URN. | |
setUri ($uri) | |
Set URI. | |
getUri () | |
Retrieve URI. | |
setLocation ($location) | |
Set Location. | |
getLocation () | |
Retrieve URI. | |
setStyle ($style) | |
Set request style. | |
getStyle () | |
Get request style. | |
setEncodingMethod ($use) | |
Set message encoding method. | |
getEncodingMethod () | |
Get message encoding method. | |
setHttpLogin ($login) | |
Set HTTP login. | |
getHttpLogin () | |
Retrieve HTTP Login. | |
setHttpPassword ($password) | |
Set HTTP password. | |
getHttpPassword () | |
Retrieve HTTP Password. | |
setProxyHost ($proxyHost) | |
Set proxy host. | |
getProxyHost () | |
Retrieve proxy host. | |
setProxyPort ($proxyPort) | |
Set proxy port. | |
getProxyPort () | |
Retrieve proxy port. | |
setProxyLogin ($proxyLogin) | |
Set proxy login. | |
getProxyLogin () | |
Retrieve proxy login. | |
setProxyPassword ($proxyPassword) | |
Set proxy password. | |
setHttpsCertificate ($localCert) | |
Set HTTPS client certificate path. | |
getHttpsCertificate () | |
Get HTTPS client certificate path. | |
setHttpsCertPassphrase ($passphrase) | |
Set HTTPS client certificate passphrase. | |
getHttpsCertPassphrase () | |
Get HTTPS client certificate passphrase. | |
setCompressionOptions ($compressionOptions) | |
Set compression options. | |
getCompressionOptions () | |
Get Compression options. | |
getProxyPassword () | |
Retrieve proxy password. | |
setStreamContext ($context) | |
Set Stream Context. | |
getStreamContext () | |
Get Stream Context. | |
setSoapFeatures ($feature) | |
Set the SOAP Feature options. | |
getSoapFeatures () | |
Return current SOAP Features options. | |
setWSDLCache ($caching) | |
Set the SOAP WSDL Caching Options. | |
getWSDLCache () | |
Get current SOAP WSDL Caching option. | |
setUserAgent ($userAgent) | |
Set the string to use in User-Agent header. | |
getUserAgent () | |
Get current string to use in User-Agent header. | |
getLastRequest () | |
Retrieve request XML. | |
getLastResponse () | |
Get response XML. | |
getLastRequestHeaders () | |
Retrieve request headers. | |
getLastResponseHeaders () | |
Retrieve response headers (as string) | |
getLastMethod () | |
Retrieve last invoked method. | |
_doRequest (Client\Common $client, $request, $location, $action, $version, $oneWay=null) | |
Do request proxy method. | |
addSoapInputHeader (SoapHeader $header, $permanent=false) | |
Add SOAP input header. | |
resetSoapInputHeaders () | |
Reset SOAP input headers. | |
getLastSoapOutputHeaderObjects () | |
Get last SOAP output headers. | |
__call ($name, $arguments) | |
Perform a SOAP call. | |
call ($method, $params=[]) | |
Send an RPC request to the service for a specific method. | |
getFunctions () | |
Return a list of available functions. | |
getTypes () | |
Return a list of SOAP types. | |
setSoapClient (SoapClient $soapClient) | |
Set SoapClient object. | |
getSoapClient () | |
Get SoapClient object. | |
setCookie ($cookieName, $cookieValue=null) | |
Set cookie. | |
getKeepAlive () | |
setKeepAlive ($keepAlive) | |
getSslMethod () | |
setSslMethod ($sslMethod) | |
Protected Member Functions | |
initSoapClientObject () | |
Initialize SOAP Client object. | |
_preProcessArguments ($arguments) | |
Perform arguments pre-processing. | |
_preProcessResult ($result) | |
Perform result pre-processing. | |
Protected Attributes | |
$classmap = null | |
$encoding = 'UTF-8' | |
$faultExceptions = [] | |
$lastMethod = '' | |
$permanentSoapInputHeaders = [] | |
$soapClient | |
$soapInputHeaders = [] | |
$soapOutputHeaders = [] | |
$soapVersion = SOAP_1_2 | |
$typemap = null | |
$wsdl = null | |
$keepAlive | |
$sslMethod | |
$connectionTimeout = null | |
$localCert = null | |
$location = null | |
$login = null | |
$passphrase = null | |
$password = null | |
$proxyHost = null | |
$proxyLogin = null | |
$proxyPassword = null | |
$proxyPort = null | |
$streamContext = null | |
$style = null | |
$uri = null | |
$use = null | |
$userAgent = null | |
$cacheWsdl = null | |
$compression = null | |
$features = null | |
__construct | ( | $wsdl = null , |
|
$options = null |
|||
) |
#@-
string | $wsdl | |
array | Traversable | $options |
Exception\ExtensionNotLoadedException |
__call | ( | $name, | |
$arguments | |||
) |
Perform a SOAP call.
string | $name | |
array | $arguments |
_doRequest | ( | Client\Common | $client, |
$request, | |||
$location, | |||
$action, | |||
$version, | |||
$oneWay = null |
|||
) |
Do request proxy method.
May be overridden in subclasses
Client\Common | $client | |
string | $request | |
string | $location | |
string | $action | |
int | $version | |
int | $oneWay |
|
protected |
Perform arguments pre-processing.
My be overridden in descendant classes
array | $arguments |
|
protected |
Perform result pre-processing.
My be overridden in descendant classes
array | $result |
addSoapInputHeader | ( | SoapHeader | $header, |
$permanent = false |
|||
) |
Add SOAP input header.
SoapHeader | $header | |
bool | $permanent |
call | ( | $method, | |
$params = [] |
|||
) |
Send an RPC request to the service for a specific method.
string | $method | Name of the method we want to call. |
array | $params | List of parameters for the method. |
Implements Client.
getClassmap | ( | ) |
Retrieve classmap.
getCompressionOptions | ( | ) |
Get Compression options.
getEncoding | ( | ) |
Get encoding.
getEncodingMethod | ( | ) |
Get message encoding method.
getFunctions | ( | ) |
Return a list of available functions.
Exception\UnexpectedValueException |
getHttpLogin | ( | ) |
Retrieve HTTP Login.
getHttpPassword | ( | ) |
Retrieve HTTP Password.
getHttpsCertificate | ( | ) |
Get HTTPS client certificate path.
getHttpsCertPassphrase | ( | ) |
Get HTTPS client certificate passphrase.
getKeepAlive | ( | ) |
getLastMethod | ( | ) |
Retrieve last invoked method.
getLastRequest | ( | ) |
Retrieve request XML.
getLastRequestHeaders | ( | ) |
Retrieve request headers.
getLastResponse | ( | ) |
Get response XML.
getLastResponseHeaders | ( | ) |
Retrieve response headers (as string)
getLastSoapOutputHeaderObjects | ( | ) |
Get last SOAP output headers.
getLocation | ( | ) |
Retrieve URI.
getOptions | ( | ) |
Return array of options suitable for using with SoapClient constructor.
getProxyHost | ( | ) |
Retrieve proxy host.
getProxyLogin | ( | ) |
Retrieve proxy login.
getProxyPassword | ( | ) |
Retrieve proxy password.
getProxyPort | ( | ) |
Retrieve proxy port.
getSoapClient | ( | ) |
Get SoapClient object.
getSoapFeatures | ( | ) |
Return current SOAP Features options.
getSoapVersion | ( | ) |
Get SOAP version.
getSslMethod | ( | ) |
getStreamContext | ( | ) |
Get Stream Context.
getStyle | ( | ) |
Get request style.
getTypemap | ( | ) |
Retrieve typemap.
getTypes | ( | ) |
Return a list of SOAP types.
Exception\UnexpectedValueException |
getUri | ( | ) |
Retrieve URI.
getUserAgent | ( | ) |
Get current string to use in User-Agent header.
getWSDL | ( | ) |
Get wsdl.
getWSDLCache | ( | ) |
Get current SOAP WSDL Caching option.
|
protected |
Initialize SOAP Client object.
Exception\ExceptionInterface |
resetSoapInputHeaders | ( | ) |
Reset SOAP input headers.
setClassmap | ( | array | $classmap | ) |
Set classmap.
array | $classmap |
Exception\InvalidArgumentException | for any invalid class in the class map |
setCompressionOptions | ( | $compressionOptions | ) |
Set compression options.
int | null | $compressionOptions |
setCookie | ( | $cookieName, | |
$cookieValue = null |
|||
) |
Set cookie.
string | $cookieName | |
string | $cookieValue |
setEncoding | ( | $encoding | ) |
Set encoding.
string | $encoding |
Exception\InvalidArgumentException | with invalid encoding argument |
setEncodingMethod | ( | $use | ) |
Set message encoding method.
int | $use | One of the SOAP_ENCODED or SOAP_LITERAL constants |
Exception\InvalidArgumentException | with invalid message encoding method argument |
setHttpLogin | ( | $login | ) |
Set HTTP login.
string | $login |
setHttpPassword | ( | $password | ) |
Set HTTP password.
string | $password |
setHttpsCertificate | ( | $localCert | ) |
Set HTTPS client certificate path.
string | $localCert | local certificate path |
Exception\InvalidArgumentException | with invalid local certificate path argument |
setHttpsCertPassphrase | ( | $passphrase | ) |
Set HTTPS client certificate passphrase.
string | $passphrase |
setKeepAlive | ( | $keepAlive | ) |
boolean | $keepAlive |
setLocation | ( | $location | ) |
Set Location.
URI in Web Service the target namespace
string | $location |
Exception\InvalidArgumentException | with invalid uri argument |
setOptions | ( | $options | ) |
Set Options.
Allows setting options as an associative array of option => value pairs.
array | Traversable | $options |
Exception\InvalidArgumentException |
setProxyHost | ( | $proxyHost | ) |
Set proxy host.
string | $proxyHost |
setProxyLogin | ( | $proxyLogin | ) |
Set proxy login.
string | $proxyLogin |
setProxyPassword | ( | $proxyPassword | ) |
Set proxy password.
string | $proxyPassword |
setProxyPort | ( | $proxyPort | ) |
Set proxy port.
int | $proxyPort |
setSoapClient | ( | SoapClient | $soapClient | ) |
Set SoapClient object.
SoapClient | $soapClient |
setSoapFeatures | ( | $feature | ) |
Set the SOAP Feature options.
string | int | $feature |
setSoapVersion | ( | $version | ) |
Set SOAP version.
int | $version | One of the SOAP_1_1 or SOAP_1_2 constants |
Exception\InvalidArgumentException | with invalid soap version argument |
setSslMethod | ( | $sslMethod | ) |
int | $sslMethod |
setStreamContext | ( | $context | ) |
Set Stream Context.
resource | $context |
Exception\InvalidArgumentException |
setStyle | ( | $style | ) |
Set request style.
int | $style | One of the SOAP_RPC or SOAP_DOCUMENT constants |
Exception\InvalidArgumentException | with invalid style argument |
setTypemap | ( | array | $typeMap | ) |
Set typemap with xml to php type mappings with appropriate validation.
array | $typeMap |
Exception\InvalidArgumentException |
setUri | ( | $uri | ) |
Set URI.
URI in Web Service the target namespace
string | $uri |
Exception\InvalidArgumentException | with invalid uri argument |
setUserAgent | ( | $userAgent | ) |
Set the string to use in User-Agent header.
string | null | $userAgent |
setWSDL | ( | $wsdl | ) |
Set wsdl.
string | $wsdl |
setWSDLCache | ( | $caching | ) |
Set the SOAP WSDL Caching Options.
string | int | bool | null | $caching |
validateUrn | ( | $urn | ) |
Check for valid URN.
string | $urn |
Exception\InvalidArgumentException | on invalid URN |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |