[
https://issues.apache.org/jira/browse/SYNAPSE-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Asankha C. Perera resolved SYNAPSE-45.
--------------------------------------
Resolution: Invalid
This mediator's job is now handled at the endpoints
> Attachment Mediator
> -------------------
>
> Key: SYNAPSE-45
> URL: https://issues.apache.org/jira/browse/SYNAPSE-45
> Project: Synapse
> Issue Type: New Feature
> Reporter: Rajith Attapattu
> Attachments: attachment_mediator_Nov30_06.patch
>
>
> Hi Folks,
> This feature is implemented as part of the extentions package
> The attached patch can do the following operations.
> Base64 --> MTOM and MTOM --> Base64
>
> As the next step I will do SwA --> MTOM and MTOM --> SwA.
> Here is what you need to do to get this working
> Simply add the following to your synapse.xml at the appropriate level.
> <attachments mode="BASE64_TO_MTOM" mimeType="image/gif">
> <attachmentPath>ns1:picture</attachmentPath>
> <attachmentNS prefix="ns1" name="http://axis2/sample/namespace1"
> />
> </attachments>
> The attachment path is the xpath to the element that represents the attachment
> The attachment names space is the NS for the attachment element.
> * Enable MTOM at the axis2.xml, as there is a bug in axis2 (JIRA AXIS2-1798)
> For the reverse please do the following.
> <attachments mode="MTOM_TO_BASE64" mimeType="image/gif">
> <attachmentPath>ns1:picture</attachmentPath>
> <attachmentNS prefix="ns1" name="http://axis2/sample/namespace1"
> />
> </attachments>
> * Disable MTOM at the axis2.xml, as there is a bug in axis2 (JIRA AXIS2-1798)
>
> Feedback is appreciated.
--
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]