cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balu S (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-7458) JAXWS : MTOM threshold value is ignored
Date Fri, 28 Jul 2017 10:45:00 GMT

     [ https://issues.apache.org/jira/browse/CXF-7458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Balu S updated CXF-7458:
------------------------
    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.

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

  was:
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 {. }}


> JAXWS : MTOM threshold value is ignored
> ---------------------------------------
>
>                 Key: CXF-7458
>                 URL: https://issues.apache.org/jira/browse/CXF-7458
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 3.1.6
>         Environment: Wildfly 10.1
>            Reporter: Balu S
>
> 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
(v6.4.14#64029)

Mime
View raw message