wood burning stoves 2.0*
The moose likes Android and the fly likes Webservice using ksoap2 problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Webservice using ksoap2 problem" Watch "Webservice using ksoap2 problem" New topic
Author

Webservice using ksoap2 problem

Aris Doxakis
Ranch Hand

Joined: Dec 05, 2004
Posts: 136

Good morning,
I am using a .NET web service through my android application. I can view that the service is working correctly through my browser, but when i use the emulators browser, i can see the methods from the web service but the method when clicked doesnt return nothing. Now when i use it through ksoap2 in my android application it returns a java.net.SocketTimeoutException. What is wrong with this. It only returns a float number.

thanks in advance.
Aris Doxakis
Ranch Hand

Joined: Dec 05, 2004
Posts: 136

ok solved, i had to use the generic ip address 10.0.2.2 so i can use my web service through the emulator. First time happened, before i used my laptop ip address to use the webservices. A little weird...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Webservice using ksoap2 problem
 
Similar Threads
Running local webservice on android device connected using USB cable
Native Android Application Integration with Web Application
what'e the relationship between SOAP and kSOAP2
encryption
Android - Enterprise Mobile Apps