You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by Glen Daniels <gl...@thoughtcraft.com> on 2007/08/01 20:41:00 UTC

Re: [jira] Created: (WSCOMMONS-227) Move Attachment object from MessageContext to the OMDocument

+1, this sounds good to me, Rich.

--Glen

Rich Scheuerle (JIRA) wrote:
> Move Attachment object from MessageContext to the OMDocument
> ------------------------------------------------------------
> 
>                  Key: WSCOMMONS-227
>                  URL: https://issues.apache.org/jira/browse/WSCOMMONS-227
>              Project: WS-Commons
>           Issue Type: Improvement
>           Components: AXIOM
>             Reporter: Rich Scheuerle
>             Assignee: Rich Scheuerle
> 
> 
> Problem:
> The Axis2 MessageContext contains an OM SOAPEnvelope and an Attachments object.
> The message is the combination of these two objects.
> It would be beneficial if the Attachments object was attached to its OM tree.
> 
> Proposal:
>   Store the Attachments object on the OMDocument.  (i.e. OMDocument.getAttachments() method)
>   Change the Axis2 MessageContext to delegate to the OMDocument to access the Attachments map instead of using a local reference
>   Change the MTOMStAxSOAPModelBuilder to delegate to the OMDocument to access the Attachments map instead of using a local copy.
> 
> These are minor changes.
> 
> Comments ?
> 
> 
> 
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: commons-dev-help@ws.apache.org