I just saw that sample, but it didn't help me... I'm at server side, and i have a service using Axis1.4. Now i have to rewrite it in Axis2, but there is nomore the getMessage() in MessageContext class to retrive a SOAPMessage object.
Maybe i can do the same things without using saaj (starting from org.apache.axiom.attachments.Attachments returned by msgContext.getAttachmentMap() ), but it'll be easier using an API created for that task... Thx again! On gio, 2007-03-01 at 15:12 +0530, sumedha rubasinghe wrote: > Hi Lorenzo; > Go through the example located @ <axis2-home>/samples/soapwithattachments > It demonstrates how to use SwA to send attachments. > > /sumedha > > Lorenzo wrote: > > Hi, > > > > i have a problem... I have a org.apache.axis2.context.MessageContext and > > to work on attachments i should use the SAAJ api, but how can i obtain > > an org.apache.axis2.saaj.SOAPMessageImpl from a MessageContext? > > > > Thx! > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]