Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web Services dies after eight method calls
Message
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00602952
Message ID:
00603131
Views:
25
>Mike:
>
>SET DEFAULT definitely doesn't work. I needed a way for the web service to be able to set relative paths. This is why a put the code in the INIT. It seems to work.
>
>Now I need to find out when the INIT is actually called. I see that COM+ is activating and deactivating (JIT) the object between method calls. Does this mean the INIT is going to fire each time I make a method call?
>
>Thanx,

Charlie,
Yes. VFP COM objects can not be pooled so they are created and destroyed as needed (most likely at the beginning and end of a method call). For this reason, it is best to have very little code exectuting in those methods. Overhead can be a killer if a lot of procesing needs to occur here.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform