Issue 42 in android-xmlrpc: XMLRPC Fault: java.lang.NoSuchMethodException:

12 views
Skip to first unread message

android...@googlecode.com

unread,
Sep 15, 2012, 2:02:25 PM9/15/12
to android-x...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 42 by rmwillia...@gmail.com: XMLRPC Fault:
java.lang.NoSuchMethodException:
http://code.google.com/p/android-xmlrpc/issues/detail?id=42

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!

Attachments:
Copy of MainActivity.java.txt 2.4 KB

Reply all
Reply to author
Forward
0 new messages