on 07-23-2014 7:48 AM
Hi Rajendar
This error indicates that there was no root node generated on the target side.
Most often this might be because the source payload does not match the source schema, therefore the message mapping generates an empty body.
Check the source payload against your schema, in particular check for typo errors or namespace mismatch. If you paste the payload into the test tab for mapping and switch back to Tree mode, if you see the nodes are in red, then there is a mismatch.
Rgds
Eng Swee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Eng,
please find my Source Payload below please help on me.
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MT_E10522_f2f_MT_S xmlns:ns1="http://E10522_f2f_MT">
<EmployeedDetails>
<Name>
<Fname>Rajendar</Fname>
<Lname>K</Lname>
</Name>
<Location>INDIA</Location>
</EmployeedDetails>
</ns1:MT_E10522_f2f_MT_S>
</ns0:Message1>
</ns0:Messages>
Regards,
Rajendar K
Hi Rajendar
The context between the two inputs to your IF function is not the same. You are comparing two elements that are at different level in the hierachy. Please change the context of the Location field to be same as the source root node (MT_xxx).
If you are still having errors after this, please provide a screenshot of the "Display queue" on the IF function.
Rgds
Eng Swee
Hi Eng,
i did the test tab its showing success but file didnot reached to target folder.
please find the source and target payloads
Sourec paload:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MT_E10522_f2f_MT_S xmlns:ns1="http://E10522_f2f_MT">
<EmployeedDetails>
<Name>
<Fname>Rajendar</Fname>
<Lname>K</Lname>
</Name>
<Location>INDIA</Location>
</EmployeedDetails>
</ns1:MT_E10522_f2f_MT_S>
</ns0:Message1>
</ns0:Messages>
Target Payload:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MT_E10522_f2f_MT_R1 xmlns:ns1="http://E10522_f2f_MT">
<EmployeedDetails>
<Name>
<Fname>Rajendar</Fname>
<Lname>K</Lname>
</Name>
<Location>INDIA</Location>
</EmployeedDetails>
</ns1:MT_E10522_f2f_MT_R1>
</ns0:Message1>
<ns0:Message2/>
</ns0:Messages>
Regards,
Rajendar K
Hi Rajendar
It looks like the mapping issue has been resolved. Testing from the ESR test functionality WILL NOT generate actual runtime messages.
You will have to execute the interface (end-to-end) and trace the corresponding message through the Adapter Engine and Integration Engine. If you find any error, please provide the details here for further analysis.
Alternatively, you should also be able to Restart the original message that was in error (the one shown in the original screenshot) and see if it goes through successfully or not.
Rgds
Eng Swee
Hi eng,
thank you for helping issue solved, i removed tags in source payload do the end to end test its working fine.
source payload:
<?xml version="1.0" encoding="UTF-8"?>
<ns1:MT_E10522_f2f_MT_S xmlns:ns1="http://E10522_f2f_MT">
<EmployeedDetails>
<Name>
<Fname>Rajendar</Fname>
<Lname>K</Lname>
</Name>
<Location>INDIA</Location>
</EmployeedDetails>
</ns1:MT_E10522_f2f_MT_S>
Regards,
Rajendar k
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.