[prev in list] [next in list] [prev in thread] [next in thread] 

List:       synapse-dev
Subject:    [jira] Created: (SYNAPSE-45) Attachment Mediator
From:       "Rajith Attapattu (JIRA)" <jira () apache ! org>
Date:       2006-11-30 23:21:22
Message-ID: 14546406.1164928882478.JavaMail.jira () brutus
[Download RAW message or body]

Attachment Mediator
-------------------

                 Key: SYNAPSE-45
                 URL: http://issues.apache.org/jira/browse/SYNAPSE-45
             Project: Synapse
          Issue Type: New Feature
            Reporter: Rajith Attapattu
         Assigned To: Paul Fremantle


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.
-
If you think it was sent incorrectly contact one of the administrators: \
                http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic