If anyone is interested here is the CT.

<CFPARAM NAME="Attributes.myWebService" DEFAULT="">
<CFPARAM NAME="Caller.Error" DEFAULT="1">
<CFIF Attributes.myWebService NEQ 1>
        <CFTRY>
                <CFOBJECT ACTION="CREATE"
                        TYPE="JAVA"
                        CLASS="coldfusion.server.ServiceFactory"
                        NAME="Factory"
                >
                <CFSET XMLRPC=Factory.getXmlRpcService()>
                <CFSET XMLRPC.refreshWebService(Attributes.myWebService)>
                <CFSET Caller.Error=0>
                <CFCATCH TYPE="Any">
                        <CFSET Caller.Error=1>
                </CFCATCH>
        </CFTRY>
</CFIF>

This uses the factory as you can notice. Use at your own risk. The factory
is unsupported/undocumented.

============================================
Bryan F. Hogan
Director of Internet Development
Macromedia Certified ColdFusion MX Developer
Digital Bay Media, Inc.
1-877-72DIGITAL
============================================

-----Original Message-----
From: Bryan F. Hogan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 10:57 PM
To: CF-Talk
Subject: RE: CFC changes not noticed by jrun unless it's restarted


When you run a webservice it gets registered in the Administrator. When you
make a change to this file you need to refresh this webservice in the
Administrator in order for your changes to be noticed. I think I have a
piece of code lying around I can try and dig up that when placed before the
webservice call during testing will automatically refresh it for you.

============================================
Bryan F. Hogan
Director of Internet Development
Macromedia Certified ColdFusion MX Developer
Digital Bay Media, Inc.
1-877-72DIGITAL
============================================

-----Original Message-----
From: Tony Weeg [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 10:41 AM
To: CF-Talk
Subject: RE: CFC changes not noticed by jrun unless it's restarted


ok, ok, ok....your right, but at least we were told :)

...tony

Tony Weeg
Senior Web Developer
UnCertified Advanced ColdFusion Developer
Information System Design
Navtrak, Inc.
Mobile workforce monitoring, mapping & reporting
www.navtrak.net
410.548.2337

-----Original Message-----
From: Adrocknaphobia Jones [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 10:37 AM
To: CF-Talk
Subject: RE: CFC changes not noticed by jrun unless it's restarted


C'mon Tony,
Just because they told us about it in advance, doesn't mean it's not a
problem. We should definitely call it a problem, otherwise it won't get
fix in CFMX2.

Adam Wayne Lehman
Web Systems Developer
Johns Hopkins Bloomberg School of Public Health
Distance Education Division


-----Original Message-----
From: Tony Weeg [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 4:41 PM
To: CF-Talk
Subject: RE: CFC changes not noticed by jrun unless it's restarted

Sure have, but I wouldn't deem it a problem, simply the inherent
nature of webservices, from what I have been told.  Maybe not inherent
of webservices, but surely of webservices on CFMX :)

hth

...tony

Tony Weeg
Senior Web Developer
UnCertified Advanced ColdFusion Developer
Information System Design
Navtrak, Inc.
Mobile workforce monitoring, mapping & reporting
www.navtrak.net
410.548.2337

-----Original Message-----
From: Brad Howerter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 4:32 PM
To: CF-Talk
Subject: CFC changes not noticed by jrun unless it's restarted


I've determined that when I make changes to a CFC that is called as a
web
service, I have to restart the coldfusion server in order for those
changes
to be recognized.  Has anyone else noticed this problem?

***
The information in this e-mail is confidential and intended solely for
the
individual or entity to whom it is addressed. If you have received this
e-mail in error please notify the sender by return e-mail, delete this
e-mail, and refrain from any disclosure or action based on the
information.
****






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to