Announcement Announcement Module
Collapse
No announcement yet.
Spring BlazeDS Integration not invoking RemoteObject method. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring BlazeDS Integration not invoking RemoteObject method.

    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.

  • #2
    Can you provide debug level logs for org.springframework.* packages ?

    Comment


    • #3
      How are you actually wiring up the InquiryService? I don't see any definition for it in your Spring context, nor do I see component scanning enabled.

      Comment

      Working...
      X