I almost feel guilty that you typed all that, although the RefreshWSDL attribute is news to me and that will be handy. Thanks.
Alas I'm all over the cached wsl issue and I can say it's definitely not that. This web service isn't changing either ;) I'll be doing some WS-I validation and probably try wsdl2java to shed more light. I've had a number of issues with CF and web services, but most are solvable. I may have to hand craft a static wsdl file. More soon... On 9/4/07, Charlie Arehart (lists account) <[EMAIL PROTECTED]> wrote: > > MrBuzzy, is it possible that what you're experiencing is that CF has cached > the WSDL from some point in the past, so that it's now out of synch? > > There are ways to solve this, both programmatically and via the CF Admin. > I've written about how to do it in CF6 and 7 (when writing about a new > feature in 7): > > Reloading CF web services programmatically, using the CF7 Admin AP > http://carehart.org/blog/client/index.cfm/2006/12/12/refreshing_web_services > _programmatically > > I'll note as well that there's a new way to do it in CF8, via a RefreshWSDL > attribute. Your question here prompted me to go ahead and write about it: > > http://carehart.org/blog/client/index.cfm/2007/9/3/cf8_hiddengem_refreshwsdl > > There are now 4 ways to refresh that WSDL/cached proxy/stub, and each is > quite different: one (the Admin button, since 6) require Admin access, the > servicefactory approach (also since 6) is unsupported, the Admin API > approach (new in 7) also requires knowing the Admin password or having a new > CF8 admin user account, and the new refreshWSDL, while easier to use, has a > risk in leaving it in all the time, which would defeat the purpose. > > I discuss some of that in the blog entry. I suppose it may be best to direct > folks to share their feedback on these on the blog. > > Anyway, Mr. B, please let us know if this was the solution or you have some > other problem. > > /charlie > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf > Of MrBuzzy > Sent: Monday, September 03, 2007 4:27 AM > To: [email protected] > Subject: [cfaussie] Web Service weirdness > > > Here's a weird one. > > I'm having problems with a web service - none of the operations > (methods) are available. > > By viewing the wsdl I can see the operations, messages, ports and so on are > defined. > There are no errors when adding the wsdl to cfadmin or via > createobject("webservice"...). > > When I dump the web service (stub) object the operations aren't listed as > they usually would be in other web services. > > Any thoughts? > > Cheers & thanks. > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
