cancel
Showing results for 
Search instead for 
Did you mean: 

Consistency error: more fields found in XML structure than specified in conversion parameters in Advanced Adapter Engine

Former Member
0 Kudos

Hi All,

My requirement is to use Advanced Adapter Engine for File To File scenario without using Mappings, Receiver/Interface Determination and Agreement.

I have developed and it is working for single record (Sender Text file and Receiver Text File), but if i provide multiple records then it is not working.

Here is my data types,

Sender Data Type

Receiver Data Type,

And create Message Type and Service Interface.

Then in Integration Directory,

Created Sender and Receiver Communication Channel,

Sender CommunicationChannel (File Adapter),

Receiver Communication Channel,

And finally created Integrated Communication.

My input file contains value like this,

"123456789fsfsfiosfojgldngkherogjlermglahreowkjrmlenhrkh[pkerpjhelrkjehiurfoeirjgkeifher35875154484215745421jkdhglkjdsjlghdukhgkjldhgkjsehgkjhwrekjgh"

I am able to get the output file.

But if I provide multiple records its failing and I am getting the error "Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters! (Value 'Testing636')', probably configuration error in file adapter (XML parser error)'"

Eg. multiple record file

"123456789fsfsfiosfojgldngkherogjlermglahreowkjrmlenhrkh[pkerpjhelrkjehiurfoeirjgkeifher35875154484215745421jkdhglkjdsjlghdukhgkjldhgkjsehgkjhwrekjgh"

"Testing636"

I am getting error,

Can anyone pls help me out in this.......... I have to use compulsorily Advanced Adapter Engine.

Thanks in Advance,

Vichu

Accepted Solutions (0)

Answers (1)

Answers (1)

zameerf
Contributor
0 Kudos

Hi,

>>I have developed and it is working for single record (Sender Text file and Receiver Text File)

Whether you have to pick the input file and place as it is in the receiver side?

If so, you do not have to do FCC. You can achieve this only with ID objects and without any ESR objects.

Former Member
0 Kudos

Hey Zameer thanks for your quick reply..... Actually at present yes, my scenario is to place the file from 1 place to other but later it may change to File to Proxy...

How to acheive it without ESR i even tried that way but it ends up with the error as im new to pi.  Can you plz guide me with step by step procedure if possible ????

zameerf
Contributor
0 Kudos

Check the below blog by William Li,

http://scn.sap.com/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-wit...

Just follow the steps in ID, except that you use Integrated Communication instead of creating Rec.Det, Int Det, Send. Agrmt, Recv. Agrmt separately.

Once this works, then you can try to develop a scenario for your future requirement from File to Proxy. In that case make your Data Type with a simple structure like DT Name->Record->Field. You can try out options in FCC then to meet your requirements.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

I have seen similar thread yesterday. Repeated thread with the same requirement would cause experts confusion and you might not get the appropriate answer.

If you dont want mapping and use pass through scenario that means moving the file from one location to another. You dont need ESR objects. Just create ID objects as I already explained. You can provide dummy sender and receiver interface name and namespace. 

If you are doing file to proxy means then you need mapping. Here input source could be text data file or XML. If you have text file then you need to do File content conversion. In your case you dont need FCC.

Please search SCN for file to file without mapping.  You can also see the other threads reply about doing in Integrated configuration.

Hope that helps.