1 Reply Latest reply on Jul 2, 2010 5:35 AM by Magic Creative

    disabling multipart-filter won't work

    Magic Creative Novice
      Hi,

      I have a resteasy service which seem to be getting empty header and body because of the seam multipart filter which intercepts it. When I go to we.xml and remove generally seam filter it works. I would like however to disable only the seam multipart filter:

      <code>
      <web:multipart-filter create-temp-files="true"
          max-request-size="1000000"
          url-pattern="*.seam"
          disabled="true" />
      </code>

      I have declared:

          http://jboss.com/products/seam/web  http://jboss.com/products/seam/web-2.2.xsd and xmlns:web="http://jboss.com/products/seam/web"

      For some reason however the multipart filter is still active. Only when I fully remove the seam filter my service works.

      Any ideas are welcome.

      Greetings
        • 1. Re: disabling multipart-filter won't work
          Magic Creative Novice
          I have overridden the org.jboss.seam.web.MultipartFilter component with DEPLOYMENT precedence. Still the content of my resteasy request is null. I guess there is another filter that intercepts the request before that. As I said when I change the seam filter pattern from /* to /something the resteasy service starts working because it doesnt lie on the seam filter path. But what could be stripping my request I do not know.