I am running into an issue where I am attempting to use a remote object to
retrieve data. I am getting the following error on the initial attempt, but
seems to work on all other connections after the initial one:
faultCode: Client.Error.MessageSend
faultDetail: Channel.Connect.Failed error NetConnection.Call.BadVersion: : url:
' http://myServer:80/weborb.wo '
faultString: Send failed
here is the setup for the method call:
private var cs:ChannelSet = new ChannelSet();
private var myChannel:Channel = new AMFChannel("my-amf", "
http://myServer:80/weborb.wo ");
private var compinfo:RemoteObject = new RemoteObject( "PojoDestination" );
private function getInfo():void {
cs.addChannel(myChannel);
compinfo.channelSet = cs;
compinfo.addEventListener( FaultEvent.FAULT, faultHandler );
compinfo.addEventListener(ResultEvent.RESULT, getComputerInfoHandler);
compinfo.getComputerInfo("3");
}
I am setting up the calls wrong? what am I missing? Is there a better way?
Thanks,
Eric W Dunn
Adaption Technologies
281-465-3326
[email protected]