Issue with self-closing tag when upgrading from older gsoap version
Development toolkit for Web Services and XML data bindings for C & C++
Brought to you by:
engelen
Hello team,
I'm working to update gsoap from older version (65) to a newer one (122) but the server does not like the newer version of the soap message generated by the client (gsoap).
Using the older version, it generates a closing tag like that but using the newer version it generates a self-closing tag <tag y="423">.
It's worth mentioning that the wsdl file haven't been modified from version 65.</tag>
Wondering if you can provide an advice for this situation.
Thank you guys.
Regards.
Juan Perez.
Previous had wrong style, this one is correct:
Using the older version, it generates a closing tag like that
</tag>
but using the newer version it generates a self-closing tag<tag y="423" />
.It's worth mentioning that the wsdl file haven't been modified from version 65
The self closing tags are releatively new to reduce the amount of XML data sent. You can enable
SOAP_XML_CANONICAL
to send canonical XML without self-closing tags.