on 05-02-2007 11:04 AM
Hi
I have a straight forward scenario: XML file to IDOC. (XI 3.0 , SP17).
But here is the challenge:
In addition to map selected fields from source message to target message, I need to map the entire payload into a singel target field.
Eg.
Source:
<msg>
<id>654321</id>
<name>Tom</name>
<age>33</age>
</msg>
Target:
<IDOC>
<ID>654321</ID>
<NAME>Tom</NAME>
<PAYLOAD><![CDATA[<msg><id>654321</id><name>Tom</name><age>33</age></msg>]]></PAYLOAD>
</IDOC>
I believe the source XML should be enclosed in <!CDATA[ ]]> to be treated as text in the PAYLOAD tag.
Any suggestions on how to achieve this?
Br,
Elling
hi,
have a look at my blog:
XI: XML node into a string with graphical mapping?
/people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Even i am also referring the michals blog, so try to achieve with that blog
Regards
Chilla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.