So do you USE (read that NEED) readXMLMessage in the app, or is it just there to assist with debugging?
I am sure both of our guesses is that there is some form of pointer corruption happening with how it stores and makes events available to the application. The method is not intended to be a replacement for the 'normal' handlers. It is in there to allow the application to access the raw XML in case there is stuff in messages that the event handlers do not properly expose to the application, and for logging purposes. If you want to code in 'raw' XML you should be using the XML version of the SDK, not the DMCC version IMHO.
You didn't answer my are you running the most recent version of the SDK question. You should be able to substitute in the SDK with the newest version without making any changes to your app (just a rebuild).
While I am not aware of a problem with the method, the best way to get the attention of the R&D team is to say the problem is seen with the latest and greatest version of their code (and make it reproducible). Can you create a simple app that repeatedly does a sequence of operations that exist in your app that encounters the issue?
i used provided sample code, - well it is just sample code, the expectation is that the developer needs to harden it if they are going to use it in a production setting, and I perceive you used it as a starting point as opposed to you are running it as it came out of the SDK.
RPTC it was like this. - I don't know what you mean.
|