<s> import tornado . httpserver <EOL> import tornado . ioloop <EOL> from tornadows import soaphandler <EOL> from tornadows import webservices <EOL> from tornadows import xmltypes <EOL> from tornadows . soaphandler import webservice <EOL> class HelloWorldService2 ( soaphandler . SoapHandler ) : <EOL> """<STR_LIT>""" <EOL> @ webservice ( _params = None , _returns = xmltypes . Array ( xmltypes . String ) ) <EOL> def sayHello ( self ) : <EOL> return [ "<STR_LIT>" , "<STR_LIT>" ] <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> service = [ ( '<STR_LIT>' , HelloWorldService2 ) ] <EOL> app = webservices . WebService ( service ) <EOL> ws = tornado . httpserver . HTTPServer ( app ) <EOL> ws . listen ( <NUM_LIT> ) <EOL> tornado . ioloop . IOLoop . instance ( ) . start ( ) </s>
