Ignore:
Timestamp:
05/12/06 11:09:46 (14 years ago)
Author:
spascoe
Message:

Changes to configuration. You can now test DXWSInterface by putting
server/dxs/configs/server.conf in your ndg.conf. Change the BASEDIR
definition to point to .../server/dxs and startSession('rod', 'rod1')
should work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI03-DataExtractor/branches/repackaging/server/lib/ndg/dx/server/scripts/DXWSInterface.py

    r1776 r1813  
    4646from ndg.utils.config import config 
    4747configSection = 'ndg.dx.server' 
    48 SOAP_SERVER_PORT = config.get(configSection, 'SOAP_SERVER_PORT') 
     48SOAP_SERVER_PORT = config.getint(configSection, 'SOAP_SERVER_PORT') 
    4949 
    5050def callControllerDirectly(argList): 
     
    476476        args = sys.argv[1:] 
    477477 
    478     config.read(args[0]) 
     478    #config.read(args[0]) 
     479 
     480    from ZSI import dispatch 
     481    import ndg.dx.server.scripts.DXWSInterface as Self 
    479482     
    480483    # Serve all functions as Web Service methods.     
    481484    print "Setting up server" 
    482485    print "Serving Web Service on port: %s" % SOAP_SERVER_PORT 
    483     dispatch.AsServer(port=SOAP_SERVER_PORT, rpc=True)    
     486    dispatch.AsServer(port=SOAP_SERVER_PORT, modules = (Self,), rpc=True)    
Note: See TracChangeset for help on using the changeset viewer.