HI All,
I am trying to consume wsdl with suds using keystore i am getting forbiden
since suds is not including the keystore in the request:
co = Client('https://10.102.5.81:901/APIService.svc?singleWsdl')
co.options.wsse.keystore = Keystore()
co.options.wsse.keystore.addKey(RsaPemFilePrivateKey(
'certificate.pem'), X509PemFileCertificate('cag1.pem'))
response11 = co.service.Login(clientID=int(202), terminalID=
'657CBC06-B339-432C-8122-F8DE3DDD15A8', opName='API-0002', password='123456'
)
--
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 [email protected].
To post to this group, send email to [email protected].
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%2BmkbD1NDaoJOKOberVZgnZm%2BdoWYDkou9VveLvUQTTA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.