On Tuesday 13 July 2010 5:38:54 am erskine wrote: > Hi. > > I tried putting my attachments using > MessageContext.OUTBOUND_MESSAGE_ATTACHMENTS or using Message.Attachments. > I can see the attachments in the requestContext, but they do not get > automatically added to the message object's attachment collection. So a > call to message.getAttachments() returns null.
What version of CXF? I'm not seeing anything obvious in the code on trunk, especially for the Message.ATTACHMENTS case. It looks like it should just get added to the message from the context as is. Can you create a small sample? Dan > > Any idea why this is so? > > I have to write my own interceptor and populate the message object with the > attachments from the requestObject. > > kin -- Daniel Kulp [email protected] http://dankulp.com/blog
