Hi Thanks for this - I've now got all 3 of these problems solved with clearing the web service from the client server. My understanding of the purpose of this section on the CF admin was completely the wrong way round - I thought it was for the web services that the particular CF server provides, not consumed! It's all beginning to make a bit more sense now ;-)
Alex -----Original Message----- From: Dawson, Michael [mailto:[EMAIL PROTECTED] Sent: 17 March 2005 12:56 To: CF-Talk Subject: RE: Web services & caching I'm not sure about all of these, but: 1. Try going to the CF administrator on the "client" server and refreshing the web service where you added the function. You used to have to delete a file on the OS when this happened, but now I think you can do it from the CF admin site. 2. Does it ever finally work or does it never work on that particular CFC? Are you trying to use a CFC with the same name as a CFC that *used* to exist? 3. Not sure here. -----Original Message----- From: A.Little [mailto:[EMAIL PROTECTED] Sent: Thursday, March 17, 2005 6:00 AM To: CF-Talk Subject: Web services & caching Hi, I'm trying to create some web services (fairly simple stuff for now - taking an integer as input and returning a string) but am coming up against a few irritating problems that hopefully someone can help with (on CF6.1): 1. If I add a new cffunction to an existing component then it doesn't appear to be recognised - the calling page (another server also running CF6.1) returns a message saying that the function with the parameters cannot be found. 2. If I create a new component file when I try and call it I sometimes (not always!) get the message: "Could not generate stub objects for web service invocation" 3. Don't seem to be able to create functions which have no arguments at all - just get a message saying the functions with the parameters cannot be found. Is any of this to do with the component being cached? (I've not set up any caching - so would only be what is set up by default in CF) - or does anyone have any other suggestions? I've included some sample code below. Any help much appreciated, Alex ----- Code: Testservice.cfc: <cfcomponent> <cffunction name="TestService" access="remote" returntype="string"> <!--- return the string ---> <cfreturn "Here is a web service called TestService"> </cffunction> </cfcomponent> Calling code: <cfinvoke webservice="http://dev-iet.open.ac.uk/webservices/testservice.cfc?WSDL" method="TestService" returnvariable="testing"> </cfinvoke> <cfoutput>#testing#</cfoutput> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199093 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

