Created
March 16, 2017 12:03
-
-
Save RokoMijic/63f659f00c658ddee3cb53cc8602fd24 to your computer and use it in GitHub Desktop.
Example zeep script to reproduce "assert name AssertionError line 116"
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 | |
from zeep.wsse.username import UsernameToken | |
import logging.config | |
client = Client("http://eur-lex.europa.eu/eurlex-ws?wsdl", wsse=UsernameToken( 'INSERT_USERNAME' , 'INSERT_PASSWORD' ) ) | |
result = client.service.doQuery(expertQuery='SELECT DN WHERE DN=6*', page=1, pageSize=1, searchLanguage='en') | |
print(result) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment