I want to set xml content type for .wsdl extension. I know I have to use
RequestHandler->setContent ("wsdl", array('application/xml', 'text/xml'))But I dont know where to place that function call. I placed it in the controller action but it did not seem to work. When I accessed the controllers/action.wsdl, cake complained that the template does not exist. It did not look into views/[controllers]/wsdl/ where I put the template.ctp , instead it looked for the template.ctp in views/[controllers] (outside wsdl folder). (I already have Routetr::parseExtensions(); statement in the routes.php and specify RequestHandler component in Controller) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
