Overview

Packages

  • None
  • Rpc

Classes

  • Horde_Rpc
  • Horde_Rpc_ActiveSync
  • Horde_Rpc_Exception
  • Horde_Rpc_Phpgw
  • Horde_Rpc_Soap
  • Horde_Rpc_Syncml
  • Horde_Rpc_Syncml_Wbxml
  • Horde_Rpc_Translation
  • Horde_Rpc_Webdav
  • Horde_Rpc_Webdav2
  • Horde_Rpc_Xmlrpc
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Rpc_Soap

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

Copyright 2003-2012 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.

Horde_Rpc
Extended by Horde_Rpc_Soap
Package: Rpc
Author: Chuck Hagenbuch chuck@horde.org
Located at Horde/Rpc/Soap.php
Methods summary
public Horde_Rpc
# __construct( Horde_Controller_Request_Http $request, array $params = array() )

SOAP server constructor

SOAP server constructor

Parameters

$request
request object
$params
<p>A hash containing any additional configuration or connection parameters a subclass might need.</p>

Returns

Horde_Rpc
An RPC server instance.

Overrides

Horde_Rpc::__construct()
public string
# getResponse( string $request )

Takes a SOAP request and returns the result.

Takes a SOAP request and returns the result.

Parameters

$request
raw request string.

Returns

string
The XML encoded response from the server.

Overrides

Horde_Rpc::getResponse()
public static mixed
# request( string|Horde_Url $url, string $method, array $params, mixed $soap )

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

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

This statically called method is actually the SOAP client.

Parameters

$url
<p>The path to the SOAP server on the called host.</p>
$method
The method to call.
$params
<p>A hash containing any necessary parameters for the method call.</p>
$soap
<p>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</p>

Returns

mixed
The returned result from the method

Throws

Horde_Rpc_Exception

Overrides

Horde_Rpc::request()
Methods inherited from Horde_Rpc
authorize(), factory(), getInput(), getResponseContentType(), sendOutput()
Properties summary
public object $_server

Resource handler for the SOAP server.

Resource handler for the SOAP server.

#
public array $_allowedTypes

List of types to emit in the WSDL.

List of types to emit in the WSDL.

# array()
public array $_allowedMethods

List of method names to allow.

List of method names to allow.

# array()
public string $_serviceName

Name of the SOAP service to use in the WSDL.

Name of the SOAP service to use in the WSDL.

# null
Properties inherited from Horde_Rpc
$_params, $_requestMissingAuthorization, $_requireAuthorization
API documentation generated by ApiGen