Re: CFCs not being processed by IIS or CF
Still no joy until I found this post: http://www.jeffcoughlin.com/blog/index.cfm/2006/2/27/Using-CF7-SOAP-and-soapexamplecfc Removed the displayname attribute and it started working! Thanks for reading. Adrian Building a DB of errors at http://cferror.org/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313621 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFCs not being processed by IIS or CF
I used your code as a web service (changing the access to remote, I knew what you meant ;) When I say directory permissions, I really mean is anonymous access enabled (probably should have just stated so)? The real point is that the above code works correctly with that one modification so the issue is more likely to be with the server setup. If all of this is in working order can you post your exact error message. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313612 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFCs not being processed by IIS or CF
Cheers Wes, when you say it works for you, do you mean the webservice I accidentally posted (meant to remove that!) or in general the code works for you? I'm not sure file or directory permissions would be the issue as they're all in the same dir. I asked the sysadmin and he screwed his face up and said no :OD Any other ideas? I'm about to try it on another site on the same server... Adrian Building a DB of errors at http://cferror.org/ > Hey all, set up a new site and I'm trying to invoke a cfc as a > webservice. > > I've put a dump cfc in the webroot to remove any pathing issues. The > cfc looks like this: > > > >output="true"> > > > > > > When I browse to any of the following: > > http://domain/ws.cfc?wsdl > http://domain/ws.cfc > http://domain/ws.cfc?method=test > > I get a blank page. > > I thought it might have something to do with CFIDE not being a virtual > dir so we created that. No joy. > > From a file in the same dir I run: > > > > > > > > http://bv2008.internal.thoughtbubble.net/ws. > cfc?wsdl" method="test" returnvariable="z"> > > > Which results in: > > A dump of the component showing the test method. > > 123, the output of the call to the x.test(). > > And then an error: > > Unable to read WSDL from URL: http://domain/ws.cfc?wsdl > > Which is fair enough as there is no WSDL being created. > > Looking in the IIS logs we see the requests coming in. Are there any > over places we can look at maybe? > > It's on Win 2003, IIS and CF8. URLScan is installed but the logs don't > report anything as being blocked. > > Any ideas on what could be happening? > > Thanks. > > Adrian ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313611 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFCs not being processed by IIS or CF
Adrian, I was able to get this to work with no problems. Have you checked the directory permissions? Wes On 10/8/08, adrian lynch <[EMAIL PROTECTED]> wrote: > > Sorry, access is set to remote. We were playing about with it when I copied > and pasted :) > > > Hey all, set up a new site and I'm trying to invoke a cfc as a > > webservice. > > > > I've put a dump cfc in the webroot to remove any pathing issues. The > > cfc looks like this: > > > > > > > >> output="true"> > > > > > > > > > > > > When I browse to any of the following: > > > > http://domain/ws.cfc?wsdl > > http://domain/ws.cfc > > http://domain/ws.cfc?method=test > > > > I get a blank page. > > > > I thought it might have something to do with CFIDE not being a virtual > > dir so we created that. No joy. > > > > From a file in the same dir I run: > > > > > > > > > > > > > > > > http://bv2008.internal.thoughtbubble.net/ws. > > cfc?wsdl" method="test" returnvariable="z"> > > > > > > Which results in: > > > > A dump of the component showing the test method. > > > > 123, the output of the call to the x.test(). > > > > And then an error: > > > > Unable to read WSDL from URL: http://domain/ws.cfc?wsdl > > > > Which is fair enough as there is no WSDL being created. > > > > Looking in the IIS logs we see the requests coming in. Are there any > > over places we can look at maybe? > > > > It's on Win 2003, IIS and CF8. URLScan is installed but the logs don't > > report anything as being blocked. > > > > Any ideas on what could be happening? > > > > Thanks. > > > > Adrian > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313610 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFCs not being processed by IIS or CF
Sorry, access is set to remote. We were playing about with it when I copied and pasted :) > Hey all, set up a new site and I'm trying to invoke a cfc as a > webservice. > > I've put a dump cfc in the webroot to remove any pathing issues. The > cfc looks like this: > > > >output="true"> > > > > > > When I browse to any of the following: > > http://domain/ws.cfc?wsdl > http://domain/ws.cfc > http://domain/ws.cfc?method=test > > I get a blank page. > > I thought it might have something to do with CFIDE not being a virtual > dir so we created that. No joy. > > From a file in the same dir I run: > > > > > > > > http://bv2008.internal.thoughtbubble.net/ws. > cfc?wsdl" method="test" returnvariable="z"> > > > Which results in: > > A dump of the component showing the test method. > > 123, the output of the call to the x.test(). > > And then an error: > > Unable to read WSDL from URL: http://domain/ws.cfc?wsdl > > Which is fair enough as there is no WSDL being created. > > Looking in the IIS logs we see the requests coming in. Are there any > over places we can look at maybe? > > It's on Win 2003, IIS and CF8. URLScan is installed but the logs don't > report anything as being blocked. > > Any ideas on what could be happening? > > Thanks. > > Adrian ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313608 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFCs not being processed by IIS or CF
Hey all, set up a new site and I'm trying to invoke a cfc as a webservice. I've put a dump cfc in the webroot to remove any pathing issues. The cfc looks like this: When I browse to any of the following: http://domain/ws.cfc?wsdl http://domain/ws.cfc http://domain/ws.cfc?method=test I get a blank page. I thought it might have something to do with CFIDE not being a virtual dir so we created that. No joy. >From a file in the same dir I run: http://bv2008.internal.thoughtbubble.net/ws.cfc?wsdl"; method="test" returnvariable="z"> Which results in: A dump of the component showing the test method. 123, the output of the call to the x.test(). And then an error: Unable to read WSDL from URL: http://domain/ws.cfc?wsdl Which is fair enough as there is no WSDL being created. Looking in the IIS logs we see the requests coming in. Are there any over places we can look at maybe? It's on Win 2003, IIS and CF8. URLScan is installed but the logs don't report anything as being blocked. Any ideas on what could be happening? Thanks. Adrian ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313607 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4