Are you sure?There may be something wrong!It get null.

I find the clent code really not add the Content-disposition header in
request: 
Holder<DataHandler> handler = new Holder<DataHandler>();
handler.value = new DataHandler(fileURL);
port.testDataHandler(name, handler);

Then,although I set this header,I still get null from DataHandler.getName()
method:
Content-Transfer-Encoding: binary
Content-ID: <777fb969-f57d-41fc-8aff-51f37503efcd>
content-disposition: attachment; name="adapter.txt"

Is thi a bug?





--
View this message in context: 
http://cxf.547215.n5.nabble.com/how-to-get-the-attachement-filename-from-DataHandler-tp5720791p5720794.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to