Issue 34 in android-xmlrpc: unable to send xmlrpc second parameter :(

8 views
Skip to first unread message

android...@googlecode.com

unread,
Jan 18, 2012, 8:50:21 AM1/18/12
to android-x...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 34 by ayshmb1...@gmail.com: unable to send xmlrpc second
parameter :(
http://code.google.com/p/android-xmlrpc/issues/detail?id=34

i created an activity that use xml rpc to send a command with two
parametres. the problem is when the second parametre is a String value, the
whole application crashes with the error java.lang.ClassCastException:
java.lang.Integer.... and when i change it into an INT (integer), the
application doesn't crash but i have an xml rpc error telling me that i've
used an integer where i should have used a string value.
can someone help me please?
1. first annexe, the logcat output and the second one, my activity class

2.NB: i've already use xmlrpc client for one single parametre and it works
fine.

3. i hope my english is enough good to be understood.

4.THX for reading and trying to help, greetings

Please provide any additional information below.

Attachments:
logcat.txt 2.8 KB
Viewer.java 2.6 KB

android...@googlecode.com

unread,
Jan 20, 2012, 1:50:01 PM1/20/12
to android-x...@googlegroups.com

Comment #1 on issue 34 by psk...@gmail.com: unable to send xmlrpc second
parameter :(
http://code.google.com/p/android-xmlrpc/issues/detail?id=34

in Viewer.java, line 48 do the following:

Object obj = client.call(...)

and call Log.d with obj.getClass()

android...@googlecode.com

unread,
Jan 21, 2012, 8:28:32 AM1/21/12
to android-x...@googlegroups.com

Comment #2 on issue 34 by ayshmb1...@gmail.com: unable to send xmlrpc

thx maynn, it works like a charm... Actually it was the server sending me
an integer as answer :-)

android...@googlecode.com

unread,
Jan 21, 2012, 11:46:01 PM1/21/12
to android-x...@googlegroups.com
Updates:
Status: Closed

Comment #3 on issue 34 by psk...@gmail.com: unable to send xmlrpc second
parameter :(
http://code.google.com/p/android-xmlrpc/issues/detail?id=34

(No comment was entered for this change.)

android...@googlecode.com

unread,
Jan 21, 2012, 11:50:01 PM1/21/12
to android-x...@googlegroups.com
Updates:
Status: Done

Comment #4 on issue 34 by psk...@gmail.com: unable to send xmlrpc second

Reply all
Reply to author
Forward
0 new messages