Refreshing web service stubs

I have been spending a few days building a bunch of web services for a client, however whenever I made a change to the web service itself the only way I could get that change to be reflected was by either waiting or re-starting cfmx. I did remember a post a while back that showed a better way. Finally I had enough today and went looking for the solution.

For my own benefit here is the code required to refresh the stub:

CODE:

Big thanks once again to Brandon Purcell for sharing this with us

Update

Or I could have just looked in the CF Administrator (if you are using 7.0.1) under Data & Services and looked at the registered web services and refreshed them there...


About this entry