In complex mappings we often want to know what values certain nodes in our mapping have during run time. The solution is to create a function and inserting it at certain parts of the mapping to add custom trace messages to the SOAP header in SXMB_MONI.
Click to enlarge |
importanttrace = container.getTrace();
importanttrace.addDebugMessage(traceMessage + " " + traceContext + inputValue + " ");
return inputValue;
Insert this function into your mapping at the point where you want to check a certain node value. Double click the node to populate the trace message and the trace context. The value received will be written to the trace, but it will also pass through the node unmodified therefore leaving the output of the mapping "untouched".
Click to enlarge |
Open up SXMB_MONI - Request Message Mapping - SOAP Header - Trace.
Click to enlarge |
This comment has been removed by a blog administrator.
ReplyDeletenice post thank you
ReplyDeleteRespect and I have a nifty offer you: What Was The First Home Renovation Show house renovation application
ReplyDelete