python-zeep
python-zeep copied to clipboard
Input message with multi parts
Hi,
I'm having troubles to send request with this kind of input message:
<message name="CallInput">
<part name="message" element="tns:Message"/>
<part name="header" element="tns:MessageID"/>
</message>
With type definition:
<xsd:element name="Message" type="xsd:string"/>
<xsd:element name="MessageID" type="xsd:long"/>
Calling the service:
response = client.service.Call(message)
Where the message is type of string. How to append the second part the MessageID of type long? I'm always getting the "IllegalArgumentException" from the server side. Thanks,
mz.