Hi,

I'm curious as to why this is happening and if it's possible to turn it off. I'm not really sure the best way to explain what is going on.

When I make a call to my webservice and load into my Document.Factory.parse method, if the xml data is valid it will load no problem.

Later in the day, when the xml data is not valid, I'll get an error in my catalina.out log that the data is not valid, but instead of displaying no data, it instead displays the data from the last successful call, so it appears that the data has loaded, but just hasn't been updated. What I would like it to do instead is for it to handle the failure. The code looks something like this for generating the array of xml elements:

                        bkDoc = BooksDocument.Factory.parse(url);
                        books = bkDoc.getBooks();
                        Book[] book = books.getBookArray();

Thanks,
Steven

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to