You need to refresh the webservice stubs, not the CFC.

As people have said before, this is nothing to do with the CFC - it's
actually the client end of the webservice transaction that's doing the
caching.

<cfobject type="JAVA"
          action="Create"
          name="factory"
          class="coldfusion.server.ServiceFactory">
<cfset RpcService = factory.XmlRpcService>
<cfset RpcService.refreshWebService("http://somesite/somecfc.cfc?wsdl";)>

The above assumes you can't do it any of the better ways (admin API,
the CF8 way in one of the earlier posts, etc).

On Wed, Apr 16, 2008 at 7:33 AM, Les Mizzell <[EMAIL PROTECTED]> wrote:
> > Nic's solution is probably not going to do anything for you, because even
>  > reloading the CFC instance that is the source of the web service isn't 
> going
>  > to cause CF itself to refresh the actual web service it has cached.
>
>  Even deleting the file - refreshing the page to throw and error, and
>  reloading the file again doesn't work. When these things get cached,
>  they freaking get cached!!!


-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303538
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to