on 10-11-2013 9:49 PM
Hi all,
we have a system PI 7.31 AEX SP7. For one interface (sender adapter HTTP_AAE, receiver adapter IDOC_AAE) messages failed with following error in message log:
Adding control record to payload failed due to SAXException while parsing payload to extract control record: Premature end of file.
MP: exception caught with cause com.sap.aii.af.idoc.exception.IDOCAdapterException: SAXException while parsing payload to extract control record: Premature end of file.
Exception caught by adapter framework: Premature end of file.
Transmitting the message to endpoint <local> using connection HTTP_AAE_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.idoc.exception.IDOCAdapterException: SAXException while parsing payload to extract control record: Premature end of file.
The error in the IDOC_AAE receiver channel is:
Message processing failed. Cause: com.sap.aii.af.idoc.exception.IDOCAdapterException: SAXException while parsing payload to extract control record: Premature end of file.
Can someone give me any hint where I can check to fix this issue?
Thanks & regards
Dingjun
Hi all,
I just want to update this thread. We applied the patch level 23 for component MESSAGING, and the issue is then resolved. The error in audit log is a little misleading.
Regards
Dingjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
just an update to this issue.
We have in our graphic message mapping an RFC lookup, and in ESR the message mapping runs correctly, however the RFC lookup is NOT executed in runtime, so that the mandatory nodes in target are not generated. But the misleading thing is, no error is reported in mapping step and wrongly in IDOC_AAE receiver adapter.
We have raised an OSS message for this and SAP confirmed this is a bug and we still wait for fix.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dingjun,
Try it. Check Advanced setting in IDoc_AAE Receiver Communication channel, Under maintain Control record in IDoc XML as "Not mandatory" and "make sure Apply control records from payload" should be Disable.then re-push the data.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just few cents... You might want to try this out... Get the xml source of your target structure (after mapping) and paste it in xmlspy and see whether you get any parser errors. This might helpful if this is due to mapping or not closing the tags properly or similar errors...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dingjun,
Premature end of file means - Payload doesn't end properly.
Check payload whether it ends with proper header nodes or not.
Regards,
Sid
Message was edited by: DNK Siddhardha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sid,
I have taken the payload from HTTP sender adapter and put it in the mapping program (graphical mapping), it created well formed and valid target XML file against XSD of the IDoc type.
And in the message log I can see, that the mapping has been executed without any error.
In which step can the payload be corrupt?
Regards
Dingjun
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
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.