I am trying to get the id from the url but it is always empty.
@Path("/{id}")
@GET
@Produces({MediaType.TEXT_XML, MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON})
public Client returnXmlClient(@PathParam("id") String id)
{
logger.log(Level.SEVERE, "value of id is={0} ", id);
I'm just starting to learn webServices, so please tell me if this is something stupid that I missed.
Pawan source
share