You can try something like following..
requestMessage.getAllContentIDs().size();

~Thilina

On 2/28/07, Lorenzo <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




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

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

Reply via email to