> We have a CFC set up on our test server, and are able to > successfully access it as a web service from PHP and ASP (on > other servers). All good. Trying to bring up the CFC in the > browser kicks you to the CFIDE login screen, and on > successful login you get the wsdl docs. Great. > > However, our live server does not the cfide directory (it's > multihomed). PHP and ASP cannot access the CFC at all, and > trying to bring it up in the browser results in a 404 error. > CF code can still access the CFC. > > I don't want to allow browsing of the CFC - I was going to > set up Spike's tool to do that - I just want ASP and PHP code > to be able to access the methods. We've tried copying the > CFIDE directory to the root of the site in question and > adding an IIS mapping to it, but no luck.
You don't need the CFIDE directory to publish a CFC web service. If you browse the CFC directly, you need to be able to log in, but to use it as a web service, just make sure that you have access="public" in the methods you want, and use the URL "http://yourserver/your.cfc?wsdl". This doesn't require a login. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230211 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54