JAXB Unmarshaller cannot find the MTOM DataHandler
--------------------------------------------------

                 Key: AXIS2-3434
                 URL: https://issues.apache.org/jira/browse/AXIS2-3434
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
            Reporter: Rich Scheuerle
            Assignee: Rich Scheuerle


History:

JAXB provides a interface (AttachmentUnmarshaller) that is implemented by the 
vendor (AXIS2 JAXWS) engine.
The JAXB unmarshalling engine calls the vendor to get a DataHandler for a given 
content-id string.

Problem:
In a recent re-architecture JIRA, I changed the code to get the attachment from 
the MessageContext.  (getAttachment(String cid)).
The MessageContext wants the "blob cid" as input, but I was giving it the 
"reference cid".  
This results in the DataHandler not being found.

Solution:
Quick fix to convert the "ref CID" to a "blob cid" prior to calling 
MessageContext.getAttachment(String).
I also changed the javadoc so that no one else is confused.
I will commit a fix soon.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to