Created
May 1, 2009 05:34
-
-
Save godsmustbcrazy/104887 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<services-config> | |
<services> | |
<service id="coldfusion-flashremoting-service" | |
class="flex.messaging.services.RemotingService" | |
messageTypes="flex.messaging.messages.RemotingMessage"> | |
<adapters> | |
<adapter-definition id="cf-object" class="coldfusion.flash.messaging.ColdFusionAdapter" default="true"/> | |
</adapters> | |
<destination id="ColdFusion"> | |
<channels> | |
<channel ref="my-cfamf"/> | |
</channels> | |
<properties> | |
<source>*</source> | |
<!-- define the resolution rules and access level of the cfc being invoked --> | |
<access> | |
<!-- Use the ColdFusion mappings to find CFCs, by default only CFC files under your webroot can be found. --> | |
<use-mappings>true</use-mappings> | |
<!-- allow "public and remote" or just "remote" methods to be invoked --> | |
<method-access-level>remote</method-access-level> | |
</access> | |
<property-case> | |
<!-- cfc property names --> | |
<force-cfc-lowercase>false</force-cfc-lowercase> | |
<!-- Query column names --> | |
<force-query-lowercase>false</force-query-lowercase> | |
<!-- struct keys --> | |
<force-struct-lowercase>false</force-struct-lowercase> | |
</property-case> | |
</properties> | |
</destination> | |
</service> | |
</services> | |
<channels> | |
<channel-definition id="my-cfamf" class="mx.messaging.channels.AMFChannel"> | |
<endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/" class="flex.messaging.endpoints.AMFEndpoint"/> | |
<properties> | |
<polling-enabled>false</polling-enabled> | |
<serialization> | |
<instantiate-types>false</instantiate-types> | |
</serialization> | |
</properties> | |
</channel-definition> | |
<!-- use this for https, you probably want to create another destination --> | |
<channel-definition id="my-cfamf-secure" class="mx.messaging.channels.SecureAMFChannel"> | |
<endpoint uri="https://{server.name}:{server.port}{context.root}/flex2gateway/cfamfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/> | |
<properties> | |
<polling-enabled>false</polling-enabled> | |
<serialization> | |
<instantiate-types>false</instantiate-types> | |
</serialization> | |
</properties> | |
</channel-definition> | |
</channels> | |
<logging> | |
<target class="flex.messaging.log.ConsoleTarget" level="Error"> | |
<properties> | |
<prefix>[Flex] </prefix> | |
<includeDate>false</includeDate> | |
<includeTime>false</includeTime> | |
<includeLevel>false</includeLevel> | |
<includeCategory>false</includeCategory> | |
</properties> | |
<filters> | |
<pattern>Endpoint.*</pattern> | |
<pattern>Service.*</pattern> | |
<pattern>Configuration</pattern> | |
<pattern>Message.*</pattern> | |
</filters> | |
</target> | |
</logging> | |
<system> | |
</system> | |
</services-config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment