You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Samuel Isokpunwu (JIRA)" <ji...@apache.org> on 2006/11/07 17:10:52 UTC
[jira] Updated: (AXIS2-1623) Attachment optimization using JAXWS
SOAP Binding properties for MTOM
[ http://issues.apache.org/jira/browse/AXIS2-1623?page=all ]
Samuel Isokpunwu updated AXIS2-1623:
------------------------------------
Attachment: d402093-patch.txt
A patch for the enhancement implementation code.
> Attachment optimization using JAXWS SOAP Binding properties for MTOM
> --------------------------------------------------------------------
>
> Key: AXIS2-1623
> URL: http://issues.apache.org/jira/browse/AXIS2-1623
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Improvement
> Components: jaxws
> Affects Versions: 1.1
> Environment: Windows
> Reporter: Samuel Isokpunwu
> Priority: Critical
> Attachments: d402093-patch.txt
>
>
> Per current support, JAXWS client can only enable attachment optimization by setting the ENABLEMTOM variable to "true" using the setMTOMEnabled() method in the SOAPBinding API.
> This enhancement will give client an alternate way to enable optimization just by specifying the SOAP Binding properties for MTOM as the binding protocol.
> Currently, using Dispatch invocation for example, JAXWS client can only enable attachment optimization by doing the following--
> {
> ------------------
> service.addPort(QNAME_PORT, SOAPBinding.SOAP11HTTP_BINDING, URL_ENDPOINT);
> -------------------
> -------------------
> SOAPBinding binding = (SOAPBinding) dispatch.getBinding();
> binding.setMTOMEnabled(true);
> }
> With this enhancement, JAXWS client can also enable optimization just by specifying the SOAP binding property for MTOM --
> {
> ------------------
> service.addPort(QNAME_PORT, SOAPBinding.SOAP11HTTP_MTOM_BINDING, URL_ENDPOINT);
> -------------------
> -------------------
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org