Soap/Client/DotNet.php

Show: inherited
Table of Contents

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 [email protected] so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Soap  
Subpackage
Client  
Version
$Id: DotNet.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Soap_Client_DotNet

Package: Zend\Soap\Client

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 [email protected] or [email protected]

Parent(s)
\Zend_Soap_Client
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  

Properties

Propertyprotected$_cache_wsdl = null
inheritedInherited from: \Zend_Soap_Client::$$_cache_wsdl
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Soap_Client::$$_cache_wsdl  
Propertyprotectedarray $_classmap = null
inherited

Array of SOAP type => PHP class pairings for handling return/incoming values

Inherited from: \Zend_Soap_Client::$$_classmap
Default valuenullDetails
Type
array
Inherited_from
\Zend_Soap_Client::$$_classmap  
Propertyprotected$_compression = null
inheritedInherited from: \Zend_Soap_Client::$$_compression
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Soap_Client::$$_compression  
Propertyprotected$_connection_timeout = null
inheritedInherited from: \Zend_Soap_Client::$$_connection_timeout
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Soap_Client::$$_connection_timeout  
Propertyprotectedstring $_encoding = 'UTF-8'
inherited

Encoding

Inherited from: \Zend_Soap_Client::$$_encoding
Default value'UTF-8'Details
Type
string
Inherited_from
\Zend_Soap_Client::$$_encoding  
Propertyprotectedarray $_faultExceptions = array()
inherited

Registered fault exceptions

Inherited from: \Zend_Soap_Client::$$_faultExceptions
Default valuearray()Details
Type
array
Inherited_from
\Zend_Soap_Client::$$_faultExceptions  
Propertyprotected$_features = null
inheritedInherited from: \Zend_Soap_Client::$$_features
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Soap_Client::$$_features  
Propertyprotectedstring $_lastMethod = ''
inherited

Last invoked method

Inherited from: \Zend_Soap_Client::$$_lastMethod
Default value''Details
Type
string
Inherited_from
\Zend_Soap_Client::$$_lastMethod  
Propertyprotected$_local_cert = null
inheritedInherited from: \Zend_Soap_Client::$$_local_cert
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Soap_Client::$$_local_cert  
Propertyprotected$_location = null
inheritedInherited from: \Zend_Soap_Client::$$_location
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Soap_Client::$$_location  
Propertyprotected$_login = null
inheritedInherited from: \Zend_Soap_Client::$$_login
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Soap_Client::$$_login  
Propertyprotected$_passphrase = null
inheritedInherited from: \Zend_Soap_Client::$$_passphrase
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Soap_Client::$$_passphrase  
Propertyprotected$_password = null
inheritedInherited from: \Zend_Soap_Client::$$_password
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Soap_Client::$$_password  
Propertyprotectedarray $_permanentSoapInputHeaders = array()
inherited

Permanent SOAP request headers (shared between requests).

Inherited from: \Zend_Soap_Client::$$_permanentSoapInputHeaders

Array of SoapHeader objects

Default valuearray()Details
Type
array
Inherited_from
\Zend_Soap_Client::$$_permanentSoapInputHeaders  
Propertyprotected$_proxy_host = null
inheritedInherited from: \Zend_Soap_Client::$$_proxy_host
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Soap_Client::$$_proxy_host  
Propertyprotected$_proxy_login = null
inheritedInherited from: \Zend_Soap_Client::$$_proxy_login
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Soap_Client::$$_proxy_login  
Propertyprotected$_proxy_password = null
inheritedInherited from: \Zend_Soap_Client::$$_proxy_password
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Soap_Client::$$_proxy_password  
Propertyprotected$_proxy_port = null
inheritedInherited from: \Zend_Soap_Client::$$_proxy_port
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Soap_Client::$$_proxy_port  
Propertyprotected\SoapClient $_soapClient =
inherited

SoapClient object

Inherited from: \Zend_Soap_Client::$$_soapClient
Details
Type
\SoapClient
Inherited_from
\Zend_Soap_Client::$$_soapClient  
Propertyprotectedarray $_soapInputHeaders = array()
inherited

SOAP request headers.

Inherited from: \Zend_Soap_Client::$$_soapInputHeaders

Array of SoapHeader objects

Default valuearray()Details
Type
array
Inherited_from
\Zend_Soap_Client::$$_soapInputHeaders  
Propertyprotectedarray $_soapOutputHeaders = array()
inherited

Output SOAP headers.

Inherited from: \Zend_Soap_Client::$$_soapOutputHeaders

Array of SoapHeader objects

Default valuearray()Details
Type
array
Inherited_from
\Zend_Soap_Client::$$_soapOutputHeaders  
Propertyprotectedint $_soapVersion = SOAP_1_2
inherited

SOAP version to use; SOAP_1_2 by default, to allow processing of headers

Inherited from: \Zend_Soap_Client::$$_soapVersion
Default valueSOAP_1_2Details
Type
int
Inherited_from
\Zend_Soap_Client::$$_soapVersion  
Propertyprotected$_stream_context = null
inheritedInherited from: \Zend_Soap_Client::$$_stream_context
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Soap_Client::$$_stream_context  
Propertyprotected$_style = null
inheritedInherited from: \Zend_Soap_Client::$$_style
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Soap_Client::$$_style  
Propertyprotected$_uri = null
inherited

Set of other SoapClient options

Inherited from: \Zend_Soap_Client::$$_uri
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Soap_Client::$$_uri  
Propertyprotected$_use = null
inheritedInherited from: \Zend_Soap_Client::$$_use
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Soap_Client::$$_use  
Propertyprotected$_user_agent = null
inheritedInherited from: \Zend_Soap_Client::$$_user_agent
Default valuenullDetails
Type
n/a
Inherited_from
\Zend_Soap_Client::$$_user_agent  
Propertyprotectedstring $_wsdl = null
inherited

WSDL used to access server It also defines Zend_Soap_Client working mode (WSDL vs non-WSDL)

Inherited from: \Zend_Soap_Client::$$_wsdl
Default valuenullDetails
Type
string
Inherited_from
\Zend_Soap_Client::$$_wsdl  

Methods

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

Perform a SOAP call

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

Constructor

Parameters
Name Type Description
$wsdl string
$options array
methodprotected_initSoapClientObject() : void
inherited

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

My be overridden in descendant classes

Parameters
Name Type Description
$arguments array
Throws
Exception Description
\Zend_Soap_Client_Exception
methodprotected_preProcessResult( $result) : void

Perform result pre-processing

My be overridden in descendant classes

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

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
inherited

Retrieve classmap

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

Get Compression options

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

Get encoding

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

Get message encoding method

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

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
inherited

Retrieve HTTP Login

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

Retrieve HTTP Password

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

Get HTTPS client certificate passphrase

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

Get HTTPS client certificate path

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

Retrieve last invoked method

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

Retrieve request XML

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

Retrieve request headers

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

Get response XML

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

Retrieve response headers (as string)

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

Get last SOAP output headers

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

Retrieve URI

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

Return array of options suitable for using with SoapClient constructor

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

Retrieve proxy host

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

Retrieve proxy login

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

Retrieve proxy password

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

Retrieve proxy port

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

Inherited from: \Zend_Soap_Client::getSoapClient()
Returns
Type Description
\SoapClient
methodpublicgetSoapFeatures() : int
inherited

Return current SOAP Features options

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

Get SOAP version

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

Get Stream Context

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

Get request style

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

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
inherited

Retrieve URI

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

Get current string to use in User-Agent header

Inherited from: \Zend_Soap_Client::getUserAgent()
Returns
Type Description
string | null
methodpublicgetWsdl() : string
inherited

Get wsdl

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

Get current SOAP Wsdl Caching option

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

Reset SOAP input headers

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

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
inherited

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
inherited

Inherited from: \Zend_Soap_Client::setCookie()
Parameters
Name Type Description
$cookieName
$cookieValue
Returns
Type Description
\Zend_Soap_Client
methodpublicsetEncoding(string $encoding) : \Zend_Soap_Client
inherited

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
inherited

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
inherited

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
inherited

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
inherited

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
inherited

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
inherited

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
inherited

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
inherited

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
inherited

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
inherited

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
inherited

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
inherited

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

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
inherited

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
inherited

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
inherited

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
inherited

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
inherited

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
inherited

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
inherited

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
inherited

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 phpDocumentor 2.0.0a8.