ServiceProxy. module object is not callable

2010-03-04
2013-05-02
  • Using python 2.5, I get the following error when trying to use the ServiceProxy:

    >>> from ZSI import ServiceProxy
    >>> service = ServiceProxy('http://localhost:8080/test.wsdl')
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    TypeError: 'module' object is not callable
    

    What can be the problem?

    Is this the correct way to use the ServiceProxy?
    I took it from the official documentation: http://pywebsvcs.sourceforge.net/zsi.html

    Regards,
    David

     
  • Hi All,

    I'm getting the same error when trying to load a WSDL definition from a remote host (not localhost). Does anyone have a solution for this?

    David, were you able to find one that worked for you?

    Thanks,

    Rishabh