The service is a login service that uses LDAP or a database table to authenticate a user.
I was having an issue in that "this.datasource" was being set on the invocation of the webservice and was always THAT datasource. Which meant that I needed to create a separate instance of the service for each different application that I wanted to use the service for. Which seemed to defeat the purpose of using a service in the first place. I spoke with Phil, and he suggested that I set the datasource in the request scope instead. So I changed my application to use Application.CFC instead of CFM and made us of the OnRequest method to set the datasource based on the current URL (application). So as a result of changing the above, I needed to add a new parameter to the functions I call in the service to now include the datasource. Everything works if I invoke the CFC locally - but refused to work remotely. Now simply add in everything from the first email here. I.e. no further change was made - only restarting the server corrected whatever the underlying issue was. As always, please contact me if I can be of any futher assistance. Gavin "Beau" Baumanis Senior Application Developer PalCare Pty. Ltd. P: +61 -3 9380 3513 M: +61 -438 545 586 E: b...@palcare.com.au W: http://palcare.com.au On 07/10/2010, at 11:43 PM, MrBuzzy wrote: > Gav, you didn't actually explain what the 'really simple change' was? > > Please elaborate. It can sometimes be funky to work with da web services. > > On 07/10/2010, at 23:19, Gavin Baumanis <beauecli...@gmail.com> wrote: > >> Hi Everyone, >> >> I realise how "odd" this sounds, but I am posting it in case someone >> else has seen the same thing before. >> In the very least I;m hoping someone will say that I am not going >> mad... and maybe even have a solution or an idea of one... >> >> I have a webservice that was working, then (after a simple change) >> didn't work. >> >> I removed the wsdl (via CF admin) >> I cleared the template cache >> I cleared the CFC cache >> save class files etc (in the caching tab of cfadmin) are all >> unchecked. >> I restarted apache >> I restarted the CF Server (service) >> >> but it still didn't work. >> >> The only thing that seemed to remedy the issue was actually rebooting >> the whole server. >> Which is what seems odd to me - since I have done everything that I >> can think of previously - and it didn't work. >> >> If you have any ideas - I'd be happy to learn something new! >> >> As always - thanks for any thoughts; >> Gavin. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "cfaussie" group. >> To post to this group, send email to cfaus...@googlegroups.com. >> To unsubscribe from this group, send email to >> cfaussie+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/cfaussie?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "cfaussie" group. > To post to this group, send email to cfaus...@googlegroups.com. > To unsubscribe from this group, send email to > cfaussie+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.