Class Horde_RPC_soap

Description

The Horde_RPC_soap class provides an SOAP implementation of the Horde RPC system.

$Horde: framework/RPC/RPC/soap.php,v 1.13.10.17 2009/01/06 15:23:32 jan Exp $

Copyright 2003-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

Located in /RPC/RPC/soap.php (line 17)

Horde_RPC
   |
   --Horde_RPC_soap
Variable Summary
Method Summary
 string getResponse (string $request)
 mixed request (string $url, string $method, [array $params = null], [$options $options = array()])
 array __dispatch (string $method)
Variables
array $_allowedMethods = array() (line 38)

List of method names to allow.

array $_allowedTypes = array() (line 31)

List of types to emit in the WSDL.

object $_server (line 24)

Resource handler for the RPC server.

string $_serviceName = null (line 45)

Name of the SOAP service to use in the WSDL.

array $__dispatch_map = array() (line 52)

Hash holding all methods' signatures.

Inherited Variables

Inherited from Horde_RPC

Horde_RPC::$_params
Horde_RPC::$_requestMissingAuthorization
Horde_RPC::$_requireAuthorization
Methods
getResponse (line 184)

Takes an RPC request and returns the result.

  • return: The XML encoded response from the server.
string getResponse (string $request)
  • string $request: The raw request string.

Redefinition of:
Horde_RPC::getResponse()
Sends an RPC request to the server and returns the result.
request (line 252)

Builds an SOAP request and sends it to the SOAP server.

This statically called method is actually the SOAP client.

  • return: The returned result from the method or a PEAR error object on failure.
mixed request (string $url, string $method, [array $params = null], [$options $options = array()])
  • string $url: The path to the SOAP server on the called host.
  • string $method: The method to call.
  • array $params: A hash containing any necessary parameters for the method call.
  • $options $options: Optional associative array of parameters which can be: user - Basic Auth username pass - Basic Auth password proxy_host - Proxy server host proxy_port - Proxy server port proxy_user - Proxy auth username proxy_pass - Proxy auth password timeout - Connection timeout in seconds. allowRedirects - Whether to follow redirects or not maxRedirects - Max number of redirects to follow namespace soapaction from - SMTP, from address transfer-encoding - SMTP, sets the Content-Transfer-Encoding header subject - SMTP, subject header headers - SMTP, array-hash of extra smtp headers

Redefinition of:
Horde_RPC::request()
Builds an RPC request and sends it to the RPC server.
_setupDispatchMap (line 82)

Fills a hash that is used by the SOAP server with the signatures of all available methods.

void _setupDispatchMap ()
__dispatch (line 122)

Returns the signature of a method.

Internally used by the SOAP server.

  • return: An array describing the method's signature.
array __dispatch (string $method)
  • string $method: A method name.

Inherited Methods

Inherited From Horde_RPC

 Horde_RPC::Horde_RPC()
 Horde_RPC::authorize()
 Horde_RPC::factory()
 Horde_RPC::getInput()
 Horde_RPC::getResponse()
 Horde_RPC::getResponseContentType()
 Horde_RPC::request()

Documentation generated on Sun, 30 Jan 2011 05:21:38 +0000 by phpDocumentor 1.4.3