What do you use on the server side?. If you;re using java on the server side  
you can call a method on the server side if your http controller is properly 
configured. 

Give us more detail with what you have on the backend, and you might want to 
consider using  resultFormat="e4x" when you declare the HTTP service too.

Valy


----- Original Message ----
From: Tracy Spratt <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Friday, December 8, 2006 1:12:52 PM
Subject: RE: [flexcoders] XML-RPC

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: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] ups.com ] On Behalf 
Of z4guyuk
Sent: Friday, December 08, 2006 11:44 AM
To: [EMAIL PROTECTED] ups.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
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="{serverSetting s.xmlRPCstring} "
method="GET" id="service" result="methodResul t(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



 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

Reply via email to