Service/DeveloperGarden/Client/Soap.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-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service
- Subpackage
- DeveloperGarden
- Version
- $Id$
\Zend_Service_DeveloperGarden_Client_Soap
Package: Zend_Service\DeveloperGarden
Zend_Soap_Client
- Parent(s)
- \Zend_Soap_Client
- Author
- Marco Kaiser
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Constants
string
WSSE_NAMESPACE_SECEXT
= 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'
WSSE Security Ext Namespace
- WSSE_NAMESPACE_SECEXT
- string
string
WSSE_NAMESPACE_SAML
= 'urn:oasis:names:tc:SAML:2.0:assertion'
WSSE Saml Namespace
- WSSE_NAMESPACE_SAML
- string
string
WSSE_ELEMENT_USERNAMETOKEN
= 'UsernameToken'
UsernameToken Element
- WSSE_ELEMENT_USERNAMETOKEN
- string
Properties
\Zend_Service_DeveloperGarden_Credential $_credential = null
class with credential interface
Default value
null
DetailsMethods
__call(string $name, array $arguments) : mixed
Perform a SOAP call but first check for adding STS Token or fetch one
Parameters
Returns
Name | Type | Description |
---|---|---|
$name | string | |
$arguments | array |
Type | Description |
---|---|
mixed |
addWsseLoginHeader() : \Zend_Service_DeveloperGarden_Client_Soap
adds the login specific header to the client
Returns
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Client_Soap |
addWsseSecurityTokenHeader(\Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse $token) : \Zend_Service_DeveloperGarden_Client_Soap
adds the earlier fetched token to the header
Parameters
Returns
Name | Type | Description |
---|---|---|
$token | \Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Client_Soap |
addWsseTokenHeader(\Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse $token) : \Zend_Service_DeveloperGarden_Client_Soap
adds the earlier fetched token to the header
Parameters
Returns
Name | Type | Description |
---|---|---|
$token | \Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Client_Soap |
getCredential() : \Zend_Service_DeveloperGarden_Credential
returns the internal credential callback object
Returns
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Credential |
getTokenService() : \Zend_Service_DeveloperGarden_SecurityTokenServer
returns the currently configured tokenService object
Returns
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_SecurityTokenServer |
getWsseSecurityTokenHeader(\Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse $token) : \SoapHeader
creates the security token auth header for direct calls
Parameters
Returns
Name | Type | Description |
---|---|---|
$token | \Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse |
Type | Description |
---|---|
\SoapHeader |
getWsseTokenHeader(\Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse $token) : \SoapHeader
creates the token auth header for direct calls
Parameters
Returns
Name | Type | Description |
---|---|---|
$token | \Zend_Service_DeveloperGarden_Response_SecurityTokenServer_SecurityTokenResponse |
Type | Description |
---|---|
\SoapHeader |
setCredential(\Zend_Service_DeveloperGarden_Credential $credential) : \Zend_Service_DeveloperGarden_Client_Soap
Sets new credential callback object
Parameters
Returns
Name | Type | Description |
---|---|---|
$credential | \Zend_Service_DeveloperGarden_Credential |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Client_Soap |
setTokenService( $tokenService) : \Zend_Service_DeveloperGarden_Client_Soap
sets the internal handling for handle token service
Parameters
Returns
Name | Type | Description |
---|---|---|
$tokenService |
Type | Description |
---|---|
\Zend_Service_DeveloperGarden_Client_Soap |