Framework for the Web Services

Data Structures

class  DB_Virtuoso
 Database connector to the Virtuoso datastore. More...
class  ProcessorXML
 Manipulate structWSF internal XML resultset data resultsets. More...
class  WebService
 A Web Service abstract class. More...
class  CrudUsage
 CRUD usage data structure of a web service. More...
class  WebServiceQuerier
 Query a RESTFul web service endpoint. More...

Files

file  ClassHierarchy.php
 

The class hierarchy of the system.


file  CompoundWebService.php
 

The abstract class that define a compound web service.


file  Conneg.php
 

The class that manage the content negotiation between any web service.


file  db.php
 

Database connectivity layer.


file  Error.php
 

The class managing creation of error messages.


file  Logger.php
 

Logging system used to log all queries send to any structWSF web service endpoints.


file  Namespaces.php
 

List of main ontologies used on the node.


file  ProcessorXML.php
 

This class handle the creationg and reading of a WSF Web Services internal XML data.


file  PropertyHierarchy.php
 

The property hierarchy of the system.


file  RdfClass.php
 

A RDF Class description.


file  RdfProperty.php
 

A RDF Property description.


file  Solr.php
 

Query the Solr server.


file  WebService.php
 

An abstract atomic web service class.


file  WebServiceQuerier.php
 

Querying a RESTFull web service endpoint.


Functions

 handleFatalPhpError ()



 $hFile
 Server unique ID generator script.
 $sid = ""
 $sidDirectory = ""



 $enableStatisticsBroadcast = FALSE
 Broadcast structWSF querying statistics.

Function Documentation

handleFatalPhpError (  ) 

Definition at line 626 of file WebService.php.

References $mime.


Variable Documentation

$enableStatisticsBroadcast = FALSE

Broadcast structWSF querying statistics.

This script is used to create XML statistic files of a structWSF instance. It can be useful to monitor the usage of the instance. Such statistics can be used to plan future scalability deployment plans, or simply to make sure that everything is working normally. Additionally, it can be used in conjonction with software systems such as Ganglia to monitor WS response errors in a global system monitoring infrastructure.

Additionally, you can use this script to participate to the Global structWSF Statistical Service. To be part of the global structWSF statistics, you only have to subscribe your structWSF network at this address:

http://openstructs.org/structwsf/stats/subscribe

You only have to put the URL where this script can be queried, and your stats will be automatically aggregated with stats of other structWSF networks.

If you want to use that script for any reason, you have to set the value of the $enableStatisticsBroadcast variable to TRUE.

Note: eventually this script will be created as a Statistics & Monitoring web service endpoint. That way, structWSF system administrators will be able to manage it like any other web services, and leverage the structWSF permissions.



Author:
Frederick Giasson, Structured Dynamics LLC.


Definition at line 46 of file statisticsBroker.php.

$hFile

Server unique ID generator script.



Author:
Frederick Giasson, Structured Dynamics LLC.


Definition at line 16 of file index.php.

$sid = ""

Definition at line 18 of file index.php.

$sidDirectory = ""

Definition at line 22 of file index.php.

Copyright © 2009-2011. Structured Dynamics LLC Structured Dynamics LLC. All rights reserved.