Haha.  I believe there is way to refresh it programmatically with the
service factory now that I think about it.

<cfobject type="JAVA"
          action="Create"
          name="factory"
          class="coldfusion.server.ServiceFactory"> 
    
<cfset RpcService = factory.XmlRpcService>
 
<cfset
RpcService.refreshWebService("http://wonderboy:8500/MX/components/dude.c
fc?wsdl")>

~Brad

-----Original Message-----
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 14, 2007 11:24 AM
To: CF-Talk
Subject: Re: webservice invoke issue

> Actually, this cfc is a simple HelloWorld function.
> And the wsdl shows fine in a browser.
> Here's the code for my cfc:
> <cfcomponent name="hwtester" displayname="test ws" hint="test HW"
> output="false">
> <cffunction name="myFunction" access="remote" returntype="string">
> <cfargument name="myArgument" type="string" required="yes">
> <cfset myResult="helloworld">
> <cfreturn myResult>
> </cffunction>
> </cfcomponent>

Yeah....looks pretty straight forward.  What happens in CF Admin when
you try 
and refresh it?

If you still gte the error I'd delete it from CF Admin and restart CF
and try it 
again (geesh I say that right after telling Brad that you don't need to
delete 
and/or restart CF....but normally you don't).

Hope ya get it working


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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

Reply via email to