Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7458

JAXWS : MTOM threshold value is ignored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 3.1.6
    • NeedMoreInfo
    • JAX-WS Runtime
    • None
    • Wildfly 10.1

    • Unknown

    Description

      The webservice is defined as MTOM enabled with threshold value as 5MB, but still the attachments (in responses) that are less than 5MB are not inlined. It looks like if `@MTOM` is enabled, the response is always returned as XOP (multipart) and ignores the threshold value.

      {@HandlerChain(file="/handler-chain.xml")
      @MTOM(threshold=5242880) // 5MB limit for inline soap attachements else MTOM
      public class WSImpl

      Unknown macro: {. }

      Attachments

        Activity

          People

            Unassigned Unassigned
            ulaBLUE Balu S
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: