Got ur point about the Attachment streaming support.. I can remember the earlier conversation too...Even though I thought of trying it out, unfortunately I wasn't able to do anything use full about it due to lack of time..
> being able to treat > MTOM/XOP messages just like SwA as well. I think we can do this in the inflow using the MIMEHelper.. I'm definitely +1 if we can replace it with a consistent API for both in/out flows. >On the server-side say i get > a 1 MB attachment, don't want to put that into a data handler in > memory, i just want to stream it directly into whatever my application > specific wants Just a suggestion.. We can add another method to the OMText to get the stream directly.. Even in the current model the actual binary is read only when the user requests the data..(by calling getDataHandler() or getText() ). So it won't be hard to get the actual stream directly from there... > OR if i am writing an intermediary i want to access all > the mime parts by myself IMO In the case of an intermediary we need to take special care with the content-id's.. If not the ultimate receiver will go in to trouble processing the mime parts. >don't want Axis2 to do any MTOM related > processing. Please see Axis 1.X API [1] especially the Even at this moment Axis2 would create the OMText objects without data (only with a reference to the data) instead of XOP:Include elements. Other than this current Axis2 will not do any kind of MTOM specific processing of mime parts unless asked to do so.. > getIncomingAttachmentStreams method that allows direct access to the > mime parts. This would be a nice API for somebody who wants to do some low level processing. But we need to make sure to throw an Exception in the case a user trying to access them from both API's. If not Axiom will go nuts looking for the streams.. Thanks, ~Thilina > > On 3/24/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote: > > Are we talking about an API for programatically attaching SwA type > > attachments. Are you suggesting something like the MIMEHelper which we > > use to retrieve the received SwA type attachments. > > Please clarify... > > > > ~Thilina > > > > On 3/24/06, Deepak Bhole <[EMAIL PROTECTED]> wrote: > > > On Sun, 2006-03-19 at 09:30 -0500, Davanum Srinivas wrote: > > > > Team, > > > > > > > > I've added a short list of show stoppers, Please add your wishes to the > > > > list: > > > > http://wiki.apache.org/ws/FrontPage/Axis2/releases/1.0 > > > > > > > > thanks, > > > > dims > > > > > > > > > Hi, > > > > > > Could someone please elaborate as to what is involved in the API for > > > attachments item, or point me to the right page with more info? I would > > > like to help out with that.. > > > > > > Thanks, > > > Deepak > > > > > > > > > > > > -- > > "May the SourcE be with u" > > http://webservices.apache.org/~thilina/ > > http://thilinag.blogspot.com/ > > http://www.bloglines.com/blog/Thilina > > > > > -- > Davanum Srinivas : http://wso2.com/blogs/ > -- "May the SourcE be with u" http://webservices.apache.org/~thilina/ http://thilinag.blogspot.com/ http://www.bloglines.com/blog/Thilina
