Project: mule
Issue MULE-7062: It is not possible to send outbound attachments over http
It is not possible to send an attachment over an outbound http, as before the endpoint sends out the data, it fails with: ERROR 2013-10-17 16:15:06,384 [[rubbish-attachments].connector.http.mule.default.receiver.03] org.mule.exception.DefaultMessagingExceptionStrategy: ******************************************************************************** Message : Name must not be null (java.lang.IllegalArgumentException) Code : MULE_ERROR--2 -------------------------------------------------------------------------------- Exception stack is: 1. Name must not be null (java.lang.IllegalArgumentException) org.apache.commons.httpclient.methods.multipart.PartBase:64 (null) 2. Name must not be null (java.lang.IllegalArgumentException) (org.mule.api.transformer.TransformerException) org.mule.transport.http.transformers.ObjectToHttpClientMethodRequest:372 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/transformer/TransformerException.html) -------------------------------------------------------------------------------- Root Exception stack trace: java.lang.IllegalArgumentException: Name must not be null org.apache.commons.httpclient.methods.multipart.PartBase.(PartBase.java:64) org.apache.commons.httpclient.methods.multipart.FilePart.(FilePart.java:93) org.mule.transport.http.transformers.ObjectToHttpClientMethodRequest.createMultiPart(ObjectToHttpClientMethodRequest.java:478) + 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything) ********************************************************************************
Story points: 8