[
https://issues.apache.org/jira/browse/SYNAPSE-1098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
amit closed SYNAPSE-1098.
-------------------------
Resolution: Workaround
> Content-type not set properly for MTOM in Mock mode
> ---------------------------------------------------
>
> Key: SYNAPSE-1098
> URL: https://issues.apache.org/jira/browse/SYNAPSE-1098
> Project: Synapse
> Issue Type: Bug
> Reporter: amit
> Assignee: Isuru Udana Loku Narangoda
>
> Hi,
> I am trying to use Synapse to create mock services supporting MTOM (without
> using axis2 server). I am able to get it working using a custom mediator. The
> only issue is with the Content-Type in the HTTP header. I am able to set the
> header to "application/multipart-related" but unable to get the boundary
> added to the content-type. Below is the actual and the expected content type
> header:
> *Actual HTTP header content type:*
> Content-Type: multipart/related
> **Expected HTTP header content type:**
> Content-Type: multipart/related;
> boundary="MIMEBoundary_cf282bb7f5878aef54b9e9a4db9";
> type="application/xop+xml"; start="<[email protected]>";
> start-info="text/xml"
> Could someone please help me getting the suitable content-type http header
> from synapse? I have already tried using below property. It doesn't set the
> boundary in the content type.
> <property name="ContentType" value="multipart/related" scope="transport"/>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]