JAXWS: @MTOM annotation not respected in some circumstances
-----------------------------------------------------------

                 Key: AXIS2-3671
                 URL: https://issues.apache.org/jira/browse/AXIS2-3671
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: jaxws
            Reporter: Rich Scheuerle
            Assignee: Rich Scheuerle
            Priority: Critical
             Fix For: 1.4


Problem:
JAXWS 2.1 introduced an @MTOM annotation for the endpoint.
If present the @MTOM annotation should be used to enable/disable MTOM
If not present, the BindingType should be used to enable/disable MTOM.

The following cases are currently failing:


// Should enable MTOM
@WebService(...)
@MTOM
public class ...{

// Should enable MTOM
@WebService(...)
@MTOM(enabled=true)
public class ...{

// Should disable MTOM
@WebService(...)
@BindingType(SOAPBinding.SOAP11HTTP_MTOM_BINDING)
@MTOM(enabled= false)
public class ...{

I have representative failing tests in my sandbox.  I will be committing the 
new tests and changes today for RC3.

Thanks, 
Rich

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to