File "C:\...\lib\site-packages\zeep\xsd\elements\element.py", line 236, in validate
"Missing element %s" % (self.name), path=render_path)
zeep.exceptions.ValidationError: Missing element SearchScope (ExecuteSearchRequest.SelectionFilter.SearchScope)
But SearchScope should not be a sub element of SelectionFilter, it should be a sub element of ExecuteSearchRequest, according to the schema above.
I'm struggling with the same problem as Vasireddydivya reported here while trying to access a legacy IBM FileNet server.
WSDL is available here: https://github.com/mulesoft/mule-wsdl-parser/blob/master/src/test/resources/wsdl/multiple-imports-as-value/multiple-imports-base.wsdl https://github.com/mulesoft/mule-wsdl-parser/blob/master/src/test/resources/wsdl/multiple-imports-as-value/multiple-detailed.wsdl
I am using version 2.5.0 of zeep .
I managed to manually write a working xml request. It looks like this:
Unfortunatly, I am not able to reproduce this with zeep. The problem is to create
ExecuteSearchRequest
of typeRepositorySearch
.The operation is defined as follows:
ExecuteChangesRequest
is defined asMy code looks like
But this already gives the following error:
But SearchScope should not be a sub element of SelectionFilter, it should be a sub element of ExecuteSearchRequest, according to the schema above.
results in the following output:
where again, SearchScope und SearchSQL are subelements of subselection which shouldn't be the case.
Any help would be appreciated.