axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thilina Gunarathne" <cset...@gmail.com>
Subject Re: [AXIS2] Count attachment?
Date Wed, 28 Feb 2007 14:10:26 GMT
You can try something like following..
requestMessage.getAllContentIDs().size();

~Thilina

On 2/28/07, Lorenzo <cencio1980@gmail.com> wrote:
> Hi,
>
> i'm migrating from axis to axis2.
>
> In Axis starting from the MessageContext i did:
>   org.apache.axis.Message requestMessage = msgContext.getMessage();
>   requestMessage.countAttachment();
>
> Now in Axis2 how can i do this?
> Method countAttachment can be found in
> org.apache.axis2.saaj.SOAPMessageImpl but how obtain that object
> starting from a org.apache.axis2.context.MessageContext?
>
>
> Thx in advance.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/

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


Mime
View raw message