You have to compile the Flex app against this services-config file.  I'd
leave the endpoint URIs using the variables instead of hard-coded URLs too.
This way you can have two services-config files on your local machine, one
for http one for https.  Simply point FB to the one you need and compile.

DK

On 8/15/07, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
>
> Hello,
>
>      I have a problem getting the https://<hostname>/flex2gateway/ to
> work.
>
> This is what I did:
>
>       1.  Added a channel definition for https in services-config file.
>
>     <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>false</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://f122w17/flex2gateway/"; class="
> flex.messaging.endpoints.AMFEndpoint"/>
>             <properties>
>                 <polling-enabled>false</polling-enabled>
>                 <serialization>
>                     <instantiate-types>false</instantiate-types>
>                 </serialization>
>             </properties>
>         </channel-definition>
> *        <channel-definition id="my-secure-amf" class="
> mx.messaging.channels.SecureAMFChannel"> *
> *                <endpoint uri="https://f122w17/flex2gateway/"; class="
> flex.messaging.endpoints.SecureAMFEndpoint"/>*
> *        <properties>*
> *                <add-no-cache-headers>false</add-no-cache-headers>*
> *                <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>
>
>   2.  Recycled the ColdFusion Service
>
> I know I am missing some step.  I would appreciate if somebody can help me
> identify what I am missing.
>
>
> Thanks
> Jay
> x8453
> -------------------------------------------------------------
> Annual Sponsor - Figleaf Software <http://www.figleaf.com>
>
> To unsubscribe from this list, manage your profile @
> http://www.acfug.org?fa=login.edituserform
>
> For more info, see http://www.acfug.org/mailinglists
> Archive @ http://www.mail-archive.com/discussion%40acfug.org/
> List hosted by FusionLink <http://www.fusionlink.com>
> -------------------------------------------------------------




-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?



-------------------------------------------------------------
Annual Sponsor FigLeaf Software - http://www.figleaf.com

To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to