# Actionwebservice broken in production environment

**URL:** <https://www.ruby-forum.com/t/actionwebservice-broken-in-production-environment/184011>\
**Category:** Rails\
**Created:** [February 23, 2010, 8:48pm UTC](https://www.ruby-forum.com/t/actionwebservice-broken-in-production-environment/184011 "2010-02-23T20:48:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [February 23, 2010, 8:48pm UTC](https://www.ruby-forum.com/t/actionwebservice-broken-in-production-environment/184011/1 "2010-02-23T20:48:28Z")

</div>

actionwebservice on rails 2.3.5 from github ([http://github.com/](http://github.com/)  
datanoise/actionwebservice) works in development mode but doesn’t seem  
to be loading in production. Anyone else have this problem or a  
solution?

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 17, 2010, 10:19am UTC](https://www.ruby-forum.com/t/actionwebservice-broken-in-production-environment/184011/2 "2010-03-17T10:19:11Z")

</div>

Same for me.

Here’s my log :  
Action Controller: Exception caught body { background-color: #fff;  
color: #333; } body, p, ol, ul, td { font-family: verdana, arial,  
helvetica, sans-serif; font-size: 13px; line-height: 18px; } pre  
{ background-color: #eee; padding: 10px; font-size: 11px; } a { color:  
#000; } a:visited { color: #666; } a:hover { color: #fff; background-  
color:#000; } Unknown action No action responded to wsdl. Actions:  
access\_denied, check\_roles, erreur\_txt, export\_csv,  
get\_apicrypt\_from\_code\_6\_chiffres\_laboserveur, invocation,  
invocation\_method\_params, invocation\_submit, role\_requirements,  
role\_requirements=, and set\_current\_user

It seems wsdl and api actions are unknown when in production mode.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [March 26, 2010, 3:33pm UTC](https://www.ruby-forum.com/t/actionwebservice-broken-in-production-environment/184011/3 "2010-03-26T15:33:29Z")

</div>

Hi again,

Changing one line in config/environment/production.rb makes it work :

config.cache\_classes = false # was true

I think there’s an impact on performance, but maybe it’s a clue to get  
it work really in production mode ?
