axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thilina Gunarathne" <cset...@gmail.com>
Subject Re: MTOM and encryption
Date Tue, 04 Dec 2007 04:20:48 GMT
> > In the case of Axis2/Java, OMText.getText() always gives a string
> > representation of the content. If the content is Binary, it'll
> > automatically base64 encode it..
> So this means the optimization is turned OFF. Basically its the approach
> #2 as I suggested. Correct me if I'm wrong.
oh.. ok.. I understood it other wise earlier... :)

In the case of Axis2/java there is not need to set optimization to
false.. The getText() always gives a text representation of the
content, while getDataHandler() gives a Binary content if there is
any...

For an example if MTOM is disabled at the transport level and if there
are optimised parts in the message, Axis2/java sends them as base64
automatically... It just calls getText() if MTOM is not enabled...

> -Kau
>
> >  Axis2/Java security only needs to
> > call the OMText.getText(), irrespective of whether it's a binary or
> > normal text..This method also conforms to the MTOM spec, as it describes MTOM as
> > selectively encoding of binary data either as base64 or as XOP MIME
> > attachments.
> >
> > thanks,
> > Thilina
> >
> >
> >> AFAIU, There is no real value in MTOM message unless MTOM
> >> receiving endpoint. There is no point eavesdropping MTOM message I
> >> guess. Please bare with my limited security knowledge.
> >>
> >> thanks,
> >> Dinesh
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
> >>
> >>
> >>
> >
> >
> >
> >
>
>
> --
> http://blog.kaushalye.org/
> http://wso2.org/
>
>
> ---------------------------------------------------------------------
>
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>



-- 
Thilina Gunarathne  - http://thilinag.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message