When I receive a xml request in TRpcServer and it has a struct type,
the parser replace the element struct name for the name of last element
into the own struct. An example:
Look at the structure name is replaced to 'extensoes' for 'ssl' (the last element).
I put a null element named "extensoes" at end of struct from provisory solution, but this dont is a good patch.
I wait for your help ASAP.
Thanks and regards,
Rodrigo Salvador
rodrigo_salvador@allnet.com.br
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
When I receive a xml request in TRpcServer and it has a struct type,
the parser replace the element struct name for the name of last element
into the own struct. An example:
The correct case may be:
<value>
<struct>
<member>
<name>dominio</name>
<value><string>dom98.com.br</string></value>
</member>
<member>
<name>cdprd</name>
<value><string>0820001</string></value>
</member>
<member>
<name>extensoes</name>
<value>
<struct>
<member>
<name>dotNet</name>
<value><boolean>0</boolean></value>
</member>
<member>
<name>ssl</name>
<value><boolean>0</boolean></value>
</member>
</struct>
</value>
</member>
</struct>
</value>
But the parser return this:
<value>
<struct>
<member>
<name>dominio</name>
<value><string>dom98.com.br</string></value>
</member>
<member>
<name>cdprd</name>
<value><string>0820001</string></value>
</member>
<member>
<name>ssl</name>
<value>
<struct>
<member>
<name>dotNet</name>
<value><boolean>0</boolean></value>
</member>
<member>
<name>ssl</name>
<value><boolean>0</boolean></value>
</member>
</struct>
</value>
</member>
</struct>
</value>
Look at the structure name is replaced to 'extensoes' for 'ssl' (the last element).
I put a null element named "extensoes" at end of struct from provisory solution, but this dont is a good patch.
I wait for your help ASAP.
Thanks and regards,
Rodrigo Salvador
rodrigo_salvador@allnet.com.br