Originally posted by John Hervatin
Hello! We are trying to build an TCP/IP interface to receive inbound XML messages. We are assuming we need to use PDL-TCPIP protocol, but what PDL should we use. The incoming message appears to have no start encoding characters, and to terminate with 0x0a. Is this standard for XML interfaces? Is there a PDL available consistent with this?
Since we didn't know what PDL to use, we emulated an existing HL7 terface and used mlp-tcp.pdl, but this looks for the HL7 MLP control characters. Of course, that does not work. To make it work with the XML message, would we just make a variant of mlp-tcp.pdl that defines no start character and an ending string of 0x0a?
Thanks in advance for any insight you folks might have,
- John Hervatin
Here is the dump of the incoming message:
3c 3f 78 6d 6c 20 76 65 |<?xml ve|
72 73 69 6f 6e 3d 22 31 |rsion="1|
2e 30 22 20 65 6e 63 6f |.0" enco|
64 69 6e 67 3d 22 55 54 |ding="UT|
46 2d 38 22 20 73 74 61 |F-8" sta|
: : : : : : : : : : : :
36 39 2d 31 32 2d 33 31 |69-12-31|
3c 2f 53 54 46 69 6e 61 |</STFina|
63 74 69 76 61 74 69 6f |ctivatio|
6e 44 61 74 65 3e 0a 3c |nDate>.<|
2f 6f 69 6d 3e 0a |/oim>.|