Tuesday, October 11, 2011

Debug trace messages for PI Mappings

In a previous post I demonstrated how to develop and test a PI function library in NWDS. Even though the testing of functions in NWDS is very useful for quick elementary tests before deploying to the ESR, often it is almost impossible to test the true scenario before run time. This might be due to the dependence on dynamic config, container values, property file values etc. 

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.