Hi,
When using CXF 2.1.2 and this code to get attachments:
BindingProvider bp = (BindingProvider) client;
java.util.Map<String, Object> responseContext =
bp.getResponseContext();
return (Map)
responseContext.get(MessageContext.INBOUND_MESSAGE_ATTACHMENTS);
Attachment was returned successfully.
When moving to CXF 2.1.5 Attachments were not received with the exact same
code above. Looking on responseContext Map I now see that instead of key
javax.xml.ws.binding.attachments.inbound (this is the value of
MessageContext.INBOUND_MESSAGE_ATTACHMENTS) there is a key
"org.apache.cxf.message.Message.ATTACHMENTS".
How should I get the attachment please? Am I doing something wrong? Anyone
else having problems with attachments on 2.1.5?
Thanks,
Zbal Jr.
--
View this message in context:
http://www.nabble.com/Attachments-tp23724355p23724355.html
Sent from the cxf-user mailing list archive at Nabble.com.