i have created a Java Restful Web service. Now i want to access it in Android. There are different methods in Webservice. Web service is running on http://192.15.10.62:8080.
how should i call a method named getGreetingMsg() in webservice which take a string argument and return a simple String message.
Web service Details
Project name RestFulWS
package Name rest.ws.server
class Name helloAndroid
Method Name getGreetingMsg(string argument)
any help will be appreciated.
It depend on the Web server you are using because each type of server will have its own URL to service hosted on it. If you are using JBOSS server then your URL looks like this
IP:PORT/projectname/webservicename/method name