This topic contains 0 replies, has 1 voice, and was last updated by Can 9 years, 11 months ago.
XML ACK messages and LLP settings
You must be logged in to reply to this topic.
This topic contains 0 replies, has 1 voice, and was last updated by Can 9 years, 11 months ago.
Do you have any sample XML ACK messages?
I have created a channel (LLP Listener, Queue) to receive XML messages and the sender application is expecting
I am using translator for the ACKs.
This is what I am using in the translator.
————————————————————————–
require(‘llp’)
function main(Data)
ack.send(‘< ?xml version="1.0" encoding="UTF-8"?>‘..’\r’..’
end
———————————————————————
When I send the XML message I am getting the following error.
Error while unwrapping LLP in listener connection from 192.168.162.42.
The following incoming data will be ignored because it was not preceded
by the LLP Header \x0B and terminated by the LLP Trailer \x1C\x0D (hex dump follows):
< ?xml version="1.0"?>
Hex Dump:
3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D 22 31 < ?xml ve rsion="1
2E 30 22 3F 3E 0A 0A 3C 21 2D 2D 20 49 6D 73 20 .0"?>...
.
3C 50 49 44 4B 65 79 3E 0A 3C 43 61 73 65 4E 6F
45 53 3C 2F 53 75 72 6E 61 6D 65 3E 0A 3C 46 6F ES.M.
30 31 30 31 31 39 37 30 3C 2F 44 61 74 65 4F 66 01011970 .< /PIDKey>
0A 3C 50 49 44 61 64 64 72 3E 0A 3C 41 64 64 72 .
49 56 45 3C 2F 41 64 64 72 31 3E 0A 3C 41 64 64 IVE.
49 44 45 3C 2F 41 64 64 72 33 3E 0A 3C 41 64 64 IDE
34 39 20 31 53 47 3C 2F 50 6F 73 74 43 6F 64 65 49 1SG..
3C 4E 48 56 61 6C 69 64 61 74 69 6F 6E 3E 30 3C
5A 3C 2F 4F 72 69 67 69 6E 43 6F 64 65 3E 0A 3C Z.< 2F 50 49 44 6F 72 69 67 69 6E 3E 0A 3C 53 75 70 /PIDorig in>...< 47 50 43 6F 64 65 3E 47 38 33 30 37 30 35 39 3C GPCode>G 8307059< 2F 47 50 43 6F 64 65 3E 0A 3C 2F 53 75 70 49 6E /GPCode> ..
3C 2F 50 41 53 4D 65 73 73 61 67 65 3E 0A .
You must be logged in to reply to this topic.