Last active
November 30, 2017 09:56
-
-
Save kidig/c0ce2308127c44077f4851b4ae3e9935 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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