title: Consume multiple resources in a RESTful Web Service
body: <p>In my web server application I have a method, which modifies an xml document and looks similar to that:</p>
  
  <pre><code>@POST
  @Path("somePath")
  @Consumes({"application/xml", "application/zip"})
  public Response modifyXml() {
      //some processing
  }
  </code></pre>
  
  <p>The consumed zip archive contains the xml file which needs to be modified and some other files.
  How can I distinguish between consumed xml file and the archive inside the method and which kind of method parameter should I use to represent this consumed resource? </p>