on 10-03-2016 4:14 PM
Hi Experts,
I am trying to use MessageTransformBean in Rest Sender adapter
Structure:
InputFile:
Transaction Detail Report,1.0,2016-09-12 to 2016-09-12,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
row_descriptor,request_id,transaction_date,merchant_ref_number
Request,4736568991066859004009,2016-09-12T05:08:19+01:00,1400033202
Request,4736568991066859004009,2016-09-12T05:08:19+01:00,1400033202
Request,4736568991066859004009,2016-09-12T05:08:19+01:00,1400033202
Request,4736568991066859004009,2016-09-12T05:08:19+01:00,1400033202
How to ignore first 2 rows
My Structure is
1 | localejbs/AF_Modules/MessageTransformBean | Local Enterprise Bean | PlaintoXML |
2 | CallSapAdapter | Local Enterprise Bean | rest |
I am ending up with below output
<?xml version="1.0" encoding="utf-8"?>
<ns:TransactionReport xmlns:ns="urn:abc">
</ns:TransactionReport>
Please help me to sort this out.
Thanks,
Tapasya
Hi Tapasya,
I dont see the keys in the your input file.If there is no keys you need to use SimplePlainToXML.
Regards,
Praveen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.