API Documentation

Service/DeveloperGarden/Client/Soap.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service
subpackage
DeveloperGarden
version
$Id: Soap.php 20166 2010-01-09 19:00:17Z bkarwin $
Classes
Zend_Service_DeveloperGarden_Client_Soap

Description

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_Service_DeveloperGarden_Client_Soap

Extends from
Zend_Soap_Client
author
Marco Kaiser
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Service
subpackage
DeveloperGarden
Constants
WSSE_NAMESPACE_SECEXT
WSSE_NAMESPACE_SAML
WSSE_SECURITY_ELEMENT
WSSE_ELEMENT_USERNAMETOKEN
WSSE_ELEMENT_USERNAME
WSSE_ELEMENT_PASSWORD
WSSE_ELEMENT_PASSWORD_TYPE
Properties
$_credential
$_tokenService
Methods
__call
setTokenService
getTokenService
setCredential
getCredential
getWsseLoginHeader
getWsseTokenHeader
getWsseSecurityTokenHeader
addWsseLoginHeader
addWsseTokenHeader
addWsseSecurityTokenHeader

Description

Constants

WSSE_NAMESPACE_SECEXT

string WSSE_NAMESPACE_SECEXT = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'

WSSE Security Ext Namespace

Details

value
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
WSSE_NAMESPACE_SECEXT
string

WSSE_NAMESPACE_SAML

string WSSE_NAMESPACE_SAML = 'urn:oasis:names:tc:SAML:2.0:assertion'

WSSE Saml Namespace

Details

value
urn:oasis:names:tc:SAML:2.0:assertion
WSSE_NAMESPACE_SAML
string

WSSE_SECURITY_ELEMENT

string WSSE_SECURITY_ELEMENT = 'Security'

Security Element

Details

value
Security
WSSE_SECURITY_ELEMENT
string

WSSE_ELEMENT_USERNAMETOKEN

string WSSE_ELEMENT_USERNAMETOKEN = 'UsernameToken'

UsernameToken Element

Details

value
UsernameToken
WSSE_ELEMENT_USERNAMETOKEN
string

WSSE_ELEMENT_USERNAME

string WSSE_ELEMENT_USERNAME = 'Username'

Usernae Element

Details

value
Username
WSSE_ELEMENT_USERNAME
string

WSSE_ELEMENT_PASSWORD

string WSSE_ELEMENT_PASSWORD = 'Password'

Password Element

Details

value
Password
WSSE_ELEMENT_PASSWORD
string

WSSE_ELEMENT_PASSWORD_TYPE

 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

Details

value
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText

Properties

$_credential

Zend_Service_DeveloperGarden_Credential $_credential = 'null'

class with credential interface

Details

$_credential
Zend_Service_DeveloperGarden_Credential
visibility
private
default
null
final
false
static
false

$_tokenService

Zend_Service_DeveloperGarden_SecurityTokenServer $_tokenService = 'null'

is this client used by the token service

Details

$_tokenService
Zend_Service_DeveloperGarden_SecurityTokenServer
visibility
protected
default
null
final
false
static
false

Methods

__call

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

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

Arguments
$name
string
$arguments
array
Output
mixed
Details
visibility
public
final
false
static
false

addWsseLoginHeader

addWsseLoginHeader( ) : Zend_Service_DeveloperGarden_Client_Soap

adds the login specific header to the client

Details
visibility
public
final
false
static
false

addWsseSecurityTokenHeader

addWsseSecurityTokenHeader( Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse $token ) : Zend_Service_DeveloperGarden_Client_Soap

adds the earlier fetched token to the header

Arguments
$token
Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse
Details
visibility
public
final
false
static
false

addWsseTokenHeader

addWsseTokenHeader( Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse $token ) : Zend_Service_DeveloperGarden_Client_Soap

adds the earlier fetched token to the header

Arguments
$token
Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse
Details
visibility
public
final
false
static
false

getCredential

getCredential( ) : Zend_Service_DeveloperGarden_Credential

returns the internal credential callback object

Details
visibility
public
final
false
static
false

getTokenService

getTokenService( ) : Zend_Service_DeveloperGarden_SecurityTokenServer

returns the currently configured tokenService object

Details
visibility
public
final
false
static
false

getWsseLoginHeader

getWsseLoginHeader( ) : SoapHeader

creates the login header and add

Output
SoapHeader
Details
visibility
public
final
false
static
false

getWsseSecurityTokenHeader

getWsseSecurityTokenHeader( Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse $token ) : SoapHeader

creates the security token auth header for direct calls

Arguments
$token
Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse
Output
SoapHeader
Details
visibility
public
final
false
static
false

getWsseTokenHeader

getWsseTokenHeader( Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse $token ) : SoapHeader

creates the token auth header for direct calls

Arguments
$token
Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse
Output
SoapHeader
Details
visibility
public
final
false
static
false

setCredential

setCredential( Zend_Service_DeveloperGarden_Credential $credential ) : Zend_Service_DeveloperGarden_Client_Soap

Sets new credential callback object

Arguments
$credential
Zend_Service_DeveloperGarden_Credential
Details
visibility
public
final
false
static
false

setTokenService

setTokenService(  $tokenService ) : Zend_Service_DeveloperGarden_Client_Soap

sets the internal handling for handle token service

Arguments
$tokenService
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.