XMLEncoder is really simple. You'll have a function that takes an object as a parameter. That function is expected to return an object of type XML. How you create that XML object is completely up to you. So you can just go through all of your object properties and build up an XML document however you please.
As for PHP I don't know the language so I'm not sure how it would work. The thing is that the data is not going to come through as form encoding so the normal request object is not going to be some Map, it should just be the character data. As an alternative you could of course send a single parameter as a String to your HTTPService, just do your own object-to-string conversion before calling send() (and that could turn the object into an XML string). HTH, Matt -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of alpharythms Sent: Saturday, December 24, 2005 5:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] [Flex 2.0] XMLEncoder Sorry for previous partial message. [mouse click was a bit sloppy when checking the preview] Does anyone have any examples of using the XMLEncoder class in Flex 2.0. Language reference is here: http://livedocs.macromedia.com/labs/1/flex/langref/mx/rpc/xml/XMLEncoder .html And/or Does anyone have an example of using the contentType set to "application/xml" in an HTTPService call? http://livedocs.macromedia.com/labs/1/flex/langref/mx/rpc/http/HTTPServi ce.html#contentType In particular how would I get this data if it was sent to a PHP script since I imagine you wouldn't be able to use $_REQUEST['']... Thanks, Adam Schroeder -- 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 ------------------------ Yahoo! Groups Sponsor --------------------~--> AIDS in India: A "lurking bomb." Click and help stop AIDS now. http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- 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/