Re: Jquery ajax and CFC ioutside webroot

2011-03-12 Thread Stephane Vantroyen
Hello, in your jquery ajax call, just give the full http address of your cfc, like so : $.ajax({ url: 'http://www.yoursite.com/cfc/yourCFC.cfc?yourmethodyourargumentsIfAny', type: POST, dataType:json}); Cheers Hi All - Can I use jquery ajax to call a cfc that is located outside the

Re: Jquery ajax and CFC ioutside webroot

2011-03-12 Thread fun and learning
Hello, in your jquery ajax call, just give the full http address of your cfc, like so : $.ajax({ url: 'http://www.yoursite.com/cfc/yourCFC. cfc?yourmethodyourargumentsIfAny', type: POST, dataType:json}); Cheers Hi All - Can I use jquery ajax to call a cfc that is located

Re: Jquery ajax and CFC ioutside webroot

2011-03-12 Thread Stephane Vantroyen
Hi, I don't think I fully understand it : isn't your cfc reachable via a dns or ip? Then I don't know if it's feasible. Are you able to read it within a browser? I mean, to see it's wsdl structure? Hello, in your jquery ajax call, just give the full http address of HI, The cfc is located

RE: Jquery ajax and CFC ioutside webroot

2011-03-12 Thread andy matthews
You can't do it without some additional code. Read these posts about accessing files outside of your web root. http://blog.pengoworks.com/index.cfm/2008/1/16/Invoke-CFCs-outside-of-webroo t-without-mappings http://www.bennadel.com/blog/1655-Ask-Ben-Dynamic-Web-Root-And-Site-URL-Calc

Re: Jquery ajax and CFC ioutside webroot

2011-03-12 Thread Dave Watts
Can I use jquery ajax to call a cfc that is located outside the webroot? I tried it but I think it is trying to look for the cfc within web root. How can I get it to point to a cfc outside the webroot? You can't make an HTTP request (which is all that AJAX is really) to something that