[Tutor] Please help to resolve this...

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Wed Nov 8 21:10:03 CET 2006

>> def hello():
>>   return "Hello World"
>>   server = SOAP.SOAPServer(("localhost", 23000))
>>   server.registerFunction(hello)
>>   server.serve_forever()
> Have you tried running server.py?  There's a glaring error in it. (Hint: SOAP 
> != SOAPpy)

Actually, there's a much more glaring error in it.  Note the early exit 
from 'return "hello world".  The program is escaping out too quickly.

More information about the Tutor mailing list