Hi Vishal,
In what way does the call to the second method fail? Does it get
invoked? Are the parameters empty or null? Was the post request properly
structured (you can check using tcpmon or some similar tool)?
Gabo
Vishal.a wrote:
Hello All,
I am trying to haave multiple POST methods something like this
@POST
@Path("/groups")
public Summary insertGroup(Group group)
and
@POST
@Path("/groups/{id}/users")
public void addUsersToGroup(@PathParam("id")UUID groupId,
ListWrapper<UUID> userIds)
The POST call to first method works absolutely fine,however call to the
addUsersToGroup method fails.
What could i be doing wrong?
Thanks,
Vishal
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.238 / Virus Database: 270.11.58/2061 - Release Date: 04/15/09 19:52:00