Welcome Guest Search | Active Topics | Members | Log In | Register

Consumer, Producer in Flash CS5 Options · View
Posted: Sunday, November 06, 2011 10:51:11 AM
Rank: Apprentice Coder
Groups: Member

Joined: 5/25/2010
Posts: 37
Points: 111
Location: italia
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.


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();

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?

Users browsing this topic

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version (NET v4.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.091 seconds.