Package ndg :: Package soap :: Package test :: Module soap_server
[hide private]

Source Code for Module ndg.soap.test.soap_server

 1  """SOAP Server helper module for unit test 
 2   
 3  NERC DataGrid Project 
 4  """ 
 5  __author__ = "P J Kershaw" 
 6  __date__ = "27/07/09" 
 7  __copyright__ = "(C) 2009 Science and Technology Facilities Council" 
 8  __contact__ = "Philip.Kershaw@stfc.ac.uk" 
 9  __license__ = "http://www.apache.org/licenses/LICENSE-2.0" 
10  __contact__ = "Philip.Kershaw@stfc.ac.uk" 
11  __revision__ = "$Id: soap_server.py 7130 2010-06-30 13:33:07Z pjkersha $" 
12  from ndg.soap.test.test_soap import SOAPBindingMiddleware 
13  from paste.httpserver import serve 
14   
15  if __name__ == "__main__": 
16      app = SOAPBindingMiddleware() 
17      serve(app, host='0.0.0.0', port=10080) 
18