M doing a android app that has a login funtion,User enters values->the values are passed using http to tomcat server->then checked with mysql db->thn returned to user on android app..
I have done my code using springframework.
Now i have to write a webservice for same..i.e login..
need help for writing webservice and then calling it from android..
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
posted
0
M doing a android app that has a login funtion,User enters values->the values are passed using http to tomcat server
I sure hope that you're not sending login data over HTTP. That's what HTTPS is for.
http://www.softwareagility.gr/index.php?q=node/21
That looks like a SOAP WS. While there are SOAP libraries for Android, I would strongly advise to create a REST service instead, which is what just about everyone uses for access from mobile devices. Easier to develop, easier to access. Check out the Jersey library that implements the JAX-RS API on the server side. On the client side you can use the HttpClient library that is built into the Android API.
karuna ragu
Greenhorn
Joined: Feb 28, 2012
Posts: 2
posted
0
Its best idea to use RestFul webservices for devices. Because of limited memory.
You can use spring DI and Restful webservice with jersey framework.
Sayaly Kolhe
Greenhorn
Joined: Mar 19, 2012
Posts: 15
posted
0
May 04, 2012 1:30:17 AM org.apache.axis.utils.Admin main
SEVERE: <chain name=a/>
May 04, 2012 1:30:17 AM org.apache.axis.utils.Admin main
SEVERE: <service name=a/>
May 04, 2012 1:30:17 AM org.apache.axis.utils.Admin main
SEVERE: </undeploy>
May 04, 2012 1:30:17 AM org.apache.axis.utils.Admin main
SEVERE: <list/>
Exception in thread "main" java.lang.IllegalArgumentException: Usage: Admin client|server <xml-file>
at org.apache.axis.utils.Admin.main(Admin.java:277)
need help for this error...i got this error after runing client...