| 12345678910111213141516171819 |
- #!/usr/bin/python
- #debugger
- #import rpdb2; rpdb2.start_embedded_debugger("lucerna")
- # import sys
- # sys.path.append("/path/to/proxy4ows/")
- import OWS
- import logging
- import OWSExceptions
- logging.basicConfig(level=logging.DEBUG)
- try:
- service = OWS.getService(configFile = "config.cfg")
- service.dispatch()
- except OWSExceptions.OWSException,e:
- e.toXml()
|