Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Webservice using ksoap2 problem

 
Aris Doxakis
Ranch Hand
Posts: 136
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 136
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!