Detailed Description

SOAPController handles SOAP requests.

The controller delegates action processing to a global instance of wcmf::lib::service::SoapServer.

The controller supports the following actions:

Action default
Handle action according to soap request.

The controller expects the definition of the soap interface in a file called soap-interface.php in the application directory. The definition is done by adding types and methods to the global $server instance

// add type to soap interface
$server->wsdl->addComplexType(...);
// add method to soap interface
$server->register();
See also
http://sourceforge.net/projects/nusoap/
Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 50 of file SOAPController.php.

+ Inheritance diagram for SOAPController:

Static Public Member Functions

static search ($query)
 

Protected Member Functions

 doExecute ($method=null)
 
- Protected Member Functions inherited from Controller
 validate ()
 
 executeSubAction ($action)
 
 redirect ($location, $key=null, $data=null)
 
 getLogger ()
 
 getSession ()
 
 getPersistenceFacade ()
 
 getPermissionManager ()
 
 getActionMapper ()
 
 getLocalization ()
 
 getMessage ()
 
 getConfiguration ()
 
 requireTransaction ()
 
 endTransaction ($commit)
 
 isLocalizedRequest ()
 
 checkLanguageParameter ()
 
 generateCsrfToken ($name, $refresh=true)
 
 validateCsrfToken ($name, $invalidate=true)
 
 getLocalSessionValue ($key, $default=null)
 
 setLocalSessionValue ($key, $value)
 
 clearLocalSessionValues ()
 

Additional Inherited Members

- Public Member Functions inherited from Controller
 __construct (Session $session, PersistenceFacade $persistenceFacade, PermissionManager $permissionManager, ActionMapper $actionMapper, Localization $localization, Message $message, Configuration $configuration)
 
 initialize (Request $request, Response $response)
 
 execute ($method=null)
 
 getRequest ()
 
 getResponse ()
 
- Public Attributes inherited from Controller
const CSRF_TOKEN_PARAM = 'csrf_token'
 

Member Function Documentation

◆ doExecute()

doExecute (   $method = null)
protected
See also
Controller::doExecute()

Reimplemented from Controller.

Definition at line 55 of file SOAPController.php.

◆ search()

static search (   $query)
static

Search.

Parameters
$queryThe search term
Returns
Array of SearchResultItem on success

Definition at line 85 of file SOAPController.php.

$server
Global server instance used by the generated soap interface.