mibes404 / zeep

XSD/WSDL client code generator for Rust
MIT License
41 stars 18 forks source link

this issue is comming ,while genrating http_headers using wsdl url and operation ,in python 3.11 and zeep 4.2.1 env #15

Open Sreenivasulu-Reddi opened 1 year ago

Sreenivasulu-Reddi commented 1 year ago

zeep == 4.2.1

Traceback (most recent call last): File "D:\ICE_ENHANS\latest_ice_package\ICE\plugins\WebServices\wsdlgenerator.py", line 118, in requestHeader request_header_soap11 = self.client_obj.service._binding.create_message_header(self.operation_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ICE_ENHANS\latest_ice_package\ICE\Lib\site-packages\zeep\wsdl\bindings\soap.py", line 63, in create_message_header envelope, http_headers = self._create(operation, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ICE_ENHANS\latest_ice_package\ICE\Lib\site-packages\zeep\wsdl\bindings\soap.py", line 77, in _create serialized = operation_obj.create(*args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ICE_ENHANS\latest_ice_package\ICE\Lib\site-packages\zeep\wsdl\definitions.py", line 224, in create return self.input.serialize(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ICE_ENHANS\latest_ice_package\ICE\Lib\site-packages\zeep\wsdl\messages\soap.py", line 79, in serialize self.body.render(body, body_value) File "D:\ICE_ENHANS\latest_ice_package\ICE\Lib\site-packages\zeep\xsd\elements\element.py", line 232, in render self._render_value_item(parent, value, render_path) File "D:\ICE_ENHANS\latest_ice_package\ICE\Lib\site-packages\zeep\xsd\elements\element.py", line 256, in _render_value_item return self.type.render(node, value, None, render_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ICE_ENHANS\latest_ice_package\ICE\Lib\site-packages\zeep\xsd\types\complex.py", line 307, in render element.render(node, element_value, child_path) File "D:\ICE_ENHANS\latest_ice_package\ICE\Lib\site-packages\zeep\xsd\elements\indicators.py", line 256, in render element.render(parent, element_value, child_path) File "D:\ICE_ENHANS\latest_ice_package\ICE\Lib\site-packages\zeep\xsd\elements\element.py", line 226, in render self.validate(value, render_path) File "D:\ICE_ENHANS\latest_ice_package\ICE\Lib\site-packages\zeep\xsd\elements\element.py", line 284, in validate raise exceptions.ValidationError( zeep.exceptions.ValidationError: Missing element intA (Add.intA) Please keep the issues that real bug reports only. Please request help/support on a relevant channel like stackoverflow. This issue will most likely be closed.