SOAPpy(10060, 'Operation timed out')

Piet van Oostrum piet at
Fri May 15 15:32:47 EDT 2009

>>>>> "Zhang, Ning" <Ning.Zhang at> (ZN) wrote:

>ZN> Hi all
>ZN> I am working for a energy company, we currently want to use api to load
>ZN> data into the database.

>ZN> I am new for soappy package. I have done a bit research on 
>ZN> ... #resources
>ZN> <
>ZN> and
>ZN> ... gging.html
>ZN> <> 

>ZN> I can make none of the examples from tutorial correct.  

These examples often use short-lived services. When the tutorials are a
couple of years old, the sites disappear and the examples don't work. I
have given a course on distributed object systems the last years and
every few years I have to change the examples because they stop working.

>ZN> I have also tried the the example from Endolith posted last year.

>ZN> viewtopic.php?f=19&t=10038&p=45872&hilit=soap#p45872
>ZN> <
>ZN> 872&hilit=soap#p45872> 

>ZN> Code: Select all
>ZN> <>  

>ZN> from SOAPpy import WSDL

>ZN> wsdl_file = ''
>ZN> server = WSDL.Proxy(wsdl_file)
>ZN> values = server.getValuesInverse('usd')

>ZN> However, I got the error message below:  

>ZN> error: (10060, 'Operation timed out')

This works for me. Could it be that the site was
temporarily down? Or that your company's firewall blocks SOAP calls?
maybe you should ask your network manager.

I used this example in my last lectures and it worked also today:

from SOAPpy import SOAPProxy
url = ""
namespace = ""
server = SOAPProxy(url, namespace)
server.config.dumpSOAPOut = True
server.config.dumpSOAPIn = True
print server.getValue(100,"eur","usd")

Piet van Oostrum <piet at>
URL: [PGP 8DAE142BE17999C4]
Private email: piet at

More information about the Python-list mailing list