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> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199091 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

