i am using a http outbound endpoint to call a separate service that needs to process a file that is sent to mule in a multipart request. Here is an example
<http:outbound-endpoint connector-ref="serviceConnector"
address="http://${serviceHost}:${servicePort}/upload"
method="POST"
responseTimeout="${endpointTimeout}"
mimeType="multipart/form-data">
The problem i am having is that when this service is called i am getting a FileUploadException saying that the request was reject because no multipart boundary has been found.
I have been experimenting with this problem and looking at different questions but none of them seems to resolve the issue.
Mule ESB and "multipart/form-data"
Mule http:outbound-endpoint + multipart/form-data
https://www.mulesoft.org/jira/browse/MULE-6917
I have also tried altering the connector like explained in this question: Send file to Mule inbound-endpoint but no luck.
Any ideas?
Thanks