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: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 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