ingestService (version 0.01)
index
/home/rtvo/public_html/Software/ingestService.py

rtVO ingest Service
  Created as an example to show how a simple SOAP server
  can be created in python that will allow a client
  to connect and send a VOTransient message.

 
Modules
       
SOAPpy
xml.dom.minidom
os
pg
string
sys
xml

 
Classes
       
rtvoBuilder

 
class rtvoBuilder
     Methods defined here:
__init__(self, db_get_testing=1, db_add_testing=1)
addVOTransient_to_database(self, d)
Do an add to the local DB. Return a tuple describing the results
echo1(self, val)
Testing method...just return what we got
getExistingURIs_in_database(self)
performSQ_on_database(self, querys)
uploadNewVOTransient(self, new_table_list)
This method is exposed over the port for SOAP clients to add objects to
the database. Before that happens, the message is validated against
the schema. An error is returned (as a tuple) if it cannot be validated
or if the uri is already in the database (or the DB isn't responding).
validate_VOTransient_message(self, rtvo_list)
The source must validate against the schema or else we return an error
(<0).

 
Functions
       
runServer(port=8080, host='localhost')

 
Data
        DBhostIP = 'localhost'
__author__ = 'Joshua Bloom'
__version__ = '0.01'

 
Author
        Joshua Bloom