I have a requirement in B2B where i have to read the positional flat filles from the partner. I have developed the parser schema as per below link.
I am able to read the file after implementing the same but the issue comes when the file contains mutiple records.
In this case B2B is splittilng the single file into multiple records. In the reports tab i could see multiple entries for single file.
Is it possible to read the entire file in one single instance through B2B without splitting the file in case of mutiple records?
Please guide me on this.
Thanks for the reply. As per your suggestion if I uncheck the translation the file will not convert into xml. My requirement is to convert the flat file into XML and read through SOA using B2B adapter. I am getting multiple XML files for a single input. Please suggest me how do i proceed ?
This is expected. When you disable the translation then B2B will process the flat-file as it is and pass it to middleware. If you enable the translation then inbound file will be automatically debatched and hence multiple XML's will be passed to the middleware.
If your requirement is to translate the flat file into single XML then you may use native schema translation at SOA for translating the flat file into XML -
While configuring the B2B adapter in SOA at step 6 where i have to select document defination , what is the option i need to select? Is it Opaque or should I i import the native schema which is created using Native Format buider? Please suggest me and correct me if i am going in wrong direction.
You cannot use native XSD translation in B2B adapter. Please use generic AQ adapter or JMS adapter (as per your requirement) to receive the transaction at SOA and use native XSD in that adapter to translate the message.
I could see an option while generating the parser schema "First Record in the guideline starts a new message" checkbox. If i uncheck the box and create the parser schema and upload in the server will it read the entire file for the multiple records without splitting?