on 06-16-2014 5:47 AM
Dear PI Experts,
I have encountered an error which says that "Content is not allowed in prolog" when checking the payload. Same configuration and settings (except for the file extension of course) used for xml file and it worked. I tried searching the web and found similar one but still the issue persists. I double checked my interface pattern and it is already Stateless (XI30 - Compatible) which is attached below. The blog that i found is also indicated below.
We are using PI 7.40 and the file that we are converting is in CSV and the target is WPUTAB (an iDoc).
Can somebody please share your experience on this one? Thanks much!
Kind regards,
Mark
Message was edited by: Mark Alvin Arca
Hello Mark,
If you are still facing the problem you could follow the blog you mentioned and get rid of it. Since you're using PI 7.4, your configuration must be in ICO. Please remove the SWCV from Interface Mapping (Inbound Processing) step and additionally do a cache refresh. That should do just fine.
Regards
Bibek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
Sorry for the late reply. Please try deleting and then recreating the ICO. Further please check Integration Directory > Environment > Cache Status Overview. All the cache instances for changes made should be 'Green'.
Apart from the ABAP cahce (Tx : SXI_CACHE) please also perform a Delta / Full Java Cache refresh. (http://<Host>:<Port>/CPACache/refresh?mode=<delta/full>)
Hope this helps.
Thanks
Bibek
Hi Mark,
The problem could came in depending of several factors. If you have checked out the blog, you should to check if you XML payload fit your XML schemas or the XML payload is not null.
If you are using the Payloadswapbean module, check this note 1861721 - Errors in message split scenarios using PayloadSwapBean
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Iñaki,
Thank you for your time in checking and answering my inquiry. Does XML payload apply if the source is CSV and target is iDoc? I was able to complete the scenario for inbound when using an XML file. The problem and the error message i mentioned above is only showing if the source file is CSV. I have not changed my configurations which i used for XML file except of changing the file extension to CSV.
Thanks in advance for your comment. Please let me know if you need futher screenshots or info.
Kind regards,
Mark
Dear Mark,
Thank you for your valuable input. I was also thinking that idea and came across the below link related to your suggestion as it is working if it is in XML file type.
http://www.riyaz.net/sap/xipi-file-content-conversion-for-simple-structure/75/
Though i already grasped few idea about how content conversion is made, still i couldn't understand how to populate the fields. Please see below screenshot for the details i configured and kindly comment if I incorrectly populated the fields. I have to admit that I'm really a newbie in PI and I really need the help of the experts like you.
Other fields not shown:
Document Name: my Message Type
Document Namespace: my namespace
Within the communication channel_sender (source tab):
1_Does Server mean the IP address of the sender system (PI)?
2_Port is being defaulted to 21. Normally this is the default if I used File Transfer Protocol. Is this the correct data for this field?
3_Is it fine if I use File System (NFS) instead of File Transfer Protocol?
Thanks in advance for your patience and effort in checking and answering my inquiries.
Kind regards,
Mark
Hi Mark,
I'll have get back to you with your FCC config, for now:
Within the communication channel_sender (source tab):
1_Does Server mean the IP address of the sender system (PI)?
2_Port is being defaulted to 21. Normally this is the default if I used File Transfer Protocol. Is this the correct data for this field?
3_Is it fine if I use File System (NFS) instead of File Transfer Protocol?
Thanks in advance for your patience and effort in checking and answering my inquiries.
Kind regards,
Mark
1. Yes, it is the hostname of the sender system. If the hostname can't be resolved, you have to use IP address
2. 21 is the default port for FTP. If the sender specifies otherwise, 21 is used.
3. NFS is the native file system (local) that your XI is installed. FTP on the other hand allows you to transfer files from their server to yours. In your case, you most probably have to use FTP.
Hope this helps,
Mark
User | Count |
---|---|
84 | |
24 | |
11 | |
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.