> *#server.py*
> import SOAPpy
>
>
> def hello():
>   return "Hello World"
>
>   server = SOAP.SOAPServer(("localhost", 23000))
>   server.registerFunction(hello)
>   server.serve_forever()

Hi Asrarahmed,

I also want to reiterate what Luke said: it does get a little irritating 
if we see the same question repeated.  Try reading:

     http://catb.org/esr/faqs/smart-questions.html

to get a better feel for what kind of things help us answer your questions 
better.


Have you tried running server.py?  There's a glaring error in it. (Hint: 
SOAP != SOAPpy)

I know it might sound silly, but just to make sure you understand: the 
server must be up and running before you try contacting it with the 
client.

Also, you may want to reconsider SOAPpy: we've had previous discussion 
where it was apparent SOAPpy is a dead project:

     http://mail.python.org/pipermail/tutor/2006-November/050530.html
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to