SOAP_XML_SET_STRUCT_NAME — A macro to assign a name to a struct used in serialization.
// In header: </home/maarten/projects/libzeep/zeep/xml/serialize.hpp>
SOAP_XML_SET_STRUCT_NAME(s)
By default, libzeep uses the typeid(s).name() as the name for an element. That's often not what is intented. Calling this macro will make sure the type name you used in your code will be used instead.
E.g., struct FindResult { ... } might end up with a fancy name in the WSDL. To use FindResult instead, call SOAP_XML_SET_STRUCT_NAME(FindResult);
An alternative it to call, which allows different WSDL and struct names: zeep::xml::serialize_struct<FindResult>::set_struct_name("FindResult");