This will removed cached stuff - good to slap this in the page that calls
the webservice till the definition settles down

(this is undocumented ... blah blah blah ...)

<cfobject action="CREATE" type="JAVA"
class="coldfusion.server.ServiceFactory" name="factory">

<cfset xmlRpc = factory.getXMLRPCService()>
<cfset services = xmlRpc.mappings>

<cfloop item="service" collection="#services#">
 <cfset xmlRpc.unregisterWebService(service)>
</cfloop>

Elliot

"Andrew Scott" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>
>
> G'day,
>
>  I have been writing a web service in coldfusion (CFC) the last few weeks
> and have noticed a few things I would like to be able to change, but am
not
> to sure on how to go about this.
>
> Ok here is the problem.
>
> If I have a remote server try to connect to a coldfusion wsdl (web
service)
> coldfusion will automatically generate the wsdl file, now if a change is
> made to that service, in the way an argument is passed or the way
something
> is returned back to the caller coldfusion on the caller will spit the
dummy.
>
> Now this is no big deal if I were to place a cftry/cfcatch block around
the
> code that makes the call, but I was wondering is there a way that I could
> make coldfusion regenerate this wsdl file?
>
> Any suggestions.
>
>
>
> Regards
> Andrew Scott
> Technical Consultant
>
> NuSphere Pty Ltd
> Level 2/33 Bank Street
> South Melbourne, Victoria, 3205
>
> Phone: 03 9686 0485  -  Fax: 03 9699 7976
>
>
>
>



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to