Of course, now I know the exact servicefactory method names I needed, this
turns up in google (after I worked it out for myself):

http://www.bpurcell.org/blog/index.cfm?mode=entry&entry=965

http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid=207
78&forumid=4

Now I'll stop talking to myself. I'm a teapot.

-----Original Message-----
From: James Holmes 
Sent: Friday, 4 March 2005 1:00 
To: CF-Talk
Subject: Re: Error consuming web services

OK, I fixed this myself.

As CF 6.1 adds into the cf admin all webservices that are invoked directly
with the URL, these can be refreshed in the CF Admin. However I don't have
access to the admin, so here's the ServiceFactory code to refresh the WSDL
after a method has been added or whatever:

<cfobject action="CREATE"
                type="JAVA"
                class="coldfusion.server.ServiceFactory"
                name="myServiceFactory">
<cfset myXMLRPCService= myServiceFactory.getXMLRPCService()>
<cfset myWebserviceURL = "FULL URL AS CALLED PREVIOUSLY HERE"> <cfset
myXMLRPCService.refreshWebService(myWebserviceURL)>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:197423
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

Reply via email to