ahhh. My apologies.. I forgot that... :)..

~Thilina
On 5/29/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
Thilina,
Am sorry, i'd have to differ :) Remember the streaming API? Jennifer
can use that.

Jennifer,
Be prepared to do some work :) Yes, it's possible. See
IncomingAttachmentInputTest in axiom

https://svn.apache.org/repos/asf/webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/attachments/IncomingAttachmentInputTest.java

Basically you start by accessing using the
MessageConext.getAttachmentMap to get the Attachments object and then
call the getIncomingAttachmentStreams of the attachments object. that
will return a IncomingAttachmentInputStream and you can call
getNextStream repeatedly till you find the one you want.
IncomingAttachmentInputStream has a getHeaders which will let you
access the custom headers in your mime parts.

thanks,
dims

On 5/28/07, jy <[EMAIL PROTECTED]> wrote:
> Thilina,
>
> Thanks for your reply.
>
> Do you have any suggestions as to how to address this?  Do I need to
> abandon Axis2 framework all together and read HTTP stream directly?
> Is there another WS framework that offers more extensibility?
>
> Thanks,
> Jennifer
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Davanum Srinivas :: http://davanum.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to