Error with CairngormServiceLocator
This is the error I'm getting:
ReferenceError: The property 'service' on the definition of 'serviceLocator' could not be resolved. Original error:
Cannot assign operations into an RPC Service (id)
My configuration looks like this:
Code:
<object id="serviceLocator" class="org.springextensions.actionscript.cairngorm.business.CairngormServiceLocator" factory-method="getInstance">
<!-- The CairngormServiceLocator is marked with the dynamic keyword, so new properties can be added at runtime: -->
<property name="service">
<ref>contactService</ref>
</property>
</object>
<object id="contactService" class="mx.rpc.remoting.mxml.RemoteObject" scope="singleton">
<property name="id" value="contactService"/>
<property name="destination" value="ColdFusion"/>
<property name="source" value="com.shinynet.contactmanager.ContactService"/>
</object>
Any ideas?