on 03-23-2011 1:15 PM
Hi all,
I have a flat file to flat file scenario. I pick up a file in a specific format and produce a flat file in tab delimited format after some mapping.
Everything is ok. All the functionality is working perfectly. However, there is one small error. In case the source file is empty, there is an error message in SXMB_MONI (which is correct as there is no XML content) but I still need to generate an empty output file.
Is this possible ? Can I change something at the 'File Content Conversion' level ?
Any advise will be highly appreciated.
Thanks,
Freddy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Freddy,
>>>Problem while determining receivers using interface mapping: Error while determining root tag of XML: BOM / charset detection failed.
The charset of the XML cannot be determined. That is written clearly in the message.
Is your XML belongs to UTF-16 or UTF-32? Then it needs a BOM which is missing.
Have a look at below link.
http://en.wikipedia.org/wiki/Byte-order_mark
Check, if there is an XML header and which charset is mentioned.
Regards,
P.Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Freddy,
If using PI 7.1 and above do the following:
in sender channel:
under processing tab -> Empty File Handling -> Select Process Empty Files out of the available 3 options
in receiver channel:
under processing tab -> Empty Message Handling -> Select Write Empty File option
If you are using XI 3.0 or PI 7.0 you will have to face the error in moni. No workaround.
Cheers,
Souvik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for your replies.
I have implemented the above mentioned solution. However, I am still getting the following error in SXMB_MONI.
Problem while determining receivers using interface mapping: Error while determining root tag of XML: BOM / charset detection failed
There is no content in the file.
Thanks,
Bhanu.
Hi Freddy,
you can change the occurance ot the target data type element(s) to minOccurs = 0
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.