on 09-28-2009 8:35 AM
Hi All,
This might be a very simple doubt, but I dont have a clue abt it
I have a simple file to file scenario with input xml file as below
<?xml version="1.0" encoding="UTF-8"?>
<Root>
<Field>value</Field>
</Root>
This works fine, but the next few files expected are in a different fashion..as in the encoding is
<?xml version="1.0" encoding="iso-8859-1"?>
<Root>
<Field>value</Field>
</Root>
and another one without any encoding like
<?xml version="1.0"?>
<Root>
<Field>value</Field>
</Root>
Is it possible to process it in PI?..what are the ways to make sure these dont fail at the mapping level?
Pls help me on the above...
Regards,
Teja
Hi,
Have u tried with XMLAnonymizer bean in adapter module?
Regards,
Ganesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
U can have more info : http://help.sap.com/saphelp_nwpi71/helpdata/EN/45/d169186a29570ae10000000a114a6b/content.htm
Also if u r on Pi 7.1 you can try using TextCodepageConversionBean (http://help.sap.com/saphelp_nwpi71/helpdata/EN/45/da2deb47812e98e10000000a155369/content.htm).
Regards,
Ganesh
Is the the same for iso-8859-1??
Im unable to see the message in the sxmb_moni under inbound message..it sez xml page cannot be displayed
ne idea on this guys?...
do we always have to provide a namespace , mt and the encoding format in the input xml file?
pls help me out on this
Edited by: Ravindra Teja on Sep 28, 2009 1:12 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guys,
can ne one pls help m eout on this?????
Im still stuck...
I copied the payload from the message mapping and pasted it in the source folder..it runs fine and i get the output xml too..
but the actual xml file comin into XI/PI is of the format
<?xml version="1.0"?>
<Root>
<Field>value</Field>
</Root>
and fails in sxmb_moni...
what should i do now?
Regards,
Teja
Edited by: Ravindra Teja on Sep 28, 2009 7:05 PM
Hi,
you need to use XMLAnonymizerBean in sender channel for the same
and use the parameters available for the same i.e
anonymizer.acceptNameSpace and check the sample provided in the help for the same
http://help.sap.com/saphelp_nw70/helpdata/en/c9/775b3b82646c3ae10000000a114084/frameset.htm
Rajesh
Thanks guys
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
PI will process that without problem, if the encoding fits to the XMLdata. If no encoding is given, UTF is assumed (UTF-8 or other, depeding on byte order mask)
CSY
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.