Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members  

SoapServer Class Reference

#include <SoapServer.h>

Inheritance diagram for SoapServer:

UserPlugin Plugin List of all members.

Public Methods

 SoapServer (const Config &cfg)
void shutdown ()
bool init ()
CoreError run ()

Detailed Description

The SoapServer is the UserPlugin for strongroomt that accepts SOAP messages It is a multithreaded multiconnection pooling server

ISSUES

SOAP

At the time of this writing SOAP is a mess. That does not mean that the gSoap library is a mess, but that the standard is a mess. Did I say mess? I meant about the mess you can imagine to find after all the pigs and students in the Netherlands have a whole nights party at a brewery of your choice. This means that not all Soap that you throw at this module will work. In fact, gSoap is very picky about what soap it allows. If anything does not work, please try to find out if your client didn't cut some corners on the serialisation|namespace|parameter naming|DIME|typing business

Also, gSoap takes its serialisation very serious. Therefor, if an error occurs at any time in the program, we at all times try to return data of a valid type. Even if this data is not usefull like "an error occured" instead of the nice documentinformation string you expected. Users are made aware of these errors through the soap error messages lateron.

Strongroom

Strongroom internally uses its own types for numbers... However gSoap does not understand these. We use casts to convert between these. This might cause problems later.

This is espessialy the case for (Num|File|Doc)ID <-> long. Note also that these ids are unsigned longs and that the longs that we use are signed. This might cause problems if any of these values exceeds 2^63 before the heat-death of the universe.


Constructor & Destructor Documentation

SoapServer::SoapServer const Config   cfg
 

constructor


Member Function Documentation

bool SoapServer::init   [virtual]
 

Initialize the plugin

Implements Plugin.

CoreError SoapServer::run   [virtual]
 

This is the method that creates and starts the main serverthread. It blocks until High_Command(tm) tells us to stop.

Implements UserPlugin.

void SoapServer::shutdown   [virtual]
 

stop server... High-Command(tm) has told us to stop. Better follow their orders.

Implements UserPlugin.


The documentation for this class was generated from the following files:
Generated on Wed Feb 18 13:45:57 2004 for strongroom by doxygen1.2.18