on 11-20-2008 1:34 PM
hello
I have WS 2 RFC sync scenario. in the WS I recieve a long XML file, and I map some of the xml to the target fields in the RFC. I have an Exatra target field in the RFC, the I would also like to insert all the XML file as it is. (so I will have also the mapped fields with specific fields, and also the all XML file in the targeted filed in the RFC).
first, I would like to know if this is possible, and if so, how should I define the RFC or the WSDL so I will be able to do it?
Thanks
Kfir
Hi Kfir,
you can use a xsl mapping like published in web log [BPM Container for any Message Type|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3574] [original link is broken] [original link is broken] [original link is broken];.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
does any one knows that JAVA code in order to do a JAVA MAPPING?
I have an element in the RFC that I would like to insert the all XML file.
help is needed
Kfir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Of course you can do it. You need to enclose the complete XML in Cdata section.
Remember even after mapping, your output is not RFC it is still a XML containing RFC details. So attaching a complete XML with in a node directly will result in a invalid xml.
So you need to attach the xml with in a cdata section of the target rfc xml.
http://www.w3schools.com/XML/xml_cdata.asp
XSLT or java mappings could be used to achieve this easily. You can not do this via graphical mapping. There are a couple of blogs in SDN by Michal on this topic.
Regards
Jai
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 | |
23 | |
11 | |
9 | |
8 | |
5 | |
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.