Did you switch to using suds-jurko?

_Nik

On 4/2/2015 10:10 AM, nadaei...@gmail.com wrote:
Thanks finally using this but getting web.fault:

from sudsssltransport import SudsClientStrictSSL
c= SudsClientStrictSSL('https://10.102.5.81:901/APIService.svc?singleWsdl', client_cert='cert.pem', verify_ssl='certificate.pem')
        print 'here'
hoho = c.service.Login(clientID=202, terminalID='657CBC06-B339-432C-8122-F8DE3DDD15A8', authCred='API-0002')
        print hoho



No handlers could be found for logger "suds.client"

Traceback (most recent call last):

  File "oooo.py", line 61, in <module>

    main()

  File "oooo.py", line 52, in main

    hoho = c.service.Login()

File "/Users/ivarnadaebadio/Desktop/suds/client.py", line 521, in __call__

    return client.invoke(args, kwargs)

  File "/Users/ivarnadaebadio/Desktop/suds/client.py", line 581, in invoke

    result = self.send(soapenv)

  File "/Users/ivarnadaebadio/Desktop/suds/client.py", line 621, in send

original_soapenv=original_soapenv)

File "/Users/ivarnadaebadio/Desktop/suds/client.py", line 670, in process_reply

    raise WebFault(fault, replyroot)

suds.WebFault





2015-04-02 16:24 GMT+00:00 Nikolas Stevenson-Molnar <nik.mol...@consbio.org <mailto:nik.mol...@consbio.org>>:

    Have a look at this:
    https://bitbucket.org/jurko/suds/issue/23/ssl-certificate-verification

    _Nik


    On 4/2/2015 9:17 AM, nadaei...@gmail.com
    <mailto:nadaei...@gmail.com> wrote:
    i was doing it using this:

            import logging
    logging.basicConfig(level=logging.INFO)
    logging.getLogger('suds.client').setLevel(logging.DEBUG)
    logging.getLogger('suds.transport').setLevel(logging.DEBUG)

            c =
    Client('https://10.102.5.81:901/APIService.svc?singleWsdl',
    transport = HTTPSClientCertTransport('client.pem','server.pem'))

            response11 =  c.service.Login()
            print response11

    2015-04-02 16:09 GMT+00:00 Nikolas Stevenson-Molnar
    <nik.mol...@consbio.org <mailto:nik.mol...@consbio.org>>:

        suds-jurko also seems to be actively maintained, so you may
        have luck with filing an issue for missing functionality.

        _Nik


        On 4/2/2015 9:05 AM, James Schneider wrote:

        Suds is an old (abandoned) library. suds-jurko is a newer
        fork of it, and may handle SSL connections better.

        You may need to provide more detail as to what you are
        trying to do, as the SSL portion is handled by underlying
        libraries in Python, not by suds-jurko directly.

        -James

        On Apr 2, 2015 8:57 AM, "nadaei...@gmail.com
        <mailto:nadaei...@gmail.com>" <nadaei...@gmail.com
        <mailto:nadaei...@gmail.com>> wrote:

            I am already using suds but my issue was using suds with
            ssl and client and server certificate

            2015-04-02 15:48 GMT+00:00 nadaei...@gmail.com
            <mailto:nadaei...@gmail.com> <nadaei...@gmail.com
            <mailto:nadaei...@gmail.com>>:

                Thanks Nikolas,

                Checking will come back to you.

                2015-04-02 15:45 GMT+00:00 Nikolas Stevenson-Molnar
                <nik.mol...@consbio.org
                <mailto:nik.mol...@consbio.org>>:

                    Take a look at suds-jurko:
                    https://bitbucket.org/jurko/suds

                    _Nik


                    On 4/2/2015 8:05 AM, nadaei...@gmail.com
                    <mailto:nadaei...@gmail.com> wrote:
                    Hi All,

                    What is the best library of python to consume
                    wsdl soap with client certificate pfx and
                    server certificate cer.

                    BR


-- You received this message because you are
                    subscribed to the Google Groups "Django users"
                    group.
                    To unsubscribe from this group and stop
                    receiving emails from it, send an email to
                    django-users+unsubscr...@googlegroups.com
                    <mailto:django-users+unsubscr...@googlegroups.com>.
                    To post to this group, send email to
                    django-users@googlegroups.com
                    <mailto:django-users@googlegroups.com>.
                    Visit this group at
                    http://groups.google.com/group/django-users.
                    To view this discussion on the web visit
                    
https://groups.google.com/d/msgid/django-users/CACZ2VwTAGB4di-yM3QHmMn6Uxehe4QPUxogo07SemV%3DX89ANBw%40mail.gmail.com
                    
<https://groups.google.com/d/msgid/django-users/CACZ2VwTAGB4di-yM3QHmMn6Uxehe4QPUxogo07SemV%3DX89ANBw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
                    For more options, visit
                    https://groups.google.com/d/optout.

-- You received this message because you are
                    subscribed to the Google Groups "Django users"
                    group.
                    To unsubscribe from this group and stop
                    receiving emails from it, send an email to
                    django-users+unsubscr...@googlegroups.com
                    <mailto:django-users+unsubscr...@googlegroups.com>.
                    To post to this group, send email to
                    django-users@googlegroups.com
                    <mailto:django-users@googlegroups.com>.
                    Visit this group at
                    http://groups.google.com/group/django-users.
                    To view this discussion on the web visit
                    
https://groups.google.com/d/msgid/django-users/551D641E.6030109%40consbio.org
                    
<https://groups.google.com/d/msgid/django-users/551D641E.6030109%40consbio.org?utm_medium=email&utm_source=footer>.
                    For more options, visit
                    https://groups.google.com/d/optout.




-- Nadae Ivar BADIO

                +221 70 644 38 44 <tel:%2B221%2070%20644%2038%2044>




-- Nadae Ivar BADIO

            +221 70 644 38 44 <tel:%2B221%2070%20644%2038%2044>
-- You received this message because you are subscribed to
            the Google Groups "Django users" group.
            To unsubscribe from this group and stop receiving emails
            from it, send an email to
            django-users+unsubscr...@googlegroups.com
            <mailto:django-users+unsubscr...@googlegroups.com>.
            To post to this group, send email to
            django-users@googlegroups.com
            <mailto:django-users@googlegroups.com>.
            Visit this group at
            http://groups.google.com/group/django-users.
            To view this discussion on the web visit
            
https://groups.google.com/d/msgid/django-users/CACZ2VwS9Ge-L6%3DfiU%2BdtRYgcr2LfU5t7mNAaJUYosTV3YQQXFA%40mail.gmail.com
            
<https://groups.google.com/d/msgid/django-users/CACZ2VwS9Ge-L6%3DfiU%2BdtRYgcr2LfU5t7mNAaJUYosTV3YQQXFA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
            For more options, visit https://groups.google.com/d/optout.

-- You received this message because you are subscribed to the
        Google Groups "Django users" group.
        To unsubscribe from this group and stop receiving emails
        from it, send an email to
        django-users+unsubscr...@googlegroups.com
        <mailto:django-users+unsubscr...@googlegroups.com>.
        To post to this group, send email to
        django-users@googlegroups.com
        <mailto:django-users@googlegroups.com>.
        Visit this group at http://groups.google.com/group/django-users.
        To view this discussion on the web visit
        
https://groups.google.com/d/msgid/django-users/CA%2Be%2BciVXHTKJppwP5cuDoHFew2AZxkJ1CVJ%3Dk486XOjQeNpPBA%40mail.gmail.com
        
<https://groups.google.com/d/msgid/django-users/CA%2Be%2BciVXHTKJppwP5cuDoHFew2AZxkJ1CVJ%3Dk486XOjQeNpPBA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
        For more options, visit https://groups.google.com/d/optout.

-- You received this message because you are subscribed to the
        Google Groups "Django users" group.
        To unsubscribe from this group and stop receiving emails from
        it, send an email to
        django-users+unsubscr...@googlegroups.com
        <mailto:django-users+unsubscr...@googlegroups.com>.
        To post to this group, send email to
        django-users@googlegroups.com
        <mailto:django-users@googlegroups.com>.
        Visit this group at http://groups.google.com/group/django-users.
        To view this discussion on the web visit
        
https://groups.google.com/d/msgid/django-users/551D69AD.3090206%40consbio.org
        
<https://groups.google.com/d/msgid/django-users/551D69AD.3090206%40consbio.org?utm_medium=email&utm_source=footer>.


        For more options, visit https://groups.google.com/d/optout.




-- Nadae Ivar BADIO

    +221 70 644 38 44
-- You received this message because you are subscribed to the
    Google Groups "Django users" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to django-users+unsubscr...@googlegroups.com
    <mailto:django-users+unsubscr...@googlegroups.com>.
    To post to this group, send email to
    django-users@googlegroups.com <mailto:django-users@googlegroups.com>.
    Visit this group at http://groups.google.com/group/django-users.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/django-users/CACZ2VwT_S%2BurzyOs0z%2BcOAtqq2zNvqG0H_RYPAkA89rxjfCjVg%40mail.gmail.com
    
<https://groups.google.com/d/msgid/django-users/CACZ2VwT_S%2BurzyOs0z%2BcOAtqq2zNvqG0H_RYPAkA89rxjfCjVg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
    For more options, visit https://groups.google.com/d/optout.

-- You received this message because you are subscribed to the Google
    Groups "Django users" group.
    To unsubscribe from this group and stop receiving emails from it,
    send an email to django-users+unsubscr...@googlegroups.com
    <mailto:django-users+unsubscr...@googlegroups.com>.
    To post to this group, send email to django-users@googlegroups.com
    <mailto:django-users@googlegroups.com>.
    Visit this group at http://groups.google.com/group/django-users.
    To view this discussion on the web visit
    
https://groups.google.com/d/msgid/django-users/551D6D4B.6030202%40consbio.org
    
<https://groups.google.com/d/msgid/django-users/551D6D4B.6030202%40consbio.org?utm_medium=email&utm_source=footer>.


    For more options, visit https://groups.google.com/d/optout.




--
Nadae Ivar BADIO

+221 70 644 38 44
--
You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com <mailto:django-users+unsubscr...@googlegroups.com>. To post to this group, send email to django-users@googlegroups.com <mailto:django-users@googlegroups.com>.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACZ2VwTy0MbbB0hgMO_UQ41vNc7NhJzrYHm3ke92Ap1QV%3DJmHA%40mail.gmail.com <https://groups.google.com/d/msgid/django-users/CACZ2VwTy0MbbB0hgMO_UQ41vNc7NhJzrYHm3ke92Ap1QV%3DJmHA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/551D92DE.3010102%40consbio.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to