on 06-21-2012 4:59 PM
Hi Guru,
I am haveing Error in Receiver Communication Channel with Variable Substitution. I am using Adapter Module - AF_Modules/PayloadZipbean to create .gz file in Receiver System. For the file name I am using Variable Substitution. Below is the Error Message in RWB.
Thanks in Advance.
Regards,
Deepesh Anand
Zip: successfully processed.
File Adapter Receiver processing started, required QoS ExactlyOnceInOrder.
File processing failed with com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: Caught SAXException while parsing XML payload: Content is not allowed in prolog.
Adapter Framework caught exception: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: Caught SAXException while parsing XML payload: Content is not allowed in prolog.
Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: Caught SAXException while parsing XML payload: Content is not allowed in prolog..
Hi,
I am afraid that paylodZipBean and Variable Substitution cannot be used together, because the module zips the actual content (so that it is no longer XML data), while VS analyzes the payload to find out the values for variables. If your payload is not XML data (which is the case here), VS won't be able to parse the payload and give your variables some values.
Same problem and its solution, including adapter module implementation, is described here:
Since June is the month of community appreciation, remember to rate or like the posts in that other thread that solve your problem .
Regards,
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check whether you have invalid binary characters or not
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Selvam,
Thanks for your reply.
Actually, Its works perfectly if I am NOT using Adapter Module - AF_Modules/PayloadZipbean. But as per client requirement, I need to send .ZIP (.gz) the file to the Receiver System.
with using Adapter Module, I am getting the above error message.
Regards,
Deepesh Anand
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.