0 Replies Latest reply on Jun 1, 2010 4:42 AM by Aliaksandr Mikhailau

    Resteasy PathSegment

    Aliaksandr Mikhailau Newbie
      Hi! There's a problem with PathSegment in RESTEasy.
      I can't map this URI:

      This my code:

      public class RVCOnlineServiceImpl {
          public String getDebts(@PathParam("NACHXML") String reportName,
                                 @QueryParam("type") String typeQueryParam) {
              return "Hello from " + reportName + " with query params [" + typeQueryParam + "]";

      It always throws an exception:
      org.jboss.resteasy.spi.BadRequestException: Number of matched segments greater than actual.

      The problem in last '/'. Is there any way to map my URL?