SOAP and python
kondor
kondor at wanadoo.fr
Tue Feb 5 11:28:00 EST 2002
I've download the SOAP package for python and their is an exemple of a client
and a server (echoServer.py and echoClient.py)
It function well on my machine (localhost)
but when I launch the server on my machine and try the client on an other
machine (in my network), it dosen't work.
yet I've change localhost to the server ip adress in the clientEcho.py.
The client say :
PythonWin 2.1.1 (#20, Jul 26 2001, 11:38:51) [MSC 32 bit (Intel)] on win32.
Portions Copyright 1994-2001 Mark Hammond (MarkH at ActiveState.com) - see
'Help/About PythonWin' for further copyright information.
Traceback (most recent call last):
File "D:\Python21\Pythonwin\pywin\framework\scriptutils.py", line 301, in
RunScript
exec codeObject in __main__.__dict__
File "C:\projet\echoClient.py", line 23, in ?
print server.echo_ino("moo")
File "D:\Python21\lib\SOAP.py", line 3603, in __r_call
self.__hd, self.__ma)
File "D:\Python21\lib\SOAP.py", line 3521, in __call
config = self.config)
File "D:\Python21\lib\SOAP.py", line 3397, in call
r.putrequest("POST", real_path)
File "D:\Python21\lib\httplib.py", line 437, in putrequest
self.send(str)
File "D:\Python21\lib\httplib.py", line 379, in send
self.connect()
File "D:\Python21\lib\httplib.py", line 363, in connect
self.sock.connect((self.host, self.port))
File "<string>", line 1, in connect
error: (10061, 'Connection refused')
>>>
Can you help me ?
More information about the Python-list
mailing list