This topic contains 0 replies, has 1 voice, and was last updated by  Can 4 years, 9 months ago.

XML ACK messages and LLP settings

  • 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 as an ACK
    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"?>

    1380060
    MR
    WATES
    TOM
    M
    01011970
    24 DINGWALL DRIVE
    WIRRAL
    MERSEYSIDE
    CH49 1SG

    0
    Z

    G8307059

    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 .1380060 .MR.<sur name>WAT<br /> 45 53 3C 2F 53 75 72 6E 61 6D 65 3E 0A 3C 46 6F ES.<fo 72 65 6E 61 6D 65 3E 54 4F 4D 3C 2F 46 6F 72 65 rename>T OM.<s ex>M.<date OfBirth><br /> 30 31 30 31 31 39 37 30 3C 2F 44 61 74 65 4F 66 01011970 .< /PIDKey><br /> 0A 3C 50 49 44 61 64 64 72 3E 0A 3C 41 64 64 72 .<pidadd r>.<addr 31 3E 32 34 20 44 49 4E 47 57 41 4C 4C 20 44 52 1>24 DIN GWALL DR<br /> 49 56 45 3C 2F 41 64 64 72 31 3E 0A 3C 41 64 64 IVE.<add 72 32 3E 57 49 52 52 41 4C 3C 2F 41 64 64 72 32 r2>WIRRA L.<addr3>MERSEYS<br /> 49 44 45 3C 2F 41 64 64 72 33 3E 0A 3C 41 64 64 IDE</addr3></add>.<add 72 34 20 43 6C 65 61 72 46 69 65 6C 64 3D 22 31 r4 Clear Field="1 22 2F 3E 0A 3C 50 6F 73 74 43 6F 64 65 3E 43 48 "></add>.<pos tCode>CH<br /> 34 39 20 31 53 47 3C 2F 50 6F 73 74 43 6F 64 65 49 1SG..<pi 44 6E 68 3E 0A 3C 4E 48 4E 75 6D 62 65 72 20 43 Dnh>.<nh Number C 6C 65 61 72 46 69 65 6C 64 3D 22 31 22 2F 3E 0A learFiel d="1"></nh>.<br /> 3C 4E 48 56 61 6C 69 64 61 74 69 6F 6E 3E 30 3C <nhvalid ation>0< 2F 4E 48 56 61 6C 69 64 61 74 69 6F 6E 3E 0A 3C /NHValid ation>.< 2F 50 49 44 6E 68 3E 0A 3C 50 49 44 6F 72 69 67 /PIDnh>. <pidorig 69 6E 3E 0A 3C 4F 72 69 67 69 6E 43 6F 64 65 3E in>.<ori ginCode><br /> 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>.<sup 49 6E 66 6F 3E 0A 3C 53 74 61 74 75 73 20 43 6C Info>.<s tatus Cl 65 61 72 46 69 65 6C 64 3D 22 31 22 2F 3E 0A 3C earField ="1"></s>.< 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> ..</sup></ori></pidorig></nhvalid></pi>.<br /> 3C 2F 50 41 53 4D 65 73 73 61 67 65 3E 0A .</pos></addr></pidadd></date></s></fo></sur>

You must be logged in to reply to this topic.