MTOM : reference in MTOM request does NOT match with the content-id
MTOM : reference in MTOM request does NOT match with the content-id When consuming a webservice we send attachtments using MTOM, however the reference in the MTOM request does not match the content-id and is the request rejected because of unreferenced attachments. How can I fix this? Thanks!
Not a direct answer to your question, but a possible workaround you might want to consider:
I personally prefer sending attachment as Base64 encoded string instead of as attachment. I somehow never seem to get the attachment-technique to work. As you may already know CommunityCommons provides easy base64 encode/decode java actions.