source: TI03-DataExtractor/trunk/known_installations/glue_DXWSInterface_changes.txt @ 1244

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI03-DataExtractor/trunk/known_installations/glue_DXWSInterface_changes.txt@1244
Revision 1244, 1.1 KB checked in by astephen, 14 years ago (diff)

Close to alpha version.

Line 
135,46d34
2<
3< # Get configuration file as first argument
4< args=sys.argv[1:]
5< if len(args)!=1:
6<     print "ERROR: please provide the location of the configuration file as the only argument to this script."
7<     sys.exit()
8<     
9< configFile=args[0]
10< configPath, configFilename=os.path.split(configFile)
11< sys.path.insert(0, configPath)
12< exec ("from %s import *" % configFilename[:-3])
13<
1449c37
15< Version=(2,0,0)#(1,6,1) # of client ZSI - not this one!
16---
17> Version=(1,6,1)#(2,0,0)#(1,6,1) # of client ZSI - not this one!
1856c44
19< #from pydxs.serverConfig import *
20---
21> from pydxs.serverConfig import *
2262d49
23<         
2463a51,57
25> # Set up path for local python stuff on glue
26> items=("/disks/glue1/astephens/csml/parser",
27>        "/disks/glue1/astephens/csml/Scanner",
28>        "/disks/glue1/astephens")
29> for i in items:
30>     sys.path.append(i)
31
32175a170,173
33>
34>         if newkey[:11]=="datasetURI_":
35>             value="/disks/glue1/astephens/coapec_metadata/"+os.path.split(value)[-1]+".xml"
36>
37459,460c457,459
38<     # Serve all functions as Web Service methods.
39<     
40---
41>     """
42>     Serve all functions as Web Service methods.
43>     """
Note: See TracBrowser for help on using the repository browser.