on 10-10-2008 4:07 PM
Hi,
i have a problem with my XML....
My functional owners want the fallowing XML...I mean
<?xml version="1.0" encoding="UTF-8" ?>
<OATMessage xmlns="http://xml.kc.apps.oatsystems.com/OAT-Messages.xsd" xmlns:mstns="xml.kc.apps.oatsystems.com/OAT-Messages.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.kc.apps.oatsystems.com/OAT-Messages.xsd C:\OAT-Axiom\OAT-Messages.xsd">
.....
</OATMessage>
how can i acheive this as receiver XML.....I even took the XSD..but still the same problem....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>I am facing difficult to add some userdefined functions,IF else conditions,etc in XSLT mapping
You can do your interface mapping in 2 steps.
First do a message mapping using graphical mapping of XI,use your UDF,IF-Else etc in this mapping.This will be a source to target mapping
The second mapping will be a XSLT mapping which will change XML in the desired format.This will be a target to target XSLT mapping.
Then in interface mapping specify the graphical mapping first and under it specify the XSLT mapping.
Have a look at the following blog to see how to use multiple message mappings in 1 interface mapping
Thanx
Aamir
Hi Harsha
XSLT is the best option for these problems but If the message is having Sender communication channel then you can replace the XML tags coming using the XMLAnonymizerBean
Refer
Stefen's Blog
SAP Help
http://help.sap.com/saphelp_nw70/helpdata/EN/45/d169186a29570ae10000000a114a6b/content.htm
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
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.