         if (ctype == CONTENT_TYPE_XML)
         {
             if (parameters is String && xmlEncode == null)
+            {
                 paramsToSend = parameters as String;
+            }
             else if (!(parameters is XMLNode) && !(parameters is XML))
             {
                 if (xmlEncode != null)

    //  contentType
    //----------------------------------

    [Inspectable(enumeration="application/x-www-form-urlencoded,application/xml", defaultValue="application/x-www-form-urlencoded", category="General")]
    /**
     *  Type of content for service requests. 
     *  The default is <code>application/x-www-form-urlencoded</code> which sends requests
     *  like a normal HTTP POST with name-value pairs. <code>application/xml</code> send
     *  requests as XML.
     */
    public var contentType:String = CONTENT_TYPE_FORM;

    //----------------------------------
    //  showBusyCursor

            paramsToSend = {};
            var val:Object;
            
            if (typeof(parameters) == "object")
            {
                //get all dynamic and all concrete properties from the parameters object
                var classinfo:Object = ObjectUtil.getClassInfo(parameters);
                
                for each (var p:* in classinfo.properties)
                {
                    val = parameters[p];
                    if (val != null)
                    {
                        if (val is Array)
                            paramsToSend[p] = val;
                        else
                            paramsToSend[p] = val.toString();
                    }
                }
            }
            else
            {
                paramsToSend = parameters;
            }
        }
        else
