This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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
 
It's not a secret anymore!