--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> I am not familiar with "XML-RPC", but I suspect that the answer to your
> question is no.
>
>
>
> Can you do an ordinary HTTPService call successfully?
>
>
>
> This:
>
> <method>"author.login"</method>
>
> Looks suspicious. It is sending a querystring parameter that looks like
> this:
>
> ...?method="author.login"&....
>
>
>
> Does the url target know how to handle that?
>
>
>
> Tracy
>
>
>
> ________________________________
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of z4guyuk
> Sent: Friday, December 08, 2006 11:44 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] XML-RPC
>
>
>
> I have spent most of today googling and searching forums looking for
> an answer to this and it's getting towards that time on a Friday so my
> brain has given up.
>
> Does Flex natively support XML-RPC? I found 1 or 2 examples of it
> being used - one of them here:
> http://tech.groups.yahoo.com/group/flexcoders/message/549
> <http://tech.groups.yahoo.com/group/flexcoders/message/549>
> and when I have been able to get the example code to work (like the
> above one) I have been unable to then get it to work with my own server.
> So far each time I have tried I get an unknown method error.
>
> One comment I found was that the webservice class would be better than
> the HTTPService class. If so does anyone have an example?
>
> The code I have used is this:
>
> <mx:HTTPService url="{serverSettings.xmlRPCstring}"
> method="GET" id="service" result="methodResult(true,event)"
> fault="methodResult(false,event)">
> <mx:request>
> <method>"author.login"</method>
> <Customer>108</Customer>
> <Name>username</Name>
> <Password>Password</Password>
> </mx:request>
> </mx:HTTPService>
>
> I get the result function call firing but I can't see and data. When I
> dig through all the variables in the debugger I eventually come across
> a "unknown method" string that is returned by the server.
>
> Can anyone help me with this or do I have to try and get a 3rd party
> AS2 library to work with Flex instead?
>
> Many Thanks
>
> Giles
>