jangidipramod / android-xmlrpc

Automatically exported from code.google.com/p/android-xmlrpc
0 stars 0 forks source link

XMLRPC Fault: java.lang.NoSuchMethodException: #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.on android emulator using this snip calling function on xml-rpc svr
2.Object result = client.call("sample.sum", params);
3. the xml-rpc svr is org.apache vs 1.2 (yes, old) 
4. I can successfully access webserver function (yes, has handle) using a 
regular java client (which uses client.execute(...)function but not able to 
access using android client.
5. Webserver accessed: uri = URI.create("http://192.168.x.x:port");
6. Have same problem even if I use uri = URI.create("http://10.0.0.2:port");
7. Android manifest does have use permission for Internet.

What is the expected output? What do you see instead?
text string showing message back from webserver. (ie " Local webserver hit" ) 

What version of the product are you using? On what operating system?
android emulator for 4.1, org.xmlrpc.android.XMLRPCClient; windows xp 
development. The server uses import org.apache.xmlrpc.*;//vs 1.2

Please provide any additional information below.
I think I am successfully accessing the server as when I make call without 
handler ie sum(params) instead of sample.sum(params) the exception msg is no 
handler .. 

Problem: Overall, I cannot seem to actually execute the function on the 
webserver via android xml-rpc call -- but can access that function using 
straightforward java class calling xml-rpc (not android pkg).

Thanks in advance!

Original issue reported on code.google.com by rmwillia...@gmail.com on 15 Sep 2012 at 6:02

Attachments: