We are working on developing our first Notes application that consumes a Web Service. Long story short, everything works fine under normal circumstances. The problem happens when the Web Service (not built in Notes) returns a long Response String…In this case it is about 20K characters. Via LotusScript, I am throwing the string into a RichTextField and trying to Parse it with the code below.
Set globaldomParser=session.CreateDOMParser()
Call globaldomParser.Parse(tmpRTItem)
In the case of the long Response String the parser is throwing the following error
Error: 4602
Error: DOM Parser operation failed
The page below seems to indicate that this is a timeout error.
In my case, the code is executing on a Notes Client Version 6.5.4.
My first instinct is that I need to write my own parsing functions to pull out the xml I need. Not very elegant but as far as I can tell it should work ok.
Does the error I am getting “jive” with anyone experience with XML? Are there specific limitations to what the Parse function can handle? Are there any alternative suggestions? I am new to working with XML and the Notes DOM objects so perhaps I am overlooking a “better” solution?
Thank you for any advice you can provide.
Mike