Skip to content

Instantly share code, notes, and snippets.

@arthurd2
Created October 8, 2023 01:22
Show Gist options
  • Save arthurd2/5491ccc8dcacee51b485dbfc9caf2557 to your computer and use it in GitHub Desktop.
Save arthurd2/5491ccc8dcacee51b485dbfc9caf2557 to your computer and use it in GitHub Desktop.
from zeep import Client
from zeep.transports import Transport
transport = Transport(session=requests.Session(), timeout=10, operation_timeout=10)
transport.session.auth = requests.auth.HTTPBasicAuth( user, pass )
SCCP = Client('https://dominio.br/xxxs/CadastroPessoaService?wsdl', transport=transport)
vinculos = SCCP.service.getPessoaGoogle( idpessoa )
vinculos = dict ( zeep.helpers.serialize_object( vinculos ) )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment