on 2024 Oct 07 11:02 PM
Hi,
I am facing the blank output when Simulating the Message Mapping.
I am simulating the message mapping by uploading the xml file. The source fields gets populated after uploading of the file but when I click on the Test button, The target side is blank.
Message shows that the mapping is successful but the output side turn out to be blank.
I would like your guidance on the same.
Please refer to the screenshot attached below.
Thankyou.
SAP Cloud Platform, industry edition, client librariesSAP Integration Suite
@Sriprasadsbhat @daviddasilva @gautham_krishna
Request clarification before answering.
Remove the xmlns & targetNamespace attributes in the root xsd:schema tag (you can also remove elementFormDefault & attributeFormDefault) because that is causing the message mapping to expect all xml tags in your payload to have the ns1 prefix which is why the map doesn't produce the desired output. Changing elementFormDefault to "unqualified" almost solves the problem, but the mapping still expects the root tag to include the prefix which does not exist in your payload.
Regards,
Ryan Crosby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Supreet_Sekhon the schemaLocation attribute in the root tag AgileData is fouling up the execution of the mapping. Simulation is successful with the updates that I have mentioned and the removal of that one attribute at the root (it's causing the system to try and read that schema during execution I believe).
Hi Ryan,
I made the changes you mentioned as shown below:
My .XSD File now looks like:
My .xml Payload now looks like:
I am using this combination and still my mapping is blank at the output end.
Can you please let me know if you are referring to this kind of change?
Thankyou so much for your time 🙂
Hi @Ryan-Crosby ,
Your advice worked like a pro. The issue was firstly with the .xsd file and you recommended to remove few tags.
Secondly, at least few of the 1:1 elements were supposed to be mapped and I was not doing so but that helped resolve the issue right away.
I would like to thank you for helping me resolve the issue.
I really appreciate you spending your precious time on my problem and coming out with a solution.
It is people like you that we learn from. I am new into Integration world, and I learnt alot from you today.
Thankyou so much 🙂
Regards
User | Count |
---|---|
71 | |
33 | |
9 | |
8 | |
8 | |
7 | |
7 | |
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.