Re: [ACFUG Discuss] Resetting webservices
Starting refresh of cfoutput#url.service#/cfoutput cfflush !--- Get factory --- cfset fObj = CreateObject(JAVA, coldfusion.server.ServiceFactory) !--- Get RPC service --- cfset rpcService = fObj.getXmlRpcService() cfscript rpcService.refreshWebService(url.service); /cfscript Done. Shawn Gorrell Web Development Applications Architect Federal Reserve Bank - Atlanta Office (404) 498-8449 [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 10/12/2006 01:56 PM Please respond to discussion@acfug.org To discussion@acfug.org cc Subject [ACFUG Discuss] Resetting webservices I have a web service that is cached on the server(does not show up in cfadmin) and I need to reset it. I used to have a script that would do this but, unfortunatley don't have access to it. it would take the wsdl addy as the working arguement and reset it. thanks, John - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by FusionLink -
RE: [ACFUG Discuss] Resetting webservices
John, google is your friend. A search of: reset coldfusion web service cache turned up as its first link: http://www.houseoffusion.com/groups/CF-Talk/thread.cfm/threadid:47709 Which shows this code (where you'd replace the WSDL value with your cached web service: cfset wsdl=http://www.achex.com/ws/Authorization.wsdl; / cfset createObject(java, coldfusion.server.ServiceFactory).XmlRpcService.refreshWebService(wsdl) / You could change it to use a CFPARAM so you could pass in the variable: cfparam name=wsdl default=http://www.achex.com/ws/Authorization.wsdl; / Assuming you named it resetws.cfm, you could then pass it in as resetws.cfm?wsdl=yoururl Does that do it for you? /charlie http://www.carehart.org/blog/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, October 12, 2006 1:57 PM To: discussion@acfug.org Subject: [ACFUG Discuss] Resetting webservices I have a web service that is cached on the server(does not show up in cfadmin) and I need to reset it. I used to have a script that would do this but, unfortunatley don't have access to it. it would take the wsdl addy as the working arguement and reset it. thanks, John - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -
Re: [ACFUG Discuss] Resetting webservices
that would be it. thanks Quoting [EMAIL PROTECTED]: Starting refresh of cfoutput#url.service#/cfoutput cfflush !--- Get factory --- cfset fObj = CreateObject(JAVA, coldfusion.server.ServiceFactory) !--- Get RPC service --- cfset rpcService = fObj.getXmlRpcService() cfscript rpcService.refreshWebService(url.service); /cfscript Done. Shawn Gorrell Web Development Applications Architect Federal Reserve Bank - Atlanta Office (404) 498-8449 [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 10/12/2006 01:56 PM Please respond to discussion@acfug.org To discussion@acfug.org cc Subject [ACFUG Discuss] Resetting webservices I have a web service that is cached on the server(does not show up in cfadmin) and I need to reset it. I used to have a script that would do this but, unfortunatley don't have access to it. it would take the wsdl addy as the working arguement and reset it. thanks, John - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com - - To unsubscribe from this list, manage your profile @ http://www.acfug.org?fa=login.edituserform For more info, see http://www.acfug.org/mailinglists Archive @ http://www.mail-archive.com/discussion%40acfug.org/ List hosted by http://www.fusionlink.com -