Hi, I cannnot go past what seems to be a bug, the variable "Namespace" in utils.py is empty with the error "XMLParseError: No namespace defined for java (java:java.lang.String)"
I have another SOAP command which is not the one here (client.service.validateMetadata(**requestData)) which is working great i just changed the name of the SOAP thing called in client.service, and adapted the dictionary according the the variabels i need to pass for this one
Please find below the details,
Thanks
The version of zeep (or if you are running master the commit hash/date)
Zeep 4.1.0
Python 3.9.7
an example script which exposes the problem.
(sorry the example is not runnable, as i use a wsdl on my company's server, i think the error log might be of help)
import zeep
from zeep import Client
from zeep.transports import Transport
from requests import Session
from requests.auth import HTTPBasicAuth
Hi, I cannnot go past what seems to be a bug, the variable "Namespace" in utils.py is empty with the error "XMLParseError: No namespace defined for java (java:java.lang.String)" I have another SOAP command which is not the one here (client.service.validateMetadata(**requestData)) which is working great i just changed the name of the SOAP thing called in client.service, and adapted the dictionary according the the variabels i need to pass for this one
Please find below the details, Thanks
The version of zeep (or if you are running master the commit hash/date) Zeep 4.1.0 Python 3.9.7
The WSDL you are using https://docs.informatica.com/master-data-management/multidomain-mdm/10-3/services-integration-framework-guide/introduction-to-services-integration-framework/access-protocols/web-services/wsdl.html
an example script which exposes the problem. (sorry the example is not runnable, as i use a wsdl on my company's server, i think the error log might be of help)
import zeep from zeep import Client from zeep.transports import Transport from requests import Session from requests.auth import HTTPBasicAuth
wsdl="http://:/cmx/request/wsdl?"
session = Session()
session.auth = HTTPBasicAuth('', '')
client = Client(wsdl,transport=Transport(session=session))
requestData={ "username":"",
"password":{"password":"","encrypted":"false"},
"orsId":"",
"asynchronousOptions":{"isAsynchronous":"false"}
}
response= client.service.validateMetadata(**requestData)
XMLParseError Traceback (most recent call last)