when i call
<rest:RestHttpService id="loadProductService" server="localhost" port="8080" method=" {RestHttpService.METHOD_GET}" contentType="application/xml" resource="/rest/product/1" result="getEmployeeSuccess(event)" fault="faultHandler(event)"/>
it properly work using following url in browser
file:///home/company/flexworkspace/Testapp/bin-debug/Testapp.html
but when i upload the above project to webapps folder of appache
the < rest:RestHttpService> will not be call from following url in browser
http://localhost:8080/Testapp/bin-debug/Testapp.html
it means that when i run using appache it will not call the < rest:RestHttpService>
please tell me the solution ?