Skip to content

Instantly share code, notes, and snippets.

@marquesds
Last active June 12, 2019 17:54
Show Gist options
  • Save marquesds/b96f56bc37474ecac0db1b16ccd4f995 to your computer and use it in GitHub Desktop.
Save marquesds/b96f56bc37474ecac0db1b16ccd4f995 to your computer and use it in GitHub Desktop.
Bypass SSL Python Zeep
"""
Ref.: https://lucasmarques.me/bypass-ssl/
"""
from requests import Session
from zeep.transports import Transport
from zeep import Client
session = Session()
session.verify = False
transport = Transport(session=session)
client = Client('your_webservice?wsdl', transport=transport, strict=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment