Hi,
Is it possible to enabled MTOM for only a specific method in the Web
Service?
I am using this way to enable MTOM.
JaxWsServerFactoryBean factory = new JaxWsServerFactoryBean();
Map<String, Object> mtomProperty = new HashMap<String, Object>();
mtomProperty.put("mtom-enabled", Boolean.TRUE);
factory.setProperties(mtomProperty);
This enables it for all the methods, changes the content-type, adds message
boundaries etc. Please let me know if this cannot be done.
Thanks
Hardeep Singh
This transmission is intended only for use by the intended
recipient(s). If you are not an intended recipient you should not read,
disclose copy, circulate or in any other way use the information contained in
this transmission. The information contained in this transmission may be
confidential and/or privileged. If you have received this transmission in
error, please notify the sender immediately and delete this transmission
including any attachments.