Example ISO8583 input test data is provided which has every field in the message
populated with a value. This is provided in the application ISO8583TestApplication
in the file named Test_ISO8583_to_XML.txt.
Note that this file contains non-printable characters for the
Primary Bitmap, Secondary Bitmap and the fields in the ISO8583 model which are of binary type.
Should you open this file to inspect the data, depending on the capability of the editor that you use, some
of the fields in the data may not be easily readable. The corresponding output message should be
in XML format and should be written to the output queue named ISO8583.OUT. The format of this
message is shown below:
<ISO8583_1987> <MTI_Version>1</MTI_Version> <MTI_MessageClass>1</MTI_MessageClass> <MTI_MessageFunction>1</MTI_MessageFunction> <MTI_MessageOrigin>1</MTI_MessageOrigin> <PrimaryAccountNumber_002>1111111111111111111</PrimaryAccountNumber_002> <ProcessingCode_003>402010</ProcessingCode_003> <AmountTransaction_004>1500</AmountTransaction_004> <AmountSettlement_005>1500</AmountSettlement_005> <AmountCardHolderBilling_006>1500</AmountCardHolderBilling_006> <TransmissionDatetime_007>1970-12-31T23:59:59</TransmissionDatetime_007> <AmountCardHolderBillingFee_008>100</AmountCardHolderBillingFee_008> <ConversionRateSettlement_009>76887050</ConversionRateSettlement_009> <ConversionRateCardholderBilling_010>69972522</ConversionRateCardholderBilling_010> <SystemsTraceAuditNumber_011>999999</SystemsTraceAuditNumber_011> <TimeLocalTransaction_012>23:59:59</TimeLocalTransaction_012> <DateLocalTransaction_013>1970-12-31</DateLocalTransaction_013> <DateExpiration_014>2001-12-01</DateExpiration_014> <DateSettlement_015>1970-12-01</DateSettlement_015> <DateConversion_016>1970-12-01</DateConversion_016> <DateCapture_017>1970-12-31</DateCapture_017> <MerchantType_018>6010</MerchantType_018> <AcquiringInstitutionCountryCode_019>826</AcquiringInstitutionCountryCode_019> <PANExtendedCountryCode_020>840</PANExtendedCountryCode_020> <ForwardingInstitutionCountryCode_021>826</ForwardingInstitutionCountryCode_021> <PointOfServiceEntryMode_022>011</PointOfServiceEntryMode_022> <CardSequenceNumber_023>011</CardSequenceNumber_023> <NetworkInternationalIdentifier_024>001</NetworkInternationalIdentifier_024> <PointOfServiceConditionCode_025>01</PointOfServiceConditionCode_025> <PointOfServiceCaptureCode_026>01</PointOfServiceCaptureCode_026> <AuthorizingIdentificationResponseLength_027>1</AuthorizingIdentificationResponseLength_027> <AmountTransactionFee_028>C0001500</AmountTransactionFee_028> <AmountSettlementFee_029>C0001500</AmountSettlementFee_029> <AmountTransactionProcessingFee_030>C0001500</AmountTransactionProcessingFee_030> <AmountSettlementProcessingFee_031>C0001500</AmountSettlementProcessingFee_031> <AcquiringInstitutionIdentificationCode_032>11111111111</AcquiringInstitutionIdentificationCode_032> <ForwardingInstitutionIdentificationCode_033>11111111111</ForwardingInstitutionIdentificationCode_033> <PrimaryAccountNumberExtended_034>1111111111111111111111111111</PrimaryAccountNumberExtended_034> <Track2Data_035>;11111111111111111=1215=?1</Track2Data_035> <Track3Data_036>;112222222222222222222=1231123412341234121123456112121212341?1</Track3Data_036> <RetrievalReferenceNumber_037>b1b1b1b1b1b1</RetrievalReferenceNumber_037> <AuthorizationIdentificationResponse_038>a1a1a1</AuthorizationIdentificationResponse_038> <ResponseCode_039>a1</ResponseCode_039> <ServiceRestrictionCode_040>a1a</ServiceRestrictionCode_040> <CardAcceptorTerminalIdentification_041>a1a#a1a#</CardAcceptorTerminalIdentification_041> <CardAcceptorIdentificationCode_042>a1a#a1a#a1a#a1a</CardAcceptorIdentificationCode_042> <CardAcceptorNameLocation_043>a1a#a1a#a1a#a1a#a1a#a1a#a1a#a1a#a1a#a1a#</CardAcceptorNameLocation_043> <AdditionalResponseData_044>a1a#a1a#a1a#a1a#a1a#a1a#a</AdditionalResponseData_044> <Track1Data_045>%A11111111111111111^JOHN DOE^1215^?</Track1Data_045> <AdditionalDataISO_046>1</AdditionalDataISO_046> <AdditionalDataNational_047>1</AdditionalDataNational_047> <AdditionalDataPrivate_048>1</AdditionalDataPrivate_048> <CurrencyCodeTransaction_049>001</CurrencyCodeTransaction_049> <CurrencyCodeSettlement_050>001</CurrencyCodeSettlement_050> <CurrencyCodeCardholderBilling_051>001</CurrencyCodeCardholderBilling_051> <PersonalIdentificationNumberData_052>3132333435363738</PersonalIdentificationNumberData_052> <SecurityRelatedControlInformation_053>1111111111111111</SecurityRelatedControlInformation_053> <AdditionalAmounts_054>a1a1a1a1a1</AdditionalAmounts_054> <ReservedISO_055>1</ReservedISO_055> <ReservedISO_056>1</ReservedISO_056> <ReservedNational_057>1</ReservedNational_057> <ReservedNational_058>1</ReservedNational_058> <ReservedNational_059>1</ReservedNational_059> <AdviceReasonCode_060>1</AdviceReasonCode_060> <ReservedPrivate_061>1</ReservedPrivate_061> <ReservedPrivate_062>1</ReservedPrivate_062> <ReservedPrivate_063>1</ReservedPrivate_063> <MessageAuthenticationCode_064>0f0f0f0f0f0f0f0f</MessageAuthenticationCode_064> <TertiaryBitmap_065>0000000000000000</TertiaryBitmap_065> <SettlementCode_066>1</SettlementCode_066> <ExtendedPaymentCode_067>12</ExtendedPaymentCode_067> <ReceivingInstitutionCountryCode_068>826</ReceivingInstitutionCountryCode_068> <SettlementInstitutionCountryCode_069>826</SettlementInstitutionCountryCode_069> <NetworkManagementInformationCode_070>270</NetworkManagementInformationCode_070> <MessageNumber_071>1234</MessageNumber_071> <MessageNumberLast_072>1234</MessageNumberLast_072> <DateAction_073>2001-01-01</DateAction_073> <CreditsNumber_074>1234567890</CreditsNumber_074> <CreditsReversalNumber_075>1234567890</CreditsReversalNumber_075> <DebitsNumber_076>1234567890</DebitsNumber_076> <DebitsReversalNumber_077>1234567890</DebitsReversalNumber_077> <TransferNumber_078>1234567890</TransferNumber_078> <TransferReversalNumber_079>1234567890</TransferReversalNumber_079> <InquiriesNumber_080>1234567890</InquiriesNumber_080> <AuthorizationsNumber_081>1234567890</AuthorizationsNumber_081> <CreditsProcessingFeeAmount_082>123456789012</CreditsProcessingFeeAmount_082> <CreditsTransactionFeeAmount_083>123456789012</CreditsTransactionFeeAmount_083> <DebitsProcessingFeeAmount_084>123456789012</DebitsProcessingFeeAmount_084> <DebitsTransactionFeeAmount_085>123456789012</DebitsTransactionFeeAmount_085> <CreditsAmount_086>1234567890123456</CreditsAmount_086> <CreditsReversalAmount_087>1234567890123456</CreditsReversalAmount_087> <DebitsAmount_088>1234567890123456</DebitsAmount_088> <DebitsReversalAmount_089>1234567890123456</DebitsReversalAmount_089> <OriginalDataElements_090>123456789012345678901234567890123456789012</OriginalDataElements_090> <FileUpdateCode_091>a</FileUpdateCode_091> <FileSecurityCode_092>12</FileSecurityCode_092> <ResponseIndicator_093>a1a1a</ResponseIndicator_093> <ServiceIndicator_094>a1a1a1a</ServiceIndicator_094> <ReplacementAmounts_095>a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1</ReplacementAmounts_095> <MessageSecurityCode_096>0f0f0f0f0f0f0f0f</MessageSecurityCode_096> <AmountNetSettlement_097>1111111111111111</AmountNetSettlement_097> <Payee_098>a1#a1#a1#a1#a1#a1#a1#a1#a</Payee_098> <SettlementInstitutionIdentificationCode_099>11111111111</SettlementInstitutionIdentificationCode_099> <ReceivingInstitutionIdentificationCode_100>11111111111</ReceivingInstitutionIdentificationCode_100> <FileName_101>a1#a1#a1#a1#a1#a1</FileName_101> <AccountIdentification1_102>1111111111111111111111111111</AccountIdentification1_102> <AccountIdentification2_103>1111111111111111111111111111</AccountIdentification2_103> <TransactionDescription_104>a1#a1#a1#</TransactionDescription_104> <ReservedISO_105>a1#a1#a1#</ReservedISO_105> <ReservedISO_106>a1#a1#a1#</ReservedISO_106> <ReservedISO_107>a1#a1#a1#</ReservedISO_107> <ReservedISO_108>a1#a1#a1#</ReservedISO_108> <ReservedISO_109>a1#a1#a1#</ReservedISO_109> <ReservedISO_110>a1#a1#a1#</ReservedISO_110> <ReservedISO_111>a1#a1#a1#</ReservedISO_111> <ReservedNational_112>a1#a1#a1#</ReservedNational_112> <ReservedNational_113>a1#a1#a1#</ReservedNational_113> <ReservedNational_114>a1#a1#a1#</ReservedNational_114> <ReservedNational_115>a1#a1#a1#</ReservedNational_115> <ReservedNational_116>a1#a1#a1#</ReservedNational_116> <ReservedNational_117>a1#a1#a1#</ReservedNational_117> <ReservedNational_118>a1#a1#a1#</ReservedNational_118> <ReservedNational_119>a1#a1#a1#</ReservedNational_119> <ReservedPrivate_120>a1#a1#a1#</ReservedPrivate_120> <ReservedPrivate_121>a1#a1#a1#</ReservedPrivate_121> <ReservedPrivate_122>a1#a1#a1#</ReservedPrivate_122> <ReservedPrivate_123>a1#a1#a1#</ReservedPrivate_123> <ReservedPrivate_124>a1#a1#a1#</ReservedPrivate_124> <ReservedPrivate_125>a1#a1#a1#</ReservedPrivate_125> <ReservedPrivate_126>a1#a1#a1#</ReservedPrivate_126> <ReservedPrivate_127>a1#a1#a1#</ReservedPrivate_127> <MessageAuthenticationCode_128>0f0f0f0f0f0f0f0f</MessageAuthenticationCode_128> </ISO8583_1987>
Example XML input test data is provided which has every field in the message
populated with a value. This is provided in the application ISO8583TestApplication
in the file named Test_XML_to_ISO8583.txt. The corresponding output message should be
in ISO8583 format and should be written as a TCPIP stream to the socket defined by the message
flow ISO8583_WMQ_to_TCPIP (by default port 1111). The format of the message
is shown below. Note that this message contains some binary fields which do not render as human readable
characters. These parts of the message are shown as hexadecimal values <in bold type>.
Line feed characters have also been inserted below to display the message in a more readable manner.
1111<0xff><0xff><0xff><0xff><0xff><0xff><0xff><0xff><0xff><0xff><0xff><0xff><0xff><0xff><0xff><0xff>1911111111111111111114020100000000015000000000015000000000015 00123123595900000100768870506997252299999923595912310112120112011231601082684082601101100101011C0001500C0001500C0001500C0001500111111111111111111111111112 8111111111111111111111111111126;11111111111111111=1215=?1062;112222222222222222222=1231123412341234121123456112121212341?1 b1b1b1b1b1b1a1a1a1a1a1aa1a#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<0x0f><0x0f><0x0f><0x0f><0x0f><0x0f><0x0f><0x0f><0x00><0x00> <0x00><0x00><0x00><0x00><0x00><0x00>11282682627012341234010101123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 121234567890121234567890121234567890121234567890123456123456789012345612345678901234561234567890123456123456789012345678901234567890123456789012a12a1a1aa1a 1a1aa1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1<0x0f><0x0f><0x0f><0x0f><0x0f><0x0f><0x0f><0x0f>1111111111111111a1#a1#a1#a1#a1#a1#a1#a1#a1111111111111111111 111111117a1#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#<0x0f><0x0f><0x0f><0x0f><0x0f><0x0f><0x0f><0x0f>