|
From: <bl...@us...> - 2003-03-25 04:11:49
|
Update of /cvsroot/pywebsvcs/zsi/ZSI/wsdl
In directory sc8-pr-cvs1:/tmp/cvs-serv31783
Modified Files:
ServiceProxy.py
Log Message:
fixed pretty basic bug where the soap url returned for an operation uses the default port (80) and thus does not include a : mark.
Index: ServiceProxy.py
===================================================================
RCS file: /cvsroot/pywebsvcs/zsi/ZSI/wsdl/ServiceProxy.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ServiceProxy.py 21 Mar 2003 16:31:25 -0000 1.2
+++ ServiceProxy.py 25 Mar 2003 04:11:46 -0000 1.3
@@ -267,7 +267,7 @@
url = callinfo.location
(protocol, host, uri, query, fragment, identifier) = urlparse(url)
port = 80
- if host.find(':'):
+ if host.find(':') >= 0:
host, port = host.split(':')
params = callinfo.getInParameters()
@@ -277,7 +277,7 @@
port=port, url=uri)
apply(getattr(binding, callinfo.methodName), '')
- #print binding.ReceiveRaw()
+ #print binding.ReceiveRaw()
return binding.Receive()
|