Have you tried moving your custom values as the child tags of <mx:request> to the same namespace by prefixing them with mx: ? Alternatively, have you assigned an id to your HTTPService and then used script to set the request property to an anonymous Object that contains the properties that you want to POST?
What do you have set for the contentType? The default should be "application/x-www-form-urlencoded" which is what you'd want for a form submission. Pete -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of stuff Sent: Saturday, January 28, 2006 9:18 AM To: [email protected] Subject: [flexcoders] Using HTTPService to POST complex data I am trying to emulate an HTML form submission with HTTPService and I seem to be missing something on the construction of the associated request. From the server log of a successful POST I have the following: [POST] Parameters: {"commit"=>"Create", "category"=>{"name"=>"Test"}, ...} At present, my request looks like this: <mx:request> <category><name>Test</name></category> <commit>Create</commit> </mx:request> ...But that generates a runtime error. I have tried multiple constructs (Arrays, ActionScript, etc.) but I've not been able to hit on the right solution. Does anyone have any suggestions? Thanks, -Mark -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

