App Connect

 View Only
  • 1.  ISO to DFDL Conversion

    Posted Sat August 28, 2021 11:51 AM
    Hi Team,

    I am trying to convert my ISO Message to DFDL format. (ISO8583 1987)

    Appconnect sample ISO Message I am able to convert properly in app connect.

    But If I build ISO Message in my java code I am not able to convert that message into DFDL.

    Is there any documentation or client code available to build ISO Message that can be converted into DFDL?

    My ISO Message : 1200ð0 €(161000001111222230280000000000000000000015340115340120210828185408202108282001050458099842110151134009000100090001000221 Gulshan Ave DHAKA BD050101111222231003MBK008IBN MOBL

    Appconnect ISO : 1111ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ191111111111111111111402010000000001500000000001500000000001500123123595900000100768870506997252299999923595912310112120112011231601082684082601101100101011C0001500C0001500C0001500C00015001111111111111111111111111128111111111111111111111111111126;11111111111111111=1215=?1062;112222222222222222222=1231123412341234121123456112121212341?1b1b1b1b1b1b1a1a1a1a1a1aa1a#a1a#a1a#a1a#a1a#a1aa1a#a1a#a1a#a1a#a1a#a1a#a1a#a1a#a1a#a1a#25a1a#a1a#a1a#a1a#a1a#a1a#a35%A11111111111111111^JOHN DOE^1215^?001100110011001001001123456781111111111111111010a1a1a1a1a1001100110011001100110011001100110011 11282682627012341234010101123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890121234567890121234567890121234567890121234567890123456123456789012345612345678901234561234567890123456123456789012345678901234567890123456789012a12a1a1aa1a1a1aa1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a11111111111111111a1#a1#a1#a1#a1#a1#a1#a1#a1111111111111111111111111117a1#a1#a1#a1#a1#a1281111111111111111111111111111281111111111111111111111111111009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#009a1#a1#a1#

    I hope I am facing problem in bitmap construction. I am converting the binary to ascii after generating the bitmap.

    But I am not sure app connect sample ISO message they did the same or not.

    Any help will be greatly appreciated!!!

    ------------------------------
    SELVAKUMAR ANANTHARAJ
    ------------------------------


  • 2.  RE: ISO to DFDL Conversion

    Posted Thu September 02, 2021 05:51 PM
    Without an error or problem statement, we cannot really assist.  "Not able to convert" could mean anything and we cannot draw conclusions.

    ISO-8853 has a bitmap which is processes bit-by-bit.  Converting this to ASCII may not work as ASCII is not really constant, it depends on the code page used.  If the code page was known, we could reverse it.

    You state you are building the message in Java.  Does this mean that you are building a String object with the ISO message or are you building a DFDL message field-by-field?

    For assistance, please open a case and provide your project with Java code and error you see.  If input data is needed, please include this as well.

    ------------------------------
    MATTHEW SEGALL
    ------------------------------



  • 3.  RE: ISO to DFDL Conversion

    Posted Fri September 03, 2021 12:09 AM
    Hi Matthew,

        Thanks for the response.
       
        I am building ISO String Object in java project not DFDL.

        I am facing problem while I tested the generated ISO with DFDL parser. DFDL parser is unable to parse my ISO String. My parsed bitmap value is incorrect.

        Sorry I am not aware of case. Open a case means, should I need to create new post with the code?

    ------------------------------
    SELVAKUMAR ANANTHARAJ
    ------------------------------



  • 4.  RE: ISO to DFDL Conversion

    Posted Fri September 03, 2021 08:47 AM
    Open a case refers to interacting with IBM Support to address a problem.  You can open a case here: https://www.ibm.com/mysupport/s/

    What if you build the DFDL message in Java and then serialize to String?  Does this give you the same or different message?

    ------------------------------
    MATTHEW SEGALL
    ------------------------------



  • 5.  RE: ISO to DFDL Conversion

    Posted Fri September 03, 2021 10:25 AM
    Hi Mathew,

    Problem is not with the entire string. Only the bitmap format. Bitmap is different from mine and test ISO data. I couldn't find which encoding used for bitmap in test ISO Data

    ------------------------------
    SELVAKUMAR ANANTHARAJ
    ------------------------------



  • 6.  RE: ISO to DFDL Conversion

    Posted Fri September 03, 2021 11:52 AM
    The bitmaps should differ.  The bitmap indicates how many other fields are present in the message.  Your message is quite a bit shorter so should have different bits set.
    The bitmap as the name suggests is a map of bits.  There should be no encoding on these.  Encoding would only apply in the unpacked model.  Are you using the unpacked version?  Are you building the bitmap by bits or bytes or something else?  The Java data type you use may be effecting the result.

    ------------------------------
    MATTHEW SEGALL
    ------------------------------



  • 7.  RE: ISO to DFDL Conversion

    Posted Fri September 03, 2021 12:07 PM
    Yes The Bitmap is differ. That I agree. But bitmap we are not passing as binary. We are converting binary to ascii. But I am not sure about test ISO bitmap.But i can say its not plain binary data.

    I am converting the binary bitmap to ascill so i am gettting the below string
    ð0 €(
    In Test ISO that bitmap is like
    ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ

    I am not sure test ISO also binary bitmap is converted to ascii. I just want to know this format.so that i can change my code to produce the same iso message like test ISO message provided by IBM

    ------------------------------
    SELVAKUMAR ANANTHARAJ
    ------------------------------