title: Jersey: Error when a class has both JAX-RS and JAX-WS annotations
body: <p>Using Jersey 1.7, JAX-WS 2.2.3, Tomcat 6.0.30 and the following method declaration prevents Jersey servlet to start:</p>
  
  <pre><code>@POST
  @Produces("text/plain")
  public void postIt(@WebParam(name = "paramOne") final String paramOne, 
                     final String paramTwo) {
      // ...
  }
  </code></pre>
  
  <p>The generated exception is:</p>
  
  <pre><code>SEVERE: Missing dependency for method public 
          java.lang.String com.sun.jersey.issue.MyResource.postIt(
            java.lang.String,java.lang.String) at parameter at index 0
  SEVERE: Method, public void 
          com.sun.jersey.issue.MyResource.postIt(
            java.lang.String,java.lang.String), 
          annotated with POST of resource, 
            class com.sun.jersey.issue.MyResource, 
            is not recognized as valid resource method.
  </code></pre>
  
  <p>If the <code>@WebParam</code> annotation is removed, it all works fine.</p>
  
  <p>Now, please have in mind that I am not trying to work with mere strings, rather, I am migrating complicated Objects that got marshalled/unmarshalled using SOAP to RESTful services, but I must provide both interfaces for a while, without breaking the previous WASDs. The method is just a minimalistic scenario.</p>
  
  <p>Has any of you any idea of the status of this? Has it been fixed? Suggestions?</p>