PHP Class Horde_Rpc_Soap, horde

Copyright 2003-2014 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Chuck Hagenbuch ([email protected])
Inheritance: extends Horde_Rpc
Mostra file Open project: horde/horde Class Usage Examples

Public Properties

Property Type Description
$_allowedMethods array List of method names to allow.
$_allowedTypes array List of types to emit in the WSDL.
$_server object Resource handler for the SOAP server.
$_serviceName string Name of the SOAP service to use in the WSDL.

Public Methods

Method Description
__construct ( $request, $params = [] ) SOAP server constructor
getResponse ( $request ) : string Takes a SOAP request and returns the result.
request ( string | Horde_Url $url, string $method, array $params, SoapClient $soap ) : mixed Builds a SOAP request and sends it to the SOAP server.

Method Details

__construct() public method

SOAP server constructor
public __construct ( $request, $params = [] )

getResponse() public method

Takes a SOAP request and returns the result.
public getResponse ( $request ) : string
return string The XML encoded response from the server.

request() public static method

This statically called method is actually the SOAP client.
public static request ( string | Horde_Url $url, string $method, array $params, SoapClient $soap ) : mixed
$url string | Horde_Url Ignored.
$method string The method to call.
$params array A hash containing any necessary parameters for the method call.
$soap SoapClient A configured SoapClient object.
return mixed The returned result from the method

Property Details

$_allowedMethods public_oe property

List of method names to allow.
public array $_allowedMethods
return array

$_allowedTypes public_oe property

List of types to emit in the WSDL.
public array $_allowedTypes
return array

$_server public_oe property

Resource handler for the SOAP server.
public object $_server
return object

$_serviceName public_oe property

Name of the SOAP service to use in the WSDL.
public string $_serviceName
return string