• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can't connect to XML Server using XML-RPC protocol

 
chetan dhumane
Ranch Hand
Posts: 641
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
D/CameraService( 25): startPreview()
W/System.err( 180): org.xmlrpc.android.XMLRPCException: org.apache.http.conn.Ht
tpHostConnectException: Connection to http://127.0.0.1:8085 refused
W/System.err( 180): at org.xmlrpc.android.XMLRPCClient.callXMLRPC(XMLRPCClie
nt.java:380)
W/System.err( 180): at org.xmlrpc.android.XMLRPCClient.call(XMLRPCClient.jav
a:171)
W/System.err( 180): at javapadawan.android.ImageCaptureCallback.onPictureTak
en(ImageCaptureCallback.java:39)


My code



Server is running perfectly i can access same method by using apaches commons http client but why this is giving exceptions


I am using libraries from this URL : http://code.google.com/p/android-xmlrpc/
 
Pedro Skink
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
chetan dhumane wrote:

My code



I am using libraries from this URL : http://code.google.com/p/android-xmlrpc/


if you try to connect to your development computer url 127.0.0.1 is wrong, try 10.0.2.2 instead.

see test activity in the project you use how to connect to dev box.



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic