api - Resource path is not callable in Custom Magento Module -


sei que tem alguns topicos relacionado aqui no stackoverflow, mas nenhum conseguiu me atender devidamente. segue minha api.xml

<?xml version="1.0"?> <config>     <api>         <resources>             <verificaintegrador_api translate="title" module="verificaintegrador">                 <title>myapi</title>                 <acl>verificaintegrador/api</acl>                 <model>verificaintegrador/api</model>                 <methods>                                             <verificarintegradoron translate="title" module="verificaintegrador">                             <title>verificarintegradoron</title>                             <acl>verificaintegrador/verificarintegradoron</acl>                         </verificarintegradoron>                                             <alterarstatusintegrador translate="title" module="verificaintegrador">                             <title>alterarstatusintegrador</title>                             <acl>verificaintegrador/alterarstatusintegrador</acl>                         </alterarstatusintegrador>                 </methods>             </verificaintegrador_api>         </resources>         <acl>             <resources>                 <verificaintegrador translate="title" module="verificaintegrador">                     <title>verificaintegrador</title>                     <sort_order>2000</sort_order>                                         <verificarintegradoron translate="title" module="verificaintegrador">                         <title>verificarintegradoron</title>                     </verificarintegradoron>                                         <alterarstatusintegrador translate="title" module="verificaintegrador">                         <title>alterarstatusintegrador</title>                     </alterarstatusintegrador>                 </verificaintegrador>             </resources>         </acl>     </api> </config> 

in system.log getting following description:

2013-08-26t14:48:40+00:00 debug (7): include() [<a href='function.include'>function.include</a>]: unable access mage_verificaintegrador_model_api.php/home/npctrini/public_html/lojamodelo/includes/src/varien_autoload.php 2013-08-26t14:48:40+00:00 debug (7): include(mage_verificaintegrador_model_api.php) [<a href='function.include'>function.include</a>]: failed open stream: no such file or directory/home/npctrini/public_html/lojamodelo/includes/src/varien_autoload.php 2013-08-26t14:48:40+00:00 debug (7): include() [<a href='function.include'>function.include</a>]: unable access mage_verificaintegrador_model_api.php/home/npctrini/public_html/lojamodelo/includes/src/varien_autoload.php 2013-08-26t14:48:40+00:00 debug (7): include(mage_verificaintegrador_model_api.php) [<a href='function.include'>function.include</a>]: failed open stream: no such file or directory/home/npctrini/public_html/lojamodelo/includes/src/varien_autoload.php 2013-08-26t14:48:40+00:00 debug (7): include() [<a href='function.include'>function.include</a>]: unable access mage_verificaintegrador_model_api.php/home/npctrini/public_html/lojamodelo/includes/src/varien_autoload.php 2013-08-26t14:48:40+00:00 debug (7): include(mage_verificaintegrador_model_api.php) [<a href='function.include'>function.include</a>]: failed open stream: no such file or directory/home/npctrini/public_html/lojamodelo/includes/src/varien_autoload.php 2013-08-26t14:48:40+00:00 debug (7): include() [<a href='function.include'>function.include</a>]: failed opening 'mage_verificaintegrador_model_api.php' inclusion (include_path='/home/npctrini/public_html/lojamodelo/includes/src:.:/usr/lib/php:/usr/local/lib/php')/home/npctrini/public_html/lojamodelo/includes/src/varien_autoload.php 

check if magento setup set compiled, , when execute api ( other code lets java/.net/php client), search extension php file /include/src, either need copy files location , publish magento extension or compile magento once ( compilation automatically copy required files /include/src, nothing else except :) ).


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -