Dan,

Does the work around really work.We retrieve the attachements from the 
message object and assign them on the same object.Does this add them to 
the request or the response contexts?.I could see the attachments coming 
in on the interceptor but not on the client yet.

http://www.nabble.com/Re:-SoapWithAttachments-p16500116.html

message.put("ATTACHMENTS", message.getAttachments()); 

Map<String,List<String>> attachments = (Map<String,List<String>>)
requestContext.get("ATTACHMENTS");
or
Map<String,List<String>> attachments = (Map<String,List<String>>)
responseContext.get("ATTACHMENTS");

still returns null.

And can you please let me know the maximum size limit of a SOAP attachment 
in CXF.

thanks and regards,
Bharath
Daniel Kulp <[EMAIL PROTECTED]> wrote on 04/29/2008 03:04:25 PM:

> 
> Unfortunately, right now, there isn't.   About a month ago, I dug into 
> this a little bit:
> http://www.nabble.com/Re:-SoapWithAttachments-p16500116.html
> 
> There is a workaround there.   Could you log a feature request in Jira 
to 
> make sure it's tracked?
> 
> Thanks!
> Dan
> 
> 
> On Tuesday 29 April 2008, Bharath Thippireddy wrote:
> > How can we retrieve the soap attachments on the CXF Client.When i try
> > the following it returns a null.
> >
> > BindingProvider bp = (BindingProvider)port;
> > java.util.Map<String,Object> responseContext =
> > bp.getResponseContext();
> > (Map<String,List<String>>)responseContext.get(MessageContext.
> > INBOUND_MESSAGE_ATTACHMENTS)
> >
> > thanks and regards,
> > Bharath
> 
> 
> 
> -- 
> J. Daniel Kulp
> Principal Engineer, IONA
> [EMAIL PROTECTED]
> http://www.dankulp.com/blog
> 

Reply via email to