0 Replies Latest reply on Oct 28, 2008 3:36 AM by taze1701

    Secure AMF - Error #2004: One of the parameters is invalid


      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 a 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">

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

      Thanks in advance,