1 Reply Latest reply on Mar 12, 2010 11:17 AM by vijaych1209

    Spring BlazeDS Integration not invoking RemoteObject method.

    karnatis Level 1
      Hi All,

       

      I configured application similar to  Test Drive example for using RemoteObject invocation in Spring  BlazeDS.

       

      Defined following 2 files in 'flex' folder in  WEB-INF

       

      services-config.xml
      proxy-config.xml

       

      Defined following  3 files in 'spring' folder in  WEB-INF

       

      infrastructure-context.xml
      services-context.xml
      security-context.xml

       

      Created  'testdrive-servlet.xml' file in WEB-INF folder.

       

      In services-config.xml  file channel
      Code:
          <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
                  <endpoint url="http://localhost:7001/flex-springP/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
                  <properties>
                <polling-enabled>false</polling-enabled>
                </properties>
              </channel-definition>
      In my report.mxml file, I'm  giving 'endpoint="http://localhost:7001/flex-springP/messagebroker/amf"' but  still it is not invoking RemoteObject method. In application logger it is  showing that '2009-09-08 15:10:23,180 INFO  [org.springframework.flex.servlet.MessageBrokerHand lerAdapter] - Channel  endpoint my-amf received request.'

       

      When I try this example for debugging  in flex builder it is giving below error

       

      Channel.Security.Error error  Error #2048  url:'http://localhost:7001/flex-springP/messagebroker/amf'

       

      I'm including  all the files which I used for configuration, Please check this and let me know  how to correct this problem.

       

      Thanks in  advance.

       

      Regards,
      Sharath Karnati.