on 04-03-2012 9:47 AM
Hi experts,
We have a SOAP to SOAP scenario where the sender and receiver message structures are same, namespaces are different. While testing a message , the mapping failed throwing the following error,
<SAP:P1>com/sap/xi/tf/_XXXXXXXXXXXXXXX</SAP:P1>
<SAP:P3>on: Cannot create target element /ZXXXXXXXX/IDOC/ED</SAP:P3>
<SAP:AdditionalText />
I think this might be because of the namespace difference between the source payload and target mapping.
It is highly appreciated if you can let me know, how to handle the sender namespace in the message payload in the receiver mapping.
Also please correct, if my assumption was wrong.
Thanks in Advance.
Nag
Hi Nag,
The source of your problem is that an obligatory element in the target structure could not be created, because the source field for it was not found in the source structure. You might be right that this is because of incorrect namespaces. You could try using the XML Anonymizer Bean in the sender communication channel (see more here: http://help.sap.com/saphelp_nw04/helpdata/en/45/d169186a29570ae10000000a114a6b/content.htm) to remove the unnecessary namespaces from the source message.
Hope this helps,
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Might be one of the reason is missing any mandatory field values thats why throwing Mapping Exception (element /ZXXXXXXX/IDOC/EDI_DC40. Values missing in queue context. Target X~</SAP:Stack>)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nag,
Error says 'Cannot create target element /ZXXXXXXX/IDOC/EDI_DC40. Values missing in queue context'. It means value for EDI_DC40 is missing in source structure.
Please check whether you are passing the right value or the elememt ZXXXXXXX/IDOC/EDI_DC40 is present in your source message.
Regards
Baskaran K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.