Zend Framework  1.12
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Zend_Service_DeveloperGarden_Client_Soap Class Reference

Public Member Functions

 __call ($name, $arguments)
 Perform a SOAP call but first check for adding STS Token or fetch one.
 
 setTokenService (Zend_Service_DeveloperGarden_SecurityTokenServer $tokenService)
 sets the internal handling for handle token service
 
 getTokenService ()
 returns the currently configured tokenService object
 
 setCredential (Zend_Service_DeveloperGarden_Credential $credential)
 Sets new credential callback object.
 
 getCredential ()
 returns the internal credential callback object
 
 getWsseLoginHeader ()
 creates the login header and add
 
 getWsseTokenHeader (Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse $token)
 creates the token auth header for direct calls
 
 getWsseSecurityTokenHeader (Zend_Service_DeveloperGarden_Response_SecurityTokenServer_GetTokensResponse $token)
 creates the security token auth header for direct calls
 
 addWsseLoginHeader ()
 adds the login specific header to the client
 
 addWsseTokenHeader (Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse $token)
 adds the earlier fetched token to the header
 
 addWsseSecurityTokenHeader (Zend_Service_DeveloperGarden_Response_SecurityTokenServer_GetTokensResponse $token)
 adds the earlier fetched token to the header
 
- Public Member Functions inherited from Zend_Soap_Client
 __construct ($wsdl=null, $options=null)
 Constructor.
 
 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.
 
 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 (Zend_Soap_Client_Common $client, $request, $location, $action, $version, $one_way=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.
 
 getFunctions ()
 Return a list of available functions.
 
 getTypes ()
 Get used types.
 
 setSoapClient (SoapClient $soapClient)
 
 getSoapClient ()
 
 setCookie ($cookieName, $cookieValue=null)
 

Public Attributes

const WSSE_NAMESPACE_SECEXT = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'
 
const WSSE_NAMESPACE_SAML = 'urn:oasis:names:tc:SAML:2.0:assertion'
 
const WSSE_SECURITY_ELEMENT = 'Security'
 
const WSSE_ELEMENT_USERNAMETOKEN = 'UsernameToken'
 
const WSSE_ELEMENT_USERNAME = 'Username'
 
const WSSE_ELEMENT_PASSWORD = 'Password'
 
const WSSE_ELEMENT_PASSWORD_TYPE = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText'
 Password Element WSSE Type.
 

Protected Attributes

 $_tokenService = null
 
- Protected Attributes inherited from Zend_Soap_Client
 $_encoding = 'UTF-8'
 
 $_classmap = null
 
 $_faultExceptions = array()
 
 $_soapVersion = SOAP_1_2
 
 $_uri = null
 Set of other SoapClient options.
 
 $_location = null
 
 $_style = null
 
 $_use = null
 
 $_login = null
 
 $_password = null
 
 $_proxy_host = null
 
 $_proxy_port = null
 
 $_proxy_login = null
 
 $_proxy_password = null
 
 $_local_cert = null
 
 $_passphrase = null
 
 $_compression = null
 
 $_connection_timeout = null
 
 $_stream_context = null
 
 $_features = null
 
 $_cache_wsdl = null
 
 $_user_agent = null
 
 $_wsdl = null
 
 $_soapClient
 
 $_lastMethod = ''
 
 $_soapInputHeaders = array()
 
 $_permanentSoapInputHeaders = array()
 
 $_soapOutputHeaders = array()
 

Additional Inherited Members

- Protected Member Functions inherited from Zend_Soap_Client
 _initSoapClientObject ()
 Initialize SOAP Client object.
 
 _preProcessArguments ($arguments)
 Perform arguments pre-processing.
 
 _preProcessResult ($result)
 Perform result pre-processing.
 

Member Function Documentation

__call (   $name,
  $arguments 
)

Perform a SOAP call but first check for adding STS Token or fetch one.

Parameters
string$name
array$arguments
Returns
mixed

add WSSE Security header

addWsseLoginHeader ( )

adds the login specific header to the client

Returns
Zend_Service_DeveloperGarden_Client_Soap
getCredential ( )

returns the internal credential callback object

Returns
Zend_Service_DeveloperGarden_Credential
getTokenService ( )

returns the currently configured tokenService object

Returns
Zend_Service_DeveloperGarden_SecurityTokenServer
getWsseLoginHeader ( )

creates the login header and add

Returns
SoapHeader

Security Element

Username Token Element

Username Element

Password Element

creates the security token auth header for direct calls

Parameters
Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse$token
Returns
SoapHeader

creates the token auth header for direct calls

Parameters
Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse$token
Returns
SoapHeader
setCredential ( Zend_Service_DeveloperGarden_Credential  $credential)

Sets new credential callback object.

Parameters
Zend_Service_DeveloperGarden_Credential$credential
Returns
Zend_Service_DeveloperGarden_Client_Soap
setTokenService ( Zend_Service_DeveloperGarden_SecurityTokenServer  $tokenService)

sets the internal handling for handle token service

Parameters
Zend_Service_DeveloperGarden_SecurityTokenServer$isTokenService
Returns
Zend_Service_DeveloperGarden_Client_Soap

Member Data Documentation

$_tokenService = null
protected
const WSSE_ELEMENT_PASSWORD = 'Password'
const WSSE_ELEMENT_PASSWORD_TYPE = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText'

Password Element WSSE Type.

const WSSE_ELEMENT_USERNAME = 'Username'
const WSSE_ELEMENT_USERNAMETOKEN = 'UsernameToken'
const WSSE_NAMESPACE_SAML = 'urn:oasis:names:tc:SAML:2.0:assertion'
const WSSE_NAMESPACE_SECEXT = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'
const WSSE_SECURITY_ELEMENT = 'Security'