on 01-09-2012 3:19 AM
Hi gurus,
In our message mapping, we have one send message and two receive messages, the testing is ok in message mapping test tool in ESR. While in XMLSPY, it gave the error because of the reason as follows:
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
Even after we added those statments, the error was still there.
How can I resove this problem? Thanks in advance.
I dont think its possible to test GUI Mapping using XML Spy, once XSLT mapping we can test using XMLY Spy.The best way to debug/test message mappings was ESR only.
When ever you implement multi mapping concept then <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1> will be added to message structure, but you no need to add in source data.
if you are implementing multi mapping concept using XSLT then only you need add manually in XSLT code(<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>).
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In the source XML message you may find some extra tags being included.
Just remove those extra tags, then it will work fine.
For example:
If your source XML message is:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MT_FileToFile_MultiMap_Src xmlns:ns1="http://FileToFile/MultiMap">
<Input>
<Name>ab</Name>
<EmpId>123</EmpId>
</Input>
</ns1:MT_FileToFile_MultiMap_Src>
</ns0:Message1>
</ns0:Messages>
remove the extra tags and then it will look like:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_FileToFile_MultiMap_Src xmlns:ns0="http://FileToFile/MultiMap">
<Input>
<Name>ab</Name>
<EmpId>123</EmpId>
</Input>
</ns0:MT_FileToFile_MultiMap_Src>
i hope this will help you,
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,
However, we are using graphical mapping. In the runtime environment, we can't remove the messages and messages1 tags.
If we remove them in xmlspy, it still had the error.
when we are going to split the message we are getting some extra tags in our source message, try to remove those tags in source message. as above i mentioned how to remove the extra tags. try to remove open and close tags.
ex:
Open Tags,
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
Close Tags,
</ns0:Message1>
</ns0:Messages>
check your payload once again.
regards,
ganesh.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.