FluorineFx without service configuration files
 |
FluorineFx uses the same service configuration system for both Flex and Flash remoting applications.
If you create an application without using service configuration files (for example a Flash client application) the gateway internally will configure a default system with the following settings:
|
|
<?xml version="1.0" encoding="UTF-8"?>
<factories>
<factory id="dotnet" class="FluorineFx.Messaging.DotNetFactory"/>
</factories>
<services-config>
<services>
<service id="remoting-service" class="flex.messaging.services.RemotingService" messageTypes="flex.messaging.messages.RemotingMessage">
<!-- All remote calls are routed to this destination-->
<destination id="fluorine">
<channels>
<channel ref="my-amf"/>
</channels>
<properties>
<source>*</source>
</properties>
</destination>
<!-- This destination is created only when Service Browsing is enabled-->
<destination id="FluorineFx.ServiceBrowser.FluorineServiceBrowser">
<channels>
<channel ref="my-amf"/>
</channels>
<properties>
<source>FluorineFx.ServiceBrowser.FluorineServiceBrowser</source>
</properties>
</destination>
<!-- This destination is created only when Service Browsing is enabled-->
<destination id="FluorineFx.ServiceBrowser.ManagementService">
<channels>
<channel ref="my-amf"/>
</channels>
<properties>
<source>FluorineFx.ServiceBrowser.ManagementService</source>
</properties>
</destination>
<!-- This destination is created only when Service Browsing is enabled-->
<destination id="FluorineFx.ServiceBrowser.CodeGeneratorService">
<channels>
<channel ref="my-amf"/>
</channels>
<properties>
<source>FluorineFx.ServiceBrowser.CodeGeneratorService</source>
</properties>
</destination>
</service>
</services>
<!-- This is the LoginCommand specified in the web-config file if applicable-->
<security>
<login-command class="..." server="asp.net"/>
</security>
<channels>
<channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://{server.name}:{server.port}/{context.root}/Gateway.aspx" class="flex.messaging.endpoints.AMFEndpoint"/>
</channel-definition>
</channels>
</services-config>
|