Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Access Web Services from Android

 
Naishadh Parmar
Ranch Hand
Posts: 95
C++ Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I have programmed stand-alone applications for Android. Now I need to access an Web Service from within the application.

Can someone help?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of WS is this? What do you know about its API? Most WS used by mobile devices are implemented using REST - for those you can use the built in HttpClient library.
 
Naishadh Parmar
Ranch Hand
Posts: 95
C++ Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


It is a JAX-WS web service deployed on glassfish 4 and we have NOT implemented it as a stateless session bean.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It doesn't matter how it is implemented on the server. You will need a SOAP library that's Android compatible, like kSOAP2.
 
Naishadh Parmar
Ranch Hand
Posts: 95
C++ Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf.
 
Monu Tripathi
Rancher
Posts: 1369
1
Android Eclipse IDE Java
 
Naishadh Parmar
Ranch Hand
Posts: 95
C++ Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Monu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic