1 Reply Latest reply on Jul 29, 2010 2:30 AM by Balakrishnan V

    How to use remoteobject with blazeDS?


      Hello evebody!


      I have this problem when i build test project use remoteObject and blazeDS.


      It always occurs "send fail" erro.


      I guess that is MessageBrokerServlet.


      How can i fix that?


      This is project:






        • 1. Re: How to use remoteobject with blazeDS?
          Balakrishnan V



          I encountered the same problem when I started learning RemoteObject with BlazeDS.


          You need to use the following endpoint url : http://<your_url_goes_here>/messagebroker/amf


          The explanation is as follows


          The <blazeds>\tomcat\webapps\blazeds\web-inf\flex\ folder contains the following .xml - configuration files.


          <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
          <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint" />
          This is a channel definition under the services-config.xml file. This defines that an endpoint url of the above mentioned form should be referred to the AMFEndpoint class. It also provides other channels like secure / polling AMF.
          Hope this helps,
          balakrishnan v