on 05-14-2010 12:12 PM
Dear experts,
I actually realized why it was being too hard for me to map source payload and watch it converting it to target.
Reason was unwanted spaces introduced by default in process of cut-paste.Using Notepad somehow ,i rectified many
such document errors and finally got mapping run successfully.Otherwise i got 'Null pointer exception'.
.But now i have very large payloads.Repeating this process will be too tiresome.I also tried download .xml instead of
copy paste.It works also no doubt but cannot see it properly as whole xml comes as one line text on all editors.
Though in IExplorer it shows correct but again you cannot copy or paste.
What method should be ideally adopted to consider source payload while testing mapping.Any additional xml editor incase
i will need to download ,plz tell me.
Regards,
Aditya Sharma.
Edited by: aditya sharma on May 14, 2010 1:12 PM
Hi,
You can use xml editor like ALTOVA XML SPY by downloading trial version from http://www.altova.com/xml-editor/
otherwise you can simply put your xml payload in notepad and goto format-->wordwrap. then it will show line by line, instead of single line.
thanks,
madhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>This way works and i am already aware of that .But xml is in such a distorted shape going single line text that its difficult to interpret structure.Thats why i am looking for a way
Other simple way is after you copy the payload paste it into your message mapping under Test Tab by pressing the SRC icon. Just after the SRC icon you will see the Pretty Print icon, just press it and your payload will be in right shape.
Now copy the formatted source code and simply paste it on notepad and save it as .xml.
> What method should be ideally adopted to consider source payload while testing mapping.Any additional xml editor incase
> i will need to download ,plz tell me.
No additional editor is required. The simplest way to copy the source is,
Open the payload->Right click>View Source.
Now you can see the message has got opened in notepad so, simply copy it or save it as per your need.
Just see the example in this blog..
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
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.