Soappy: "Fault SOAP-ENV:Client: session_lifetime_syntax_incorrect"

Tamer Higazi th982a at
Sat Mar 23 10:17:14 CET 2013

Hi people!
I try to access the service of my provider through SOAP, with the
credentials I received from my provider once before.

Hier ist der 33 lines of code:

from SOAPpy import WSDL
from SOAPpy.Errors import HTTPError as SoapHTTPError
from SOAPpy.Types import faultType
import hashlib

class KASSystem:

    def __init__(self):
        WSDL_AUTH = ''
        WSDL_API = ''

        userpass = ['mylogin','mypassword']
        m = hashlib.sha1()

        userpass[1] = m.hexdigest()
        loginData = {'user':userpass[0],'pass':userpass[1]}

        self.__SoapClient = WSDL.Proxy(WSDL_AUTH)

            self.__CredentialToken =

        except (SoapHTTPError), e:
            print "Fehlermeldung:", e.code,e.msg

KasObj = KASSystem()

Here is the error message:

Traceback (most recent call last):
  File "/storage/PyProjects/toolsAPP/", line 38, in <module>
    KasObj = KASSystem()
  File "/storage/PyProjects/toolsAPP/", line 32, in __init__
  File "build/bdist.linux-x86_64/egg/SOAPpy/", line 540, in
  File "build/bdist.linux-x86_64/egg/SOAPpy/", line 562, in
  File "build/bdist.linux-x86_64/egg/SOAPpy/", line 475, in __call
SOAPpy.Types.faultType: <Fault SOAP-ENV:Client:

I really don't know what I did wrong

for any help, I am grateful!


More information about the Python-list mailing list