Url to invoke the java web service -


i have web service below. body please tell me url invoke getuserdetails();

....://localhost:8080/jersey-rest/rest/hellow / want url after hellow/....

@path("/hellow") public class helloworldservice {  @get     @path("/{name1}/{name2}/")     public response getuserdetails(@pathparam("name1") string name1,@pathparam("name2") string name2){         string output = "user info ..  "+name1+name2 ;         return response.status(200).entity(output).build();     } 

thank you

....://localhost:8080/jersey-rest/rest/hellow/joe/bob/ example


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -