I'd check with an HTTP sniffer to see just what exactly is being sent on the wire for the body of the request. There are two known issues with the Flash Player XML type that HTTPService does not work around correctly in 2.0. The scenario is that if an XML value is provided as the body of a POST and that value has only empty, simple content (i.e. no child elements, just the empty string), then because toString() is called on the value when serializing it, the first known issue is hit where by the root elements are unwrapped and only the simple content is sent, i.e. the empty string. The second issue is that if you try to send no content with POST, the underlying URLLoader changes this back to GET. The reason I suggest using an HTTP sniffer is perhaps while you think you've provided a correct <mx:request>, perhaps it's not being actually sent as such? How are you calling send() on the HTTP service? Pete
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of dorkie dork from dorktown Sent: Thursday, June 07, 2007 4:00 AM To: [email protected] Subject: [flexcoders]Faking an XMLRPC call Is there a way to fake an XML RPC call? It seems like it'd be simple but I can't get it to work: <mx:HTTPService id="srv" url=" http://www.judahfrangipane.com/blog/xmlrpc.php <http://www.judahfrangipane.com/blog/xmlrpc.php> " fault="{faultHandler(event)}" result="{resultHandler(event)}" resultFormat="text" method="POST" contentType="application/xml"> <mx:request> <methodCall> <methodName>metaWeblog.getPost</methodName> <params> <param><value><string>77</string></value></param> <param><value><string>visitor</string></value></param> <param><value><string>visitor</string></value></param> </params> </methodCall> </mx:request> </mx:HTTPService> The result I get is "XML-RPC server accepts POST requests only." FYI I'm calling a wordpress blog.

