Ok, i dont know what the problem is with my home pc, but i have moved it onto my work's pc and it works, well i get further than I did.
When I run it I now get: NetConnection.Connect.Rejected No scope "Chat" on this server. --- In flexcoders@yahoogroups.com, "valdhor" <valdhorli...@...> wrote: > > Well, that looks fine. > > Can you check the server side services-config.xml file and make sure the > weborb-rtmp channel is defined there? > > > --- In flexcoders@yahoogroups.com, "roly445" <roly445@> wrote: > > > > Sure here you go > > > > <?xml version="1.0" encoding="UTF-8" ?> > > - <services-config> > > - <services> > > <service-include file-path="remoting-config.xml" /> > > <service-include file-path="messaging-config.xml" /> > > <service-include file-path="data-management-config.xml" /> > > - <service id="remoting-weborb-service" > > class="Weborb.V3Types.Core.RemotingHandler" > > messageTypes="flex.messaging.messages.RemotingMessage"> > > <adapters /> > > - <default-channels> > > <channel ref="weborb-rtmp" /> > > <channel ref="air-nohttp" /> > > </default-channels> > > - <destination id="MessagingDestination"> > > - <properties> > > <source>*</source> > > </properties> > > </destination> > > - <destination id="GenericAIRDestination"> > > - <properties> > > <source>*</source> > > </properties> > > </destination> > > </service> > > </services> > > - <channels> > > - <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel"> > > <endpoint uri="weborb.aspx" class="flex.messaging.endpoints.AMFEndpoint" > > /> > > - <properties> > > <polling-enabled>false</polling-enabled> > > </properties> > > </channel-definition> > > - <channel-definition id="amf-sessionactivation" > > class="mx.messaging.channels.AMFChannel"> > > <endpoint uri="weborb.aspx?activate=session" > > class="flex.messaging.endpoints.AMFEndpoint" /> > > - <properties> > > <polling-enabled>false</polling-enabled> > > </properties> > > </channel-definition> > > - <channel-definition id="amf-singletonactivation" > > class="mx.messaging.channels.AMFChannel"> > > <endpoint uri="weborb.aspx?activate=application" > > class="flex.messaging.endpoints.AMFEndpoint" /> > > - <properties> > > <polling-enabled>false</polling-enabled> > > </properties> > > </channel-definition> > > - <channel-definition id="my-secure-amf" > > class="mx.messaging.channels.SecureAMFChannel"> > > <endpoint uri="weborb.aspx" > > class="flex.messaging.endpoints.SecureAMFEndpoint" /> > > </channel-definition> > > - <channel-definition id="weborb-rtmp" > > class="weborb.messaging.WeborbMessagingChannel"> > > <endpoint uri="rtmp://{server.name}:2037" /> > > </channel-definition> > > - <channel-definition id="air-http" > > class="mx.messaging.channels.AMFChannel"> > > <endpoint uri="http://localhost:80/weborb30/weborb.aspx" > > class="flex.messaging.endpoints.AMFEndpoint" /> > > - <properties> > > <polling-enabled>false</polling-enabled> > > </properties> > > </channel-definition> > > - <channel-definition id="air-nohttp" > > class="weborb.messaging.WeborbMessagingChannel"> > > <endpoint uri="rtmp://localhost:2037" /> > > </channel-definition> > > </channels> > > </services-config> > > > > --- In flexcoders@yahoogroups.com, "valdhor" <valdhorlists@> wrote: > > > > > > In that case, can you post your weborb-services-config.xml file? > > > > > > > > > --- In flexcoders@yahoogroups.com, "Andrew" <roly445@> wrote: > > > > > > > > Thanks valdhor. > > > > > > > > I have double checked but I am already referencing > > > > 'weborb-services-config.xml' and i and still having the same issue. > > > > > > > > > > > > --- In flexcoders@yahoogroups.com, "valdhor" <valdhorlists@> wrote: > > > > > > > > > > It looks like you are referencing services-config.xml instead of > > > > > weborb-services-config.xml in your compilere settings. weborb-rtmp > > > > > should be defined in that file. > > > > > > > > > > --- In flexcoders@yahoogroups.com, "Andrew" <roly445@> wrote: > > > > > > > > > > > > Ok cool thank you. > > > > > > > > > > > > How do I go about defining one? > > > > > > > > > > > > --- In flexcoders@yahoogroups.com, "valdhor" <valdhorlists@> wrote: > > > > > > > > > > > > > > Well, from that file, there is no channel defined as weborb-rtmp. > > > > > > > > > > > > > > > > > > > > > > > > > > > > >