I’m trying to pass XML messages through Cloverleaf 6.2, across TCP connections. All of the protocol choices I see seem to require some sort of stop & end control character. Neither vendor is encapsulating the messages with control characters, and I’m struggling to write a PDL for this connection when I have the thread set to PROTOCOL:tcpip-pdl.
I tried using the threads as PROTOCOL:tcpip and set the Encapsulated type to USER with the XML <Event & </Event> tags. Those seem to get consumed by the protocol and don’t continue with the message.
Is there documentation for writing a PDL that uses strings like XML tags to delimit the message rather than single control characters?
For example, this is how the messages start & end:
<pre><?xml version=”1.0″ encoding=”utf-16″?>
<Event xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=”http://www.w3.org/2001/XMLSchema” version=”1.0″ id=”1879852954″ seq=”1b474857-4844-4d8b-9ab3-5369300ba11d”>
…
</Event></pre>
… and this is how an Ack would come back:
<pre><?xml version=”1.0″ encoding=”utf-8″?><EventResponse version=”1.0″ id=”1879852954″><Status>ACK</EventResponse></pre>