owsproxy.cgi 353 B

12345678910111213141516171819
  1. #!/usr/bin/python
  2. #debugger
  3. #import rpdb2; rpdb2.start_embedded_debugger("lucerna")
  4. import OWS
  5. import logging
  6. import OWSExceptions
  7. #debugger
  8. #import rpdb2; rpdb2.start_embedded_debugger("lucerna")
  9. logging.basicConfig(level=logging.DEBUG)
  10. try:
  11. service = OWS.getService()
  12. service.dispatch()
  13. except OWSExceptions.OWSException,e:
  14. e.toXml()