Hi at all,
I can't use Flash Builder so i need to jump in Flash and i have no experience about Messaging and Weborb.
In Flex, i can include "weborb messasing xml file" and after that i can configure Producer to point
at Destination specifiend in the XML.
In Flash, i can't include this XML i think so i need to specify manually the configuration of Producer.
Code:
var channel:WeborbLongPollingChannel = new WeborbLongPollingChannel("my-long-polling-amf3","http://localhost:802/weborb.aspx");
channel.pollingEnabled = true;
channel.pollingInterval = 2;
var myChannelSet:ChannelSet = new ChannelSet();
myChannelSet.addChannel(channel);
var producer:WeborbProducer = new WeborbProducer();
producer.id = "flash-client";
producer.channelSet = myChannelSet;
producer.destination = "DestinationTest";
producer.send(new AsyncMessage("test, test, test"));
producer.autoConnect = true;
But after that i receive "error url" in the Fault listener.
Can anyone help me?
D.