Hi,
I'm writing XML simulator that suppose to be a black box.
Loads xml messages, transforms them into byte[] and sends to the other application via TCP/IP protocol without knowing how the application on the other side is implemented.
I need to convert XML message to byte[] and send it via TCP/IP,
but I can't use serialization, because nobody will do the desirialize on the other side(TCP/IP).
Is there any other way?
I have the xsd.
Example of such xml:
Thanks
I'm writing XML simulator that suppose to be a black box.
Loads xml messages, transforms them into byte[] and sends to the other application via TCP/IP protocol without knowing how the application on the other side is implemented.
I need to convert XML message to byte[] and send it via TCP/IP,
but I can't use serialization, because nobody will do the desirialize on the other side(TCP/IP).
Is there any other way?
I have the xsd.
Example of such xml:
Code:
<?xml version="1.0"?>
<Msg xmlns:xsi="[URL]http://www.w3.org/2001/XMLSchema-instance[/URL]" xsi:noNamespaceSchemaLocation="msg.xsd">
<header>
<id>7</id>
<source_address>127.0.0.1</source_address>
</header>
<body>
<location>North</location>
<report_time>
<day_of_month>20</day_of_month>
</report_time>
</body>
</Msg>
Comment