OK, thanks - it's working now...I'm behind a proxy:

   server = WSDL.Proxy(wsdlFile, http_proxy="myproxy.cam.ac.uk:3129")

On 27/04/07, Rajarshi Guha <[EMAIL PROTECTED]> wrote:
On Fri, 2007-04-27 at 13:49 +0100, Noel O'Boyle wrote:
> Before trying it in JavaScript, I've just been trying to access these
> services from Python as described in "Dive into Python":
>     http://diveintopython.org/soap_web_services/introspection.html
>
> Although the WSDL files themselves parse fine, calling the methods
> gives "Operation timed out". Can you confirm that the following code
> works for you? (first, you need to install fpconst at
> http://cheeseshop.python.org/pypi/fpconst/0.7.2 and SOAPpy,
> http://pywebsvcs.sourceforge.net/):
>
> from SOAPpy import WSDL
> wsdlFile = 'http://rguha.ath.cx:8080/pws/services/Structure?wsdl'
> server = WSDL.Proxy(wsdlFile)
> print server.getSimilesByCID(['801'])

It runs for me here. The output is

<SOAPpy.Types.typedArrayType getSmilesByCIDReturn at -1215953108>: 
['C1=CC=C2C(=C1)C(=CN2)CC(=O)[O-]']

-------------------------------------------------------------------
Rajarshi Guha <[EMAIL PROTECTED]>
GPG Fingerprint: 0CCAJmol 8EE2Jmol 2EEBJmol 25E2 AB04 06F7 1BB9Jmol E634 
9B87Jmol 56EE
-------------------------------------------------------------------
The only perfect science is hindsight.



_______________________________________________
Blue-obelisk mailing list
Blue-obelisk@hardly.cubic.uni-koeln.de
http://hardly.cubic.uni-koeln.de/mailman/listinfo/blue-obelisk

Reply via email to