eZPublish
4.7
|
The class eZSOAPServer handles SOAP server requensts. More...
Public Member Functions | |
eZSOAPServer () | |
processRequest () | |
registerFunction ($name, $params=array()) | |
registerObject ($objectName, $includeFile=null) | |
showResponse ($functionName, $namespaceURI, $value) | |
Public Attributes | |
$FunctionList | |
Contains a list over registered functions. More... | |
$RawPostData | |
Contains the RAW HTTP post data information. More... | |
Static Private Member Functions | |
stripHTTPHeader ($data) | |
The class eZSOAPServer handles SOAP server requensts.
Sample code for a SOAP server with one function, addNumbers.
eZSOAPServer::eZSOAPServer | ( | ) |
Creates a new eZSOAPServer object.
eZSOAPServer::processRequest | ( | ) |
Processes the SOAP request and prints out the propper response.
eZSOAPServer::registerFunction | ( | $name, | |
$params = array() |
|||
) |
Registers a new function on the server.
Returns false if the function could not be registered.
Referenced by registerObject().
eZSOAPServer::registerObject | ( | $objectName, | |
$includeFile = null |
|||
) |
Registers all functions of an object on the server.
Returns false if the object could not be registered.
eZSOAPServer::showResponse | ( | $functionName, | |
$namespaceURI, | |||
$value | |||
) |
Referenced by processRequest().
|
staticprivate |
Strips the header information from the HTTP raw response.
Referenced by processRequest().
eZSOAPServer::$FunctionList |
Contains a list over registered functions.
eZSOAPServer::$RawPostData |
Contains the RAW HTTP post data information.