cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balu S (JIRA)" <>
Subject [jira] [Commented] (CXF-7458) JAXWS : MTOM threshold value is ignored
Date Mon, 31 Jul 2017 09:00:00 GMT


Balu S commented on CXF-7458:

Thanks Daniel. I shall check.

One question. Can we define @MTOM  at the method level (instead of Webservice level) and expect
the responses to be MTOM enabled only for those WebMethods ? I mean other WebMethods defined
for the same service will behave inline only ? I am interested how CXF handles in this scenario.

> JAXWS : MTOM threshold value is ignored
> ---------------------------------------
>                 Key: CXF-7458
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 3.1.6
>         Environment: Wildfly 10.1
>            Reporter: Balu S
>             Fix For: NeedMoreInfo
> 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.
> {quote}{@HandlerChain(file="/handler-chain.xml")
> @MTOM(threshold=5242880) // 5MB limit for inline soap attachements else MTOM
> public class WSImpl {. }{quote}

This message was sent by Atlassian JIRA

View raw message