Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@kidig
Last active November 30, 2017 09:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kidig/c0ce2308127c44077f4851b4ae3e9935 to your computer and use it in GitHub Desktop.
Save kidig/c0ce2308127c44077f4851b4ae3e9935 to your computer and use it in GitHub Desktop.
from zeep import Client
WSDL_URL = 'http://path-to-server?wsdl'
WS_USER = 'username'
WS_PASSWORD = 'password'
client = Client(WSDL_URL)
LogOn = client.bind('TeleoptiCccSdkService', 'TeleoptiCccLogOnService')
user = LogOn.LogOnAsApplicationUser(userName=WS_USER, password=WS_PASSWORD)
print(user)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment