Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

while requestHeader method generates header based on operation name soaptype returns request header #1394

Open
Sreenivasulu-Reddi opened this issue Sep 20, 2023 · 0 comments

Comments

@Sreenivasulu-Reddi
Copy link

Sreenivasulu-Reddi commented Sep 20, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant