Running tomcat 5.5 Here are some pertinent snippets. The call
generates this:
fault
[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend"
faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed:
HTTP: Failed"]
at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()[C:\dev\enterprise_beta3\frameworks\mx\rpc\AbstractInvoker.as:191]
at
mx.rpc::Responder/fault()[C:\dev\enterprise_beta3\frameworks\mx\rpc\Responder.as:56]
at
mx.rpc::AsyncRequest/fault()[C:\dev\enterprise_beta3\frameworks\mx\rpc\AsyncRequest.as:107]
at
mx.messaging::ChannelSet/mx.messaging:ChannelSet::faultPendingSends()[C:\dev\enterprise_beta3\frameworks\mx\messaging\ChannelSet.as:946]
at
mx.messaging::ChannelSet/channelFaultHandler()[C:\dev\enterprise_beta3\frameworks\mx\messaging\ChannelSet.as:679]
at flash.events::EventDispatcher/dispatchEvent()
at
mx.messaging::Channel/mx.messaging:Channel::connectFailed()[C:\dev\enterprise_beta3\frameworks\mx\messaging\Channel.as:658]
at
mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed()[C:\dev\enterprise_beta3\frameworks\mx\messaging\channels\PollingChannel.as:111]
at
mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::statusHandler()[C:\dev\enterprise_beta3\frameworks\mx\messaging\channels\AMFChannel.as:285]
[object Object]
Here are some pertinent snippets:
<destination id="DataTest">
<adapter ref="java-object" />
<channels>
<channel ref="my-amf" />
</channels>
<properties>
<source>com.test.Account</source>
</properties>
</destination>
Action Script:
var dataTest:mx.rpc.remoting.RemoteObject = new RemoteObject();
dataTest.destination = "DataTest";
dataTest.getName.addEventListener("result", handleResult);
dataTest.addEventListener("fault", handleFault);
dataTest.bla();
remote object:
package com.test
public class Account {
public String Name = null;
public Account() {
Name = "My Company";
}
public String bla() {
return Name;
}
}
I appreciate any help.
Jeremy
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

