Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-3671

JAXWS: @MTOM annotation not respected in some circumstances

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 1.4
    • jaxws
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              scheu@us.ibm.com Rich Scheuerle
              scheu@us.ibm.com Rich Scheuerle
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: