Ok cool thank you. How do I go about defining one?
--- In flexcoders@yahoogroups.com, "valdhor" <valdhorli...@...> wrote: > > Well, from that file, there is no channel defined as weborb-rtmp. > > > --- In flexcoders@yahoogroups.com, "Andrew" <roly445@> wrote: > > > > Hi valdhor, thanks for any help you can give me. > > > > From the custom site: > > 'services-config.xml' > > <?xml version="1.0" encoding="UTF-8"?> > > <services-config> > > > > <services> > > <service-include file-path="remoting-config.xml" /> > > <service-include file-path="data-management-config.xml" /> > > </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="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> > > </channels> > > </services-config> > > 'remoting-config.xml' > > <?xml version="1.0" encoding="UTF-8"?> > > <service id="remoting-service" > > class="Weborb.V3Types.Core.RemotingHandler" > > messageTypes="flex.messaging.messages.RemotingMessage"> > > > > <adapters /> > > > > <default-channels> > > <channel ref="my-amf"/> > > <channel ref="my-secure-amf"/> > > </default-channels> > > > > <destination id="computerinfo"> > > <properties> > > <source>GettingStarted.Examples.ComputerInfoService</source> > > </properties> > > </destination> > > > > <destination id="autoupdater"> > > <properties> > > <source>Weborb.Service.AutoUpdater</source> > > </properties> > > </destination> > > > > <destination id="ApplicationManager"> > > <properties> > > <source>FlexStore.ApplicationManager.ProductFetcher</source> > > </properties> > > </destination> > > > > <destination id="WeborbSecurity"> > > <properties> > > <source>Weborb.Management.SecurityService</source> > > </properties> > > </destination> > > > > <destination id="WeborbManagement"> > > <properties> > > <source>Weborb.Management.ManagementService</source> > > </properties> > > </destination> > > > > <destination id="WeborbConfiguration"> > > <properties> > > <source>Weborb.Management.ConfigurationService</source> > > </properties> > > </destination> > > > > <destination id="SecureTest"> > > <properties> > > <source>Weborb.Examples.InvocationTests.SecureTest</source> > > </properties> > > <security> > > <security-constraint> > > <auth-method>Custom</auth-method> > > <roles> > > <role>administrator</role> > > </roles> > > </security-constraint> > > </security> > > </destination> > > > > <destination id="AccountBalanceDestination"> > > <properties> > > <source>Weborb.Examples.AccountBalance</source> > > </properties> > > <security> > > <security-constraint> > > <auth-method>Custom</auth-method> > > <roles> > > <role>examplesuser</role> > > </roles> > > </security-constraint> > > </security> > > </destination> > > > > <destination id="WDMFCodeGen"> > > <properties> > > > > <source>Weborb.Management.DataManagement.Codegen.AppHandler</source> > > </properties> > > </destination> > > > > <destination id="GenericDestination"> > > <properties> > > <source>*</source> > > </properties> > > </destination> > > > > <destination id="BusinessIntelligenceDestination"> > > <properties> > > <source>Weborb.Management.RBIManagementService</source> > > </properties> > > </destination> > > > > <destination channels="amf-sessionactivation" > > id="SessionGenericDestination"> > > <channels> > > <channel ref="amf-sessionactivation" /> > > </channels> > > <properties> > > <source>*</source> > > </properties> > > </destination> > > > > <destination channels="amf-singletonactivation" > > id="SingletonGenericDestination"> > > <channels> > > <channel ref="amf-singletonactivation" /> > > </channels> > > <properties> > > <source>*</source> > > </properties> > > </destination> > > </service> > > > > And from weborb > > 'services-config.xml' > > <?xml version="1.0" encoding="UTF-8"?> > > <services-config> > > > > <services> > > <service-include file-path="remoting-config.xml" /> > > <service-include file-path="data-management-config.xml" /> > > </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="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> > > </channels> > > </services-config> > > 'remoting-config.xml' > > <?xml version="1.0" encoding="UTF-8"?> > > <service id="remoting-service" > > class="Weborb.V3Types.Core.RemotingHandler" > > messageTypes="flex.messaging.messages.RemotingMessage"> > > > > <adapters /> > > > > <default-channels> > > <channel ref="my-amf"/> > > <channel ref="my-secure-amf"/> > > </default-channels> > > > > <destination id="computerinfo"> > > <properties> > > <source>GettingStarted.Examples.ComputerInfoService</source> > > </properties> > > </destination> > > > > <destination id="autoupdater"> > > <properties> > > <source>Weborb.Service.AutoUpdater</source> > > </properties> > > </destination> > > > > <destination id="ApplicationManager"> > > <properties> > > <source>FlexStore.ApplicationManager.ProductFetcher</source> > > </properties> > > </destination> > > > > <destination id="WeborbSecurity"> > > <properties> > > <source>Weborb.Management.SecurityService</source> > > </properties> > > </destination> > > > > <destination id="WeborbManagement"> > > <properties> > > <source>Weborb.Management.ManagementService</source> > > </properties> > > </destination> > > > > <destination id="WeborbConfiguration"> > > <properties> > > <source>Weborb.Management.ConfigurationService</source> > > </properties> > > </destination> > > > > <destination id="SecureTest"> > > <properties> > > <source>Weborb.Examples.InvocationTests.SecureTest</source> > > </properties> > > <security> > > <security-constraint> > > <auth-method>Custom</auth-method> > > <roles> > > <role>administrator</role> > > </roles> > > </security-constraint> > > </security> > > </destination> > > > > <destination id="AccountBalanceDestination"> > > <properties> > > <source>Weborb.Examples.AccountBalance</source> > > </properties> > > <security> > > <security-constraint> > > <auth-method>Custom</auth-method> > > <roles> > > <role>examplesuser</role> > > </roles> > > </security-constraint> > > </security> > > </destination> > > > > <destination id="WDMFCodeGen"> > > <properties> > > > > <source>Weborb.Management.DataManagement.Codegen.AppHandler</source> > > </properties> > > </destination> > > > > <destination id="GenericDestination"> > > <properties> > > <source>*</source> > > </properties> > > </destination> > > > > <destination id="BusinessIntelligenceDestination"> > > <properties> > > <source>Weborb.Management.RBIManagementService</source> > > </properties> > > </destination> > > > > <destination channels="amf-sessionactivation" > > id="SessionGenericDestination"> > > <channels> > > <channel ref="amf-sessionactivation" /> > > </channels> > > <properties> > > <source>*</source> > > </properties> > > </destination> > > > > <destination channels="amf-singletonactivation" > > id="SingletonGenericDestination"> > > <channels> > > <channel ref="amf-singletonactivation" /> > > </channels> > > <properties> > > <source>*</source> > > </properties> > > </destination> > > </service> > > > > > > > > > > > > > > --- In flexcoders@yahoogroups.com, "valdhor" <valdhorlists@> wrote: > > > > > > I don't use IIS but I may be able to help. > > > > > > Can you post your services-config.xml file and your remoting-config.xml > > > file both on the flex side as well as the WebORB side. > > > > > > > > > --- In flexcoders@yahoogroups.com, "Andrew" <roly445@> wrote: > > > > > > > > Hi all, > > > > > > > > I am hoping for some help on this one as it has me beat. > > > > > > > > I have been looking around this group trying to find an answer but > > > > everything I try fails. > > > > > > > > This site is running on localhost in IIS7 on Windows 7 using a Website > > > > from a Visual Studio template. The site is running with the classic > > > > pipeline. > > > > > > > > I have changed the services to point at 'weborb-services-config.xml' > > > > and not 'services-config.xml' and I have change the compiler to look at > > > > webord30 dir instead of the one in the create website. > > > > > > > > I have posted the flex error below. > > > > > > > > Any help would be appreciated. > > > > > > > > Thanks > > > > > > > > > > > > [MessagingError message='Channel 'weborb-rtmp' does not exist in the > > > > configuration.'] > > > > at > > > > mx.messaging.config::ServerConfig$/createChannel()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\config\ServerConfig.as:486] > > > > at > > > > mx.messaging.config::ServerConfig$/getChannel()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\config\ServerConfig.as:222] > > > > at Chat/establishConnection()[C:\Users\Andrew\Documents\Flex > > > > Builder 3\Chat\src\Chat.mxml:15] > > > > at > > > > Chat/___Chat_Application1_creationComplete()[C:\Users\Andrew\Documents\Flex > > > > Builder 3\Chat\src\Chat.mxml:2] > > > > at flash.events::EventDispatcher/dispatchEventFunction() > > > > at flash.events::EventDispatcher/dispatchEvent() > > > > at > > > > mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9298] > > > > at mx.core::UIComponent/set > > > > initialized()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:1169] > > > > at > > > > mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718] > > > > at Function/http://adobe.com/AS3/2006/builtin::apply() > > > > at > > > > mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8628] > > > > at > > > > mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8568] > > > > > > > > > >