I am using flex builder 3 and need to call some server-side methods.
I have done it before successfully on my local pc but when I tried to do same on my server machine (windows server 2008) to make my hosted website to do same, flex builder is giving me this error:
Channel definition, mxmessaging.channels.AMFChannel, can not be found
I have services-config.xml file and have also set flex compiler like this:
-locale en_US -services "services-config.xml" -context-root /
My websites root folder is AutotrackServer, and everything is in it. My flex file (swf) is in AutotrackServer/FlexMap/FlexMap.swf along with services-config.xml file.
Here is how my services-config.xml looks like:
<?xml version="1.0" encoding="utf-8" ?>
<service id="remoting-service" class="flex.messaging.services.RemotingService" messageTypes="flex.messaging.messages.RemotingMessage">
<channel-definition id="my-amf" class="mxmessaging.channels.AMFChannel">
<endpoint uri="http://www.autotrackserver.com/gateway.aspx" class="flex.messaging.endpoints.AMFEndpoint"/>
<!-- <legacy-collection>true</legacy-collection> -->
I am stuck in this since a month now...its a situation like to cry