title: Call REST web service URL from the browser
body: <p>I have deployed simple REST interface. Lets say my REST service is deployed in this context path: </p>
  
  <pre><code>http://localhost:8080/Engine/services/Evaluation
  </code></pre>
  
  <p>Then I invoke URL like this:</p>
  
  <pre><code>http://localhost:8080/Engine/services/Evaluation?_wadl
  </code></pre>
  
  <p>I can see the XML output:</p>
  
  <pre><code>&lt;application&gt;
      &lt;grammars/&gt;
      &lt;resources base="http://localhost:8080/Engine/services/Evaluation"&gt;
          &lt;resource path="/Evaluation/"&gt;
              &lt;resource path="initializeEvaluation/{localeCode}"&gt;
                  &lt;param name="localeCode" style="template" type="xs:string"/&gt;
                  &lt;method name="GET"&gt;
                      &lt;request&gt;
                          &lt;representation mediaType="application/octet-stream"/&gt;
                      &lt;/request&gt;
                      &lt;response&gt;
                          &lt;representation mediaType="application/json"/&gt;
                      &lt;/response&gt;
                  &lt;/method&gt;
              &lt;/resource&gt;
          &lt;/resource&gt;
      &lt;/resources&gt;
  &lt;/application&gt;
  </code></pre>
  
  <p>The question is how to call the method with the URL from the browser?</p>
  
  <p>I've tried to enter:</p>
  
  <pre><code>http://localhost:8080/Engine/services/Evaluation/initializeEvaluation?localeCode=en-GB
  </code></pre>
  
  <p>But I've got:</p>
  
  <pre><code>2013-01-30 11:22:13,477 [http-bio-8080-exec-3] WARN   JAXRSInInterceptor - No root resource matching request path /Engine/services/Evaluation/initializeEvaluation has been found, Relative Path: /initializeEvaluation. Please enable FINE/TRACE log level for more details.
  2013-01-30 11:22:13,479 [http-bio-8080-exec-3] WARN   WebApplicationExceptionMapper - javax.ws.rs.NotFoundException
  </code></pre>
  
  <p>I am very new at REST but as far as I understand the URL should be like above. Why then I am getting and exception?</p>
  
  <p>My java interface:</p>
  
  <pre><code>@Path("/Evaluation/")
  @Produces(MediaType.APPLICATION_JSON)
  public interface EvaluationService {
  
      @GET
      @Path("initializeEvaluation/{localeCode}")
      EvaluationStatus initializeEvaluation(ClientType client, @PathParam("localeCode") String localeCode)
              throws EvaluationException;
  
  }
  </code></pre>
  
  <p>I am using Apache CXF 2.7.0, JDK 1.7, Tomcat 7.</p>