Well my method calls worked fine on another server I was running this
application on, I've recently moved the site to a new server and
repointed the URL.

The service-config file looks like this:

<?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://83.170.86.32:80/flex2gateway/";
class="flex.messaging.endpoints.AMFEndpoint"/>    
       <!-- <endpoint uri="http://{83.170.86.32}:{8700}/flex2gateway/";
class="flex.messaging.endpoints.AMFEndpoint"/>  --> 
  <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>

I'm not sure if the my-cfamf channel is correct or the cause of the
problem.

--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]>
wrote:
>
> On Wednesday 17 Oct 2007, [EMAIL PROTECTED] wrote:
> > When I access the same site, via a IP address I don't get the error
> > message and the site works fine.
> 
> At a guess, you have some cross domain problem with your RPC calls.
> What does your services-config and method calls look like ?
> 
> -- 
> Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm,
and has 
> done some ColdFusion work ? Would you like to work for a top 30 law
firm in 
> Manchester, UK ? Are not an agency ? If yes, send email !
> 
> ****************************************************
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at St James's Court Brown Street Manchester M2 2JF.
 A list of members is available for inspection at the registered
office.  Any reference to a partner in relation to Halliwells LLP
means a member of Halliwells LLP.  Regulated by The Solicitors
Regulation Authority.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named above
and may be confidential or legally privileged.  If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents.  If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 8008.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
>


Reply via email to