gregs

helping me remember what I figure out

Refreshing web service stubs

| 2 Comments

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...

2 Comments

  1. now you can do it in CF8 via the inbuilt attribute “refreshwebservice” ….i love this little new feature of CF8…

  2. Thanks for the tip Anuj!

Leave a Reply

Required fields are marked *.

*