You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Rich Scheuerle (JIRA)" <ji...@apache.org> on 2008/01/09 21:43:34 UTC

[jira] Resolved: (AXIS2-3434) JAXB Unmarshaller cannot find the MTOM DataHandler

     [ https://issues.apache.org/jira/browse/AXIS2-3434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rich Scheuerle resolved AXIS2-3434.
-----------------------------------

    Resolution: Fixed

Committed revision 610550.

> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org