Issue 35 in android-xmlrpc: xml rpc server help???

75 views
Skip to first unread message

android...@googlecode.com

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

New issue 35 by ayshmb1...@gmail.com: xml rpc server help???
http://code.google.com/p/android-xmlrpc/issues/detail?id=35

hello every body!
i'm looking for a way to implement an xml rpc server on an android device.
I tried the class in the 1st attached file but it seems that it s not
working because i've tried to send data from a local activity (with
localhost:8214) but the answer was "connection refused".

Anyway is that the better way to do??

I've followed that little discussion to implement the server and according
to them "your xmlrpc server library" needs to be modified a little bit!! do
I need to that with the release 15?? ==> URL (
http://www.anddev.org/networking-database-problems-f29/xml-rpc-server-on-android-t16632.html
)

extra exlpanations:
the scenario was to get suscribed by sending the command plus as two
parameters: my server's url and finally the command to send me real time
String data, to a server which has to send me real time those Strings
information.

the B class has just to show the Strings sent.
Attached file
The second attached file is the sucription class
the 3rd one is the B class


Attachments:
Server.java 4.8 KB
Viewer.java 2.6 KB
B.java 667 bytes

android...@googlecode.com

unread,
Jan 22, 2012, 12:05:03 AM1/22/12
to android-x...@googlegroups.com

Comment #1 on issue 35 by psk...@gmail.com: xml rpc server help???
http://code.google.com/p/android-xmlrpc/issues/detail?id=35

You connect @ "http://
fuseng.elte .rma.ac. be:8080/RPC2 "

Is it your android xmlrpc server?

android...@googlecode.com

unread,
Jan 22, 2012, 5:04:55 AM1/22/12
to android-x...@googlegroups.com

Comment #2 on issue 35 by ayshmb1...@gmail.com: xml rpc server help???
http://code.google.com/p/android-xmlrpc/issues/detail?id=35

nah that's not my adress. it's a server somewhere in the internet but once
i got suscribed to it, it is supposed to play the client role and send me
real time data everytime there is an update.

Mine is supposed to be http://IpAdress:8214/ (see Viewer, i have a method
to look for my IP Adress and of course it will work only on wifi).

android...@googlecode.com

unread,
Jan 22, 2012, 5:13:56 AM1/22/12
to android-x...@googlegroups.com

Comment #3 on issue 35 by ayshmb1...@gmail.com: xml rpc server help???
http://code.google.com/p/android-xmlrpc/issues/detail?id=35

nah that's not my adress. it's an xml-RPC server somewhere in the internet

but once i got suscribed to it, it is supposed to play the client role and
send me real time data everytime there is an update.

Mine is supposed to be http://IpAdress:8214/ (see Viewer class, i have a

android...@googlecode.com

unread,
Jan 22, 2012, 7:00:19 AM1/22/12
to android-x...@googlegroups.com

Comment #4 on issue 35 by psk...@gmail.com: xml rpc server help???
http://code.google.com/p/android-xmlrpc/issues/detail?id=35

Are you using the latest version from svn? If not, do it.

Also did you try the sample server code which is in the distribution?

android...@googlecode.com

unread,
Jan 22, 2012, 8:35:42 AM1/22/12
to android-x...@googlegroups.com

Comment #5 on issue 35 by ayshmb1...@gmail.com: xml rpc server help???
http://code.google.com/p/android-xmlrpc/issues/detail?id=35

euh what do u mean by svn??

i've downloaded (i think) the lastest version on your android xml rpc
package and my server is based on it. i'll try it once i'll have access on
a wifi spot.. now i'm in a military environnement and all IPs are private,
can't have access to my phone neither with 3G nor with my my connection.
and it seems that it s not working with activities on my phone :(

android...@googlecode.com

unread,
Jan 22, 2012, 9:11:50 AM1/22/12
to android-x...@googlegroups.com

Comment #6 on issue 35 by psk...@gmail.com: xml rpc server help???
http://code.google.com/p/android-xmlrpc/issues/detail?id=35

No, you dont have the latest version.

You need to go to http://code.google.com/p/android-xmlrpc/source/checkout
and read how to checkout the code via svn

The easiest way is by installing subversion plugin if you are using
eclipse of course

android...@googlecode.com

unread,
Jan 22, 2012, 10:34:07 AM1/22/12
to android-x...@googlegroups.com

Comment #7 on issue 35 by ayshmb1...@gmail.com: xml rpc server help???
http://code.google.com/p/android-xmlrpc/issues/detail?id=35

i'm installing the svn and reading tutorials to see how it works.. i'll let
you know once it's done :-)

nice tool by the way ;-)

android...@googlecode.com

unread,
Jan 22, 2012, 11:07:17 AM1/22/12
to android-x...@googlegroups.com

Comment #8 on issue 35 by ayshmb1...@gmail.com: xml rpc server help???
http://code.google.com/p/android-xmlrpc/issues/detail?id=35

i'm unable to connect with svn. that's it what i got
C:\Users\youssoua\subversionRepository>svn checkout
http://android-xmlrpc.googlecode.com/svn/trunk/ android-xmlrpc-read-only
svn: E175002: Unable to connect to a repository at
URL 'http://android-xmlrpc.googlecode.com/svn/trunk'
svn: E175002: OPTIONS de 'http://android-xmlrpc.googlecode.com/svn/trunk' :
Impossible de se connecter au serveur (http://android-xmlrpc.googlecode.com)

android...@googlecode.com

unread,
Jan 22, 2012, 11:26:23 AM1/22/12
to android-x...@googlegroups.com

Comment #9 on issue 35 by psk...@gmail.com: xml rpc server help???
http://code.google.com/p/android-xmlrpc/issues/detail?id=35

Try to browse http://android-xmlrpc googlecode.com/svn/trunk

It works, if not your military network is to the couse

android...@googlecode.com

unread,
Jan 22, 2012, 12:37:34 PM1/22/12
to android-x...@googlegroups.com

Comment #10 on issue 35 by ayshmb1...@gmail.com: xml rpc server help???
http://code.google.com/p/android-xmlrpc/issues/detail?id=35

nah i still can't, it said to modify the proxy setting in the file named
servers but i don't have a such file name on my computer :(, i'll see
tomorrow at a friend's place where there is no proxy

android...@googlecode.com

unread,
Jan 22, 2012, 1:15:43 PM1/22/12
to android-x...@googlegroups.com

Comment #11 on issue 35 by ayshmb1...@gmail.com: xml rpc server help???
http://code.google.com/p/android-xmlrpc/issues/detail?id=35

i've managed to solve it but i can't even ping the adress, that's weird coz
i always manage to :(
can you ping the adress to see please?

android...@googlecode.com

unread,
Jan 22, 2012, 1:23:46 PM1/22/12
to android-x...@googlegroups.com

Comment #12 on issue 35 by psk...@gmail.com: xml rpc server help???
http://code.google.com/p/android-xmlrpc/issues/detail?id=35

Its google site - it has to be working, yes I checked - it works

android...@googlecode.com

unread,
Jan 22, 2012, 3:17:18 PM1/22/12
to android-x...@googlegroups.com

Comment #13 on issue 35 by ayshmb1...@gmail.com: xml rpc server help???
http://code.google.com/p/android-xmlrpc/issues/detail?id=35

i guess i gotta get out of this jail :D thx anyway!

android...@googlecode.com

unread,
Jan 22, 2012, 3:30:21 PM1/22/12
to android-x...@googlegroups.com

Comment #14 on issue 35 by ayshmb1...@gmail.com: xml rpc server help???
http://code.google.com/p/android-xmlrpc/issues/detail?id=35

i finally managed! gonna read more what to do after that step!

android...@googlecode.com

unread,
Jan 22, 2012, 3:34:22 PM1/22/12
to android-x...@googlegroups.com

Comment #15 on issue 35 by ayshmb1...@gmail.com: xml rpc server help???
http://code.google.com/p/android-xmlrpc/issues/detail?id=35

i finally managed to get all folders, thx dude, i'll see what will be the
answer :-)

android...@googlecode.com

unread,
Jan 31, 2012, 10:02:29 AM1/31/12
to android-x...@googlegroups.com

Comment #16 on issue 35 by ayshmb1...@gmail.com: xml rpc server help???
http://code.google.com/p/android-xmlrpc/issues/detail?id=35

here is what i found to make it work, actually for both your
xmlrpcServerTest and my server we needed to add superclass constructor.

The issue is solved, i hope it will help someone else :-)

Attachments:
Server.java 10.5 KB

Reply all
Reply to author
Forward
0 new messages