Hello!

We are using AIR together with LCDS. Until now we were using an RTMPS 
channel for communication. There everything works fine.

For fallback handling we configured now an Secure AMF Channel. When 
using this channel the following error occurs when calling fill 
methods:

ArgumentError: Error #2004: One of the parameters is invalid.

Sync methods work fine!! The fill methods return type is 
Collection<...>. We also tried List<...> - same error.
At the client we use mx.collections.ArrayCollection.

The config files look like:

Client config.xml:
...
    <channel id="my-secure-amf">
        <type>secure-amf-polling</type>
        
<endpoint>https://localhost:8443/messagebroker/amfsecure</endpoint>
        <interval>8000</interval>
    </channel>
...

services-config:
...
        <channel-definition id="my-secure-amf" 
class="mx.messaging.channels.SecureAMFChannel">
            <endpoint url="https://
{server.name}:8443/messagebroker/amfsecure" 
class="flex.messaging.endpoints.SecureAMFEndpoint"/>
            <properties>
                <!--HTTPS requests on some browsers do not work when 
pragma "no-cache" are set -->
                <add-no-cache-headers>false</add-no-cache-headers>
            </properties>
        </channel-definition>
...

Thanks in advance,
Taze

Reply via email to