databaseserver.php
This program sets up the SOAP server on the xspace machine so that the programs on the space server can connect to it.
Location: /Users/nathe/Sites/soapServer/.
databaseclass.php
This program is the main class for the database SOAP server on the xspace machine. It contains the constructor to connect to the mySql Spase database along with the three query functions that can be called. The parameters for the functions are passed to this server in the data section of a SOAP message.
Location: /Users/nathe/Sites/soapServer/.
spaseTest.html - Source Code
This is the webpage for the SPASE web+database editor. This site uses version 1.2.0 of the SPASE data model (obtained from http://www.spase-group.org) to allow users to search existing database entries (using the Search.java servlet and the link to space.augsburg.edu/~nathe/spase/query.html) or enter new information into the database (by calling the SpaseTest.java servlet upon form submition).
Location: /Users/skar/Sites/.
URL: http://xspace.augsburg.edu/~skar/spaseTest.html
SpaseTest.java
This servlet is used to create data descriptor forms from which descriptions can be added into a database. The program uses the SPASE schema attribute xsd to create these forms. This program must also be used in cunjuction with the SpaseTest.html file that supplies the appropriate parameters for this program to run.
Location: /Users/skar/Documents/.
Search.java
This program is used to search through a SPASE database and return the files that are found using a partial string match on all the fields in the table. The results are then diplayed in a html table.
Location: /Users/skar/Documents/.
Parse.java
This program is used to generate a list of field names for each of the Data types found in the SPASE schema. These names are gathered and then stored in a vector and placed in a hashtable. The table is then passed to other programs where a list of hte field names is needed. Search.java and Upkeep.java are two of these programs.
Location: /Users/skar/Documents/.
Upkeep.java
This program is used to remove entries from a SPASE database. The elements are found by matching a string against all the elements in a table in the database. The results are then displyed in an html table where they can be selected to be deleted. After they are selected th program connects with the database and attempts to remove the entries.
Location: /Users/skar/Documents/.
compile
When called, this program compiles all of the java programs in this directory and places them in the apache classes folder so that they can be used on the web.
Location: /Users/skar/Documents/.
Note: The location of the xml files is /Users/skar/Sites/xml/ on xspace.
query.html - Source Code
This is the webpage for the SPASE database query system. It is used to perform three different types of queries against the relational SPASE database that is located on the xspace server. It is a form that when the parameter fields are entered and submitted, the databaseclient.php program is called to contact the xspace machine.
Location: /Users/nathe/Sites/spase/.
URL: http://space.augsburg.edu/~nathe/spase/query.html
databaseclient.php
This program is called from query.html upon submission. It takes the values entered into the query site in and calls the related function. Each of the functions then sets up the parameter array and calls the SOAP server on the xspace namespace that is provided. When the result is returned, it is displayed as an html table to the user.
Location: /Users/nathe/Sites/spase/.