That's a good document to read. It solves my problem and now it works like a
charm. 

Thank you, Chuck! 


On 7/26/06 5:34 PM, "Chuck Hill" <[EMAIL PROTECTED]> wrote:

> 
> On Jul 26, 2006, at 5:28 PM, Xia, Wen wrote:
> 
>> Hi all,
>> 
>> Recently I created a Direct to Web Service application, and used
>> WebServiceAssistant to add services and operations. There is
>> absolutely no
>> coding and it works great until the following problem occurred:
>> 
>> Even though I added "-WOCachingEnabled NO" for the web service
>> instance, it
>> still somehow caches the old data.
> 
> That setting is not for data caching.  It is for WOComponent template
> caching.
> 
> 
>> Only when the web service instance is
>> restarted, it will re-fetch and get the latest information. I
>> wonder where
>> the data is cached and how to prevent such caching? Do I need to
>> write my
>> own code to handle it? Any settings or application properties to
>> include?
>> 
>> This is my first web service application. Please help me if you
>> know how to
>> solve it.
> 
> Possibly more than you ever wanted to know:
> 
> http://en.wikibooks.org/wiki/Programming:WebObjects/EOF/Using_EOF/
> Caching_and_Freshness
> 
> Chuck
> 
> --
> Coming in 2006 - an introduction to web applications using WebObjects
> and Xcode     http://www.global-village.net/wointro
> 
> Practical WebObjects - for developers who want to increase their
> overall knowledge of WebObjects or who are trying to solve specific
> problems.    http://www.global-village.net/products/practical_webobjects
> 
> 
> 
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Reply via email to