on 06-30-2006 11:01 AM
Hi all,
I am getting the mapping error in runtime.
I have tested in message mapping. It is successful there.
But I got the strange thing. When I change from design to test page and upload my XML file(from SXMB_MONI), all nodes in my structure are red! Now If I test the message mapping , I am getting the mapping error in SXMB_MONI.
May someone has a idea what's going wrong...
Thanks & Regards,
Sekhar.
Hi Sekhar,
If you test using an XML message saved from the sxmb_moni, you have to add 2 namespace tags around the content of the message. Something like this:
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
...message...
</ns0:Message1>
</ns0:Messages>
This is usually done internally by SAP XI, but in the test tool it is not..
Hope this helps!
(additional hint: First click "create instance" in the test tool. Check out the first two namespaces, usually messages and message1, and copy these in your test file. That should do the trick.:-) )
Regards,
Yordy
Message was edited by: Yordy Minderhoud
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Looks like you are missing the ns0: namespace while trying to test the xml in the repository.
Also make sure that the extra "-" that appears in the xml structure in sxmb_moni are removed before testing.
Regards,
Smitha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sekhar,
The XML you are getting in runtime does not match the expected message type for your mapping.
Check the namespace, element names and so on.
Cheers,
Ofer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in the test tab manually fill the data .. and then save the XML source ...
then compare this with the XML file you have ...
there has to be a diff.
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 | |
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.