Detailed Description

SoapServer extends nusoap server to actually process requests inside the application context.

Soap requests must include credentials in the form of a wsse:UsernameToken header as described in the WS-Security UsernameToken Profile. Passwords must be sent as plain text using the PasswordText type and therefore should be sent over a confidential channel.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 30 of file SoapServer.php.

+ Inheritance diagram for SoapServer:

Public Member Functions

 __construct ()
 
 service ($data)
 
 getResponseHeaders ()
 
 getResponsePayload ()
 
 getDummyOid ($type)
 
 doCall ($action, $params)
 

Public Attributes

const TNS = 'http://wcmf.sourceforge.net'
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Constructor.

Definition at line 42 of file SoapServer.php.

Member Function Documentation

◆ service()

service (   $data)
See also
nusoap_server::service

Definition at line 96 of file SoapServer.php.

◆ getResponseHeaders()

getResponseHeaders ( )

Get the response headers after a call to the service method.

Returns
Array

Definition at line 124 of file SoapServer.php.

◆ getResponsePayload()

getResponsePayload ( )

Get the response payload after a call to the service method.

Returns
String

Definition at line 139 of file SoapServer.php.

◆ getDummyOid()

getDummyOid (   $type)

Get a dummy object id to be used in a request.

Parameters
$typeThe entity type
Returns
ObjectId

Definition at line 148 of file SoapServer.php.

◆ doCall()

doCall (   $action,
  $params 
)

Process a soap call.

Parameters
$actionThe action
$paramsThe action parameters
Returns
The Response instance from the executed Controller

Definition at line 158 of file SoapServer.php.

Member Data Documentation

◆ TNS

const TNS = 'http://wcmf.sourceforge.net'

Definition at line 32 of file SoapServer.php.