Open ankit167 opened 5 years ago
@ankit167 Have you found the solution yet?
header = zeep.xsd.Element(
"Header",
zeep.xsd.ComplexType(
[
zeep.xsd.Element(
"{http://www.w3.org/2005/08/addressing}Action", zeep.xsd.String()
),
zeep.xsd.Element(
"{http://www.w3.org/2005/08/addressing}To", zeep.xsd.String()
),
]
),
)
This should be the revised code.
https://github.com/utkarshohm/mf-platform-bse/blob/4a20cd9e2c58586fddcfb68957604553be73797a/api.py#L1103
Link to zeep element.py- https://github.com/mvantellingen/python-zeep/blob/master/src/zeep/xsd/elements/element.py