0 Replies Latest reply on Feb 24, 2009 4:07 PM by (Jeff_Vroom)

    [svn:fx-trunk] 5063: Bugs: SDK-14811 - avoid errors when strings are sent to an HTTPService operation

      Revision: 5063
      Author: jvroom@adobe.com
      Date: 2009-02-24 16:07:49 -0800 (Tue, 24 Feb 2009)

      Log Message:
      -----------
      Bugs: SDK-14811 - avoid errors when strings are sent to an HTTPService operation
      - Also changed how HTTPMultiService works when argumentNames is not set. Now this works just
      like HTTPService when called with just one argument. If you specify more than one argument
      and do not set argument names, an error is thrown.
      - code cleanups: add braces where needed, removed a temp variable
      - do not set contentType metadata since we do not have the complete list of content types
      - fixed problems with HTTPMultiService.contentType and requestFormat not being inherited
      properly.
      QE: yes: verify SDK-14811 is fixed - it would be good to have a few more HTTPService test cases:
      * send(String) with contentType = CONTENT_TYPE_FORM
      * send(XML) with contentType = CONTENT_TYPE_FORM (verify it works like in 2.0.1?)
      * send(Object) with contentType = CONTENT_TYPE_FORM where there is one property which is
      an Array.
      Reviewers: Pete, Mete
      Doc: no
      Checkintests: pass

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-14811
      http://bugs.adobe.com/jira/browse/SDK-14811

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as
      flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/Operation.as
      flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/SerializationFilter.as