Note that there are some explanatory texts on larger screens.

plurals
  1. POFlex Cairngorm Spring Blazeds - Remoting Error - help me please
    text
    copied!<p>I seem to be getting the following error when I try to access a Remote Java class (on Spring/BlazeDS) from the Flex/Cairngorm application. I am going crazy at the moment trying to see what is wrong - any help would be greatly appreciated - thanks Mike.</p> <pre><code>**Error: C0007E: RemoteObject not found for mycomponentsService at RemoteObjects/getService() at com.adobe.cairngorm.business::ServiceLocator/getRemoteObject() at com.nomura.dashboard.client.business::DashBoardDelegate()** </code></pre> <p>All my config files are below:</p> <p><strong>Cairngorm - BusinessDelegate.as</strong></p> <pre><code>this.service = ServiceLocator.getInstance().getRemoteObject("**mycomponentsService**"); </code></pre> <p><strong>Cairngorm - Services.mxml</strong></p> <pre><code>mx:RemoteObject id="mycomponentsService" destination="remotecomponentService" showBusyCursor="true"&gt; </code></pre> <p><strong>Spring/BlazeDS - application-config.xml</strong></p> <pre><code>flex:remote-service ref="remotecomponentService" bean id="remotecomponentService" class="com.mycompany.dashboard.server.dao.ComponentsDAO" </code></pre> <p><strong>Spring/BlazeDS - services-config.xml</strong></p> <pre><code>channel-definition id="myamf" class="mx.messaging.channels.AMFChannel" endpoint url="http://localhost:8080/dashboard-server/spring/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint" </code></pre> <p>The web.xml also contains Spring references - see below</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;web-app version="2.4"&gt; &lt;!-- The front controller of this Spring Web application, responsible for handling all application requests --&gt; &lt;display-name&gt;dashboard-server&lt;/display-name&gt; &lt;servlet&gt; &lt;servlet-name&gt;Spring MVC Dispatcher Servlet&lt;/servlet-name&gt; &lt;servlet-class&gt;org.springframework.web.servlet.DispatcherServlet&lt;/servlet-class&gt; &lt;init-param&gt; &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt; &lt;param-value&gt;/WEB-INF/spring/*-config.xml&lt;/param-value&gt; &lt;/init-param&gt; &lt;load-on-startup&gt;1&lt;/load-on-startup&gt; &lt;/servlet&gt; &lt;!-- Map /spring/* requests to the DispatcherServlet --&gt; &lt;servlet-mapping&gt; &lt;servlet-name&gt;Spring MVC Dispatcher Servlet&lt;/servlet-name&gt; &lt;url-pattern&gt;/spring/*&lt;/url-pattern&gt; &lt;/servlet-mapping&gt; &lt;/web-app&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload