pylero icon indicating copy to clipboard operation
pylero copied to clipboard

https not working

Open simzacks opened this issue 3 years ago • 1 comments

One of our non-red hat users (who does not have a github account) has been having trouble with suds always changing from https to http. This is not something I could recreate, but he did succeed in connecting through suds by using an HttpAuthenticated transport, as can be seen in the script below. A colleague of his has also succeeded in interacting with the WSDL using zeep, which we already have an issue to swap suds for zeep #42 Can we look into what needs to happen to support this user?

from suds.client import Client
from suds.transport.https import HttpAuthenticated
url = 'https://DOMAIN_URL/polarion/ws/services/SessionWebService?wsdl'
credentials = dict(username='***',password='***')
t = HttpAuthenticated(**credentials)
client = Client(url, location='https://DOMAIN_URL/polarion/ws/services',transport=t)

simzacks avatar Feb 21 '22 10:02 simzacks