Hi All,
I am trying to retrieve data from a JavaObject using endpoint
URL in RemoteObject RPC component. But I am getting an error
message like
[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend"
faultDetail="Channel.Security.Error error Error #2048: Security
sandbox violation:
http://localhost:9090/test/endpointtest/endpointtest.swfcannot load data from
http://remoteservername:8080/test/messagebroker/amf.url: '
http://remoteservername:8080/test/messagebroker/amf'"configuration setting files
remoting-config.xml
------------------------------
<default-channels>
<channel ref="my-amf"/>
</default-channels>
<destination id="elabs-Destination">
<properties>
<source>*</source>
</properties>
</destination>
services-config.xml
---------------------------
............
<channels>
<channel-definition id="my-amf"
class="mx.messaging.channels.AMFChannel">
<endpoint url="
http://remoteservername:8080/test/messagebroker/amf"class="flex.messaging.endpoints.AMFEndpoint"/>
</channel-definition>
</channels>
.....
mxml code goes here
..........................
<mx:RemoteObject id="remoteObject"
destination="elabs-Destination"
endpoint="
http://remoteservername:8080/test/messagebroker/amf" showBusyCursor="true">
<mx:method name="sendRecieve">
<mx:arguments>
<value1>{csID}</value1>
<value2>{str}</value2>
</mx:arguments>
</mx:method>
</mx:RemoteObject>
Whenever I try to invoke remoteObject.sendRecieve(); I am
getting security error message.
this is an urgent requirement. Please help me out.
Thanks in advance.
Surendra.