[jbossws-issues] [JBoss JIRA] Updated: (JBWS-2534) sun-jaxws.xml generation doesn't respect @MTOM
Alessio Soldano (JIRA)
jira-events at lists.jboss.org
Tue Feb 23 08:44:09 EST 2010
[ https://jira.jboss.org/jira/browse/JBWS-2534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alessio Soldano updated JBWS-2534:
----------------------------------
Fix Version/s: community contributions
> sun-jaxws.xml generation doesn't respect @MTOM
> ----------------------------------------------
>
> Key: JBWS-2534
> URL: https://jira.jboss.org/jira/browse/JBWS-2534
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jbossws-metro
> Reporter: Alessio Soldano
> Fix For: community contributions
>
>
> From SunJaxwsDeploymentAspect:
> Class beanClass = endpoint.getTargetBeanClass();
> BindingType bindingType = (BindingType)beanClass.getAnnotation(BindingType.class);
>
> if (bindingType != null && bindingType.value().length() > 0)
> {
> String binding = bindingType.value();
> ddEndpoint.setBinding(binding);
> ddEndpoint.setEnableMTOM(isMtomEnabled(binding));
> }
> ...
> private static boolean isMtomEnabled(String binding)
> {
> return binding.equals(SOAPBinding.SOAP11HTTP_MTOM_BINDING) || binding.equals(SOAPBinding.SOAP12HTTP_MTOM_BINDING);
> }
> The @MTOM annotation should be considered too when enabling/disabling MTOM.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list