axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-3434) JAXB Unmarshaller cannot find the MTOM DataHandler
Date Wed, 09 Jan 2008 20:43:34 GMT

     [ 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


Mime
View raw message