Class Horde_RPC_PhpSoap

Description

The Horde_RPC_PhpSoap class provides a PHP 5 Soap implementation of the Horde RPC system.

$Horde: framework/RPC/RPC/PhpSoap.php,v 1.1.2.6 2009/11/06 14:35:37 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/PhpSoap.php (line 17)

Horde_RPC
   |
   --Horde_RPC_PhpSoap
Variable Summary
Method Summary
 Horde_RPC_PhpSoap __construct ([ $params = array()])
 string getResponse (string $request)
 mixed request (string $url, string $method, [array $params = null], [$options $options = array()])
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.

Inherited Variables

Inherited from Horde_RPC

Horde_RPC::$_params
Horde_RPC::$_requestMissingAuthorization
Horde_RPC::$_requireAuthorization
Methods
Constructor __construct (line 52)

SOAP server constructor

  • access: public
Horde_RPC_PhpSoap __construct ([ $params = array()])
  • $params
getResponse (line 80)

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 130)

Builds a 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.
  • access: public
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.

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:20:37 +0000 by phpDocumentor 1.4.3