API Documentation

Soap/Client/Local.php

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.

category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
license
New BSD License  
package
Zend_Soap  
subpackage
Client  
version
$Id: Local.php 23775 2011-03-01 17:25:24Z ralph $  

\Zend_Soap_Client_Local

Zend_Soap_Client_Local

Class is intended to be used as local SOAP client which works with a provided Server object.

Could be used for development or testing purposes.

Extends from
\Zend_Soap_Client
category
Zend  
copyright
Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)  
package
Zend_Soap  
subpackage
Client  

Properties

Propertyprotected\Zend_Soap_Server  $_server= ''

Server object

Details
Type
\Zend_Soap_Server

Methods

methodpublic__call( string $name, array $arguments ) : mixed

Perform a SOAP call

Inherited from: \Zend_Soap_Client::__call()
Parameters
Name Type Description
$name string
$arguments array
Returns
Type Description
mixed
methodpublic__construct( \Zend_Soap_Server $server, string $wsdl, array $options = null ) : void

Local client constructor

Parameters
Name Type Description
$server \Zend_Soap_Server
$wsdl string
$options array
methodprotected_initSoapClientObject( ) : void

Initialize SOAP Client object

Inherited from: \Zend_Soap_Client::_initSoapClientObject()
Throws
Exception Description
\Zend_Soap_Client_Exception
methodprotected_preProcessArguments( array $arguments ) : void

Perform arguments pre-processing

Inherited from: \Zend_Soap_Client::_preProcessArguments()

My be overridden in descendant classes

Parameters
Name Type Description
$arguments array
methodprotected_preProcessResult(  $result ) : void

Perform result pre-processing

Inherited from: \Zend_Soap_Client::_preProcessResult()

My be overridden in descendant classes

Parameters
Name Type Description
$result
methodpublicaddSoapInputHeader( \SoapHeader $header, boolean $permanent = false ) : \Zend_Soap_Client

Add SOAP input header

Inherited from: \Zend_Soap_Client::addSoapInputHeader()
Parameters
Name Type Description
$header \SoapHeader
$permanent boolean
Returns
Type Description
\Zend_Soap_Client
methodpublicgetClassmap( ) : mixed

Retrieve classmap

Inherited from: \Zend_Soap_Client::getClassmap()
Returns
Type Description
mixed
methodpublicgetCompressionOptions( ) : int

Get Compression options

Inherited from: \Zend_Soap_Client::getCompressionOptions()
Returns
Type Description
int
methodpublicgetEncoding( ) : string

Get encoding

Inherited from: \Zend_Soap_Client::getEncoding()
Returns
Type Description
string
methodpublicgetEncodingMethod( ) : int

Get message encoding method

Inherited from: \Zend_Soap_Client::getEncodingMethod()
Returns
Type Description
int
methodpublicgetFunctions( ) : array

Return a list of available functions

Inherited from: \Zend_Soap_Client::getFunctions()
Returns
Type Description
array
Throws
Exception Description
\Zend_Soap_Client_Exception
methodpublicgetHttpLogin( ) : string

Retrieve HTTP Login

Inherited from: \Zend_Soap_Client::getHttpLogin()
Returns
Type Description
string
methodpublicgetHttpPassword( ) : string

Retrieve HTTP Password

Inherited from: \Zend_Soap_Client::getHttpPassword()
Returns
Type Description
string
methodpublicgetHttpsCertPassphrase( ) : string

Get HTTPS client certificate passphrase

Inherited from: \Zend_Soap_Client::getHttpsCertPassphrase()
Returns
Type Description
string
methodpublicgetHttpsCertificate( ) : string

Get HTTPS client certificate path

Inherited from: \Zend_Soap_Client::getHttpsCertificate()
Returns
Type Description
string
methodpublicgetLastMethod( ) : string

Retrieve last invoked method

Inherited from: \Zend_Soap_Client::getLastMethod()
Returns
Type Description
string
methodpublicgetLastRequest( ) : string

Retrieve request XML

Inherited from: \Zend_Soap_Client::getLastRequest()
Returns
Type Description
string
methodpublicgetLastRequestHeaders( ) : string

Retrieve request headers

Inherited from: \Zend_Soap_Client::getLastRequestHeaders()
Returns
Type Description
string
methodpublicgetLastResponse( ) : string

Get response XML

Inherited from: \Zend_Soap_Client::getLastResponse()
Returns
Type Description
string
methodpublicgetLastResponseHeaders( ) : string

Retrieve response headers (as string)

Inherited from: \Zend_Soap_Client::getLastResponseHeaders()
Returns
Type Description
string
methodpublicgetLastSoapOutputHeaderObjects( ) : array

Get last SOAP output headers

Inherited from: \Zend_Soap_Client::getLastSoapOutputHeaderObjects()
Returns
Type Description
array
methodpublicgetLocation( ) : string

Retrieve URI

Inherited from: \Zend_Soap_Client::getLocation()
Returns
Type Description
string
methodpublicgetOptions( ) : array

Return array of options suitable for using with SoapClient constructor

Inherited from: \Zend_Soap_Client::getOptions()
Returns
Type Description
array
methodpublicgetProxyHost( ) : string

Retrieve proxy host

Inherited from: \Zend_Soap_Client::getProxyHost()
Returns
Type Description
string
methodpublicgetProxyLogin( ) : string

Retrieve proxy login

Inherited from: \Zend_Soap_Client::getProxyLogin()
Returns
Type Description
string
methodpublicgetProxyPassword( ) : string

Retrieve proxy password

Inherited from: \Zend_Soap_Client::getProxyPassword()
Returns
Type Description
string
methodpublicgetProxyPort( ) : int

Retrieve proxy port

Inherited from: \Zend_Soap_Client::getProxyPort()
Returns
Type Description
int
methodpublicgetSoapClient( ) : \SoapClient
Returns
Type Description
\SoapClient
methodpublicgetSoapFeatures( ) : int

Return current SOAP Features options

Inherited from: \Zend_Soap_Client::getSoapFeatures()
Returns
Type Description
int
methodpublicgetSoapVersion( ) : int

Get SOAP version

Inherited from: \Zend_Soap_Client::getSoapVersion()
Returns
Type Description
int
methodpublicgetStreamContext( ) : resource

Get Stream Context

Inherited from: \Zend_Soap_Client::getStreamContext()
Returns
Type Description
resource
methodpublicgetStyle( ) : int

Get request style

Inherited from: \Zend_Soap_Client::getStyle()
Returns
Type Description
int
methodpublicgetTypes( ) : array

Return a list of SOAP types

Inherited from: \Zend_Soap_Client::getTypes()
Returns
Type Description
array
Throws
Exception Description
\Zend_Soap_Client_Exception
methodpublicgetUri( ) : string

Retrieve URI

Inherited from: \Zend_Soap_Client::getUri()
Returns
Type Description
string
methodpublicgetUserAgent( ) : string|null

Get current string to use in User-Agent header

Inherited from: \Zend_Soap_Client::getUserAgent()
Returns
Type Description
stringnull
methodpublicgetWsdl( ) : string

Get wsdl

Inherited from: \Zend_Soap_Client::getWsdl()
Returns
Type Description
string
methodpublicgetWsdlCache( ) : int

Get current SOAP Wsdl Caching option

Inherited from: \Zend_Soap_Client::getWsdlCache()
Returns
Type Description
int
methodpublicresetSoapInputHeaders( ) : \Zend_Soap_Client

Reset SOAP input headers

Inherited from: \Zend_Soap_Client::resetSoapInputHeaders()
Returns
Type Description
\Zend_Soap_Client
methodpublicsetClassmap( array $classmap ) : \Zend_Soap_Client

Set classmap

Inherited from: \Zend_Soap_Client::setClassmap()
Parameters
Name Type Description
$classmap array
Returns
Type Description
\Zend_Soap_Client
Throws
Exception Description
\Zend_Soap_Client_Exception for any invalid class in the class map
methodpublicsetCompressionOptions( int|null $compressionOptions ) : \Zend_Soap_Client

Set compression options

Inherited from: \Zend_Soap_Client::setCompressionOptions()
Parameters
Name Type Description
$compressionOptions int|null
Returns
Type Description
\Zend_Soap_Client
methodpublicsetCookie(  $cookieName,  $cookieValue = null ) : \Zend_Soap_Client
Parameters
Name Type Description
$cookieName
$cookieValue
Returns
Type Description
\Zend_Soap_Client
methodpublicsetEncoding( string $encoding ) : \Zend_Soap_Client

Set encoding

Inherited from: \Zend_Soap_Client::setEncoding()
Parameters
Name Type Description
$encoding string
Returns
Type Description
\Zend_Soap_Client
Throws
Exception Description
\Zend_Soap_Client_Exception with invalid encoding argument
methodpublicsetEncodingMethod( int $use ) : \Zend_Soap_Client

Set message encoding method

Inherited from: \Zend_Soap_Client::setEncodingMethod()
Parameters
Name Type Description
$use int One of the SOAP_ENCODED or SOAP_LITERAL constants
Returns
Type Description
\Zend_Soap_Client
Throws
Exception Description
\Zend_Soap_Client_Exception with invalid message encoding method argument
methodpublicsetHttpLogin( string $login ) : \Zend_Soap_Client

Set HTTP login

Inherited from: \Zend_Soap_Client::setHttpLogin()
Parameters
Name Type Description
$login string
Returns
Type Description
\Zend_Soap_Client
methodpublicsetHttpPassword( string $password ) : \Zend_Soap_Client

Set HTTP password

Inherited from: \Zend_Soap_Client::setHttpPassword()
Parameters
Name Type Description
$password string
Returns
Type Description
\Zend_Soap_Client
methodpublicsetHttpsCertPassphrase( string $passphrase ) : \Zend_Soap_Client

Set HTTPS client certificate passphrase

Inherited from: \Zend_Soap_Client::setHttpsCertPassphrase()
Parameters
Name Type Description
$passphrase string
Returns
Type Description
\Zend_Soap_Client
methodpublicsetHttpsCertificate( string $localCert ) : \Zend_Soap_Client

Set HTTPS client certificate path

Inherited from: \Zend_Soap_Client::setHttpsCertificate()
Parameters
Name Type Description
$localCert string local certificate path
Returns
Type Description
\Zend_Soap_Client
Throws
Exception Description
\Zend_Soap_Client_Exception with invalid local certificate path argument
methodpublicsetLocation( string $location ) : \Zend_Soap_Client

Set Location

Inherited from: \Zend_Soap_Client::setLocation()

URI in Web Service the target namespace

Parameters
Name Type Description
$location string
Returns
Type Description
\Zend_Soap_Client
Throws
Exception Description
\Zend_Soap_Client_Exception with invalid uri argument
methodpublicsetOptions( 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.

Parameters
Name Type Description
$options array|\Zend_Config
Returns
Type Description
\Zend_Soap_Client
Throws
Exception Description
\Zend_SoapClient_Exception
methodpublicsetProxyHost( string $proxyHost ) : \Zend_Soap_Client

Set proxy host

Inherited from: \Zend_Soap_Client::setProxyHost()
Parameters
Name Type Description
$proxyHost string
Returns
Type Description
\Zend_Soap_Client
methodpublicsetProxyLogin( string $proxyLogin ) : \Zend_Soap_Client

Set proxy login

Inherited from: \Zend_Soap_Client::setProxyLogin()
Parameters
Name Type Description
$proxyLogin string
Returns
Type Description
\Zend_Soap_Client
methodpublicsetProxyPassword(  $proxyPassword ) : \Zend_Soap_Client

Set proxy password

Inherited from: \Zend_Soap_Client::setProxyPassword()
Parameters
Name Type Description
$proxyPassword
Returns
Type Description
\Zend_Soap_Client
methodpublicsetProxyPort( int $proxyPort ) : \Zend_Soap_Client

Set proxy port

Inherited from: \Zend_Soap_Client::setProxyPort()
Parameters
Name Type Description
$proxyPort int
Returns
Type Description
\Zend_Soap_Client
methodpublicsetSoapClient( \SoapClient $soapClient ) : \Zend_Soap_Client
Parameters
Name Type Description
$soapClient \SoapClient
Returns
Type Description
\Zend_Soap_Client
methodpublicsetSoapFeatures( string|int $feature ) : \Zend_Soap_Client

Set the SOAP Feature options.

Inherited from: \Zend_Soap_Client::setSoapFeatures()
Parameters
Name Type Description
$feature string|int
Returns
Type Description
\Zend_Soap_Client
methodpublicsetSoapVersion( int $version ) : \Zend_Soap_Client

Set SOAP version

Inherited from: \Zend_Soap_Client::setSoapVersion()
Parameters
Name Type Description
$version int One of the SOAP_1_1 or SOAP_1_2 constants
Returns
Type Description
\Zend_Soap_Client
Throws
Exception Description
\Zend_Soap_Client_Exception with invalid soap version argument
methodpublicsetStreamContext(  $context ) : \Zend_Soap_Client

Set Stream Context

Inherited from: \Zend_Soap_Client::setStreamContext()
Parameters
Name Type Description
$context
Returns
Type Description
\Zend_Soap_Client
methodpublicsetStyle( int $style ) : \Zend_Soap_Client

Set request style

Inherited from: \Zend_Soap_Client::setStyle()
Parameters
Name Type Description
$style int One of the SOAP_RPC or SOAP_DOCUMENT constants
Returns
Type Description
\Zend_Soap_Client
Throws
Exception Description
\Zend_Soap_Client_Exception with invalid style argument
methodpublicsetUri( string $uri ) : \Zend_Soap_Client

Set URI

Inherited from: \Zend_Soap_Client::setUri()

URI in Web Service the target namespace

Parameters
Name Type Description
$uri string
Returns
Type Description
\Zend_Soap_Client
Throws
Exception Description
\Zend_Soap_Client_Exception with invalid uri argument
methodpublicsetUserAgent( string|null $userAgent ) : \Zend_Soap_Client

Set the string to use in User-Agent header

Inherited from: \Zend_Soap_Client::setUserAgent()
Parameters
Name Type Description
$userAgent string|null
Returns
Type Description
\Zend_Soap_Client
methodpublicsetWsdl( string $wsdl ) : \Zend_Soap_Client

Set wsdl

Inherited from: \Zend_Soap_Client::setWsdl()
Parameters
Name Type Description
$wsdl string
Returns
Type Description
\Zend_Soap_Client
methodpublicsetWsdlCache( string|int|boolean|null $caching ) : \Zend_Soap_Client

Set the SOAP Wsdl Caching Options

Inherited from: \Zend_Soap_Client::setWsdlCache()
Parameters
Name Type Description
$caching string|int|boolean|null
Returns
Type Description
\Zend_Soap_Client
methodpublicvalidateUrn( string $urn ) : true

Check for valid URN

Inherited from: \Zend_Soap_Client::validateUrn()
Parameters
Name Type Description
$urn string
Returns
Type Description
true
Throws
Exception Description
\Zend_Soap_Client_Exception on invalid URN
Documentation was generated by DocBlox 0.13.3.