title: No message body writer has been found for MultipartBody, multipart/form-data
body: <p>I'm calling REST url through CXF client to upload a xml file :</p>
  
  <pre><code>WebClient webClient = WebClient.create("some base uri")
                                  .header("Authorization",createAuthorizationHeader);
  webClient.encoding("UTF-8");
  webClient.type(MediaType.MULTIPART_FORM_DATA);
  ContentDisposition cd = new ContentDisposition("attachment;filename=abc.xml");
  Attachment att = new Attachment("root", stream, cd);
  Response response = webClient.post(new MultipartBody(att));
  </code></pre>
  
  <p>But I'm getting following exception while POST call</p>
  
  <blockquote>
    <p>javax.ws.rs.ProcessingException: No message body writer has been found for class org.apache.cxf.jaxrs.ext.multipart.MultipartBody, ContentType: multipart/form-data</p>
  </blockquote>
  
  <p>I tried adding providers :</p>
  
  <pre><code>List providers = new ArrayList();
  providers.add(new org.codehaus.jackson.jaxrs.JacksonJsonProvider());
  providers.add(new org.apache.cxf.jaxrs.provider.MultipartProvider());
  WebClient webClient = WebClient.create(constant.getUploadURI(),providers)
                                 .header("Authorization",createAuthorizationHeader);
  </code></pre>
  
  <p>Still i'm getting the same exception</p>