Difference between enabling the MTOM with @MTOM and @BindingType

Solution Verified - Updated -

Issue

  • MTOM can be enabled using both the annotations, @MTOM and @BindingType.
  • What is the difference between the two of them and why there are two ways for doing this ?
  • Are there any performance reasons associated with the same ?

Environment

  • Redhat JBoss Enterprise Application Platform (EAP)
    • 5.x
    • 6.x
  • JBossWS-CXF
  • JBossWS-Native

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.