Module feedMetaDataDB
[show private | hide private]
[frames | no frames]

Module feedMetaDataDB

MetaData injector tool. It is based on httplib to form a SOAP message For full description of WSDL and related stuff please visit http://cougar.cs.cornell.edu/CLEO/CLEO_admin.asmx
Function Summary
  constructSOAPEnvelope(method, aList)
Construct a soap envelop for given method and argument list
  endEnvelope()
Add end statement to soap envelop
  headerEnvelope(userName, password)
Form a header of soap envelop which include user authentication
  parseWSDL(wsdl)
Parse a wsdl file.
  sendSOAPMessage(method, envelope, test, debug)
Send soap message to cougar.cs.cornell.edu.
  soapBody(method, argList)
Form a body of soap envelop.
  soapEnvelope()
Form a soap envelop in a form of CS web service wants.

Variable Summary
str HOST = 'cougar.cs.cornell.edu'
str NS = 'http://cleo.lepp.cornell.edu/CLEO/'
int PORT = 80                                                                    
str WSDL = 'http://cougar.cs.cornell.edu/CLEO/test_CLEO_admi...

Function Details

constructSOAPEnvelope(method, aList)

Construct a soap envelop for given method and argument list

endEnvelope()

Add end statement to soap envelop

headerEnvelope(userName='CLEOadmin', password='CLEOpassword')

Form a header of soap envelop which include user authentication

parseWSDL(wsdl='http://cougar.cs.cornell.edu/CLEO/test_CLEO_admin.asmx?W...)

Parse a wsdl file. So far we use urllib to do a job to read content of the file

sendSOAPMessage(method, envelope, test=1, debug=0)

Send soap message to cougar.cs.cornell.edu. Right now we use httplib to do a job

soapBody(method, argList)

Form a body of soap envelop. Construct appropriate array of items to retrieve.

soapEnvelope()

Form a soap envelop in a form of CS web service wants. For service description, please consult http://cougar.cs.cornell.edu/CLEO/CLEO_WS.asmx

Variable Details

HOST

Type:
str
Value:
'cougar.cs.cornell.edu'                                                

NS

Type:
str
Value:
'http://cleo.lepp.cornell.edu/CLEO/'                                   

PORT

Type:
int
Value:
80                                                                    

WSDL

Type:
str
Value:
'http://cougar.cs.cornell.edu/CLEO/test_CLEO_admin.asmx?WSDL'          

Generated by Epydoc 2.1 on Tue Jan 24 10:46:00 2006 http://epydoc.sf.net