Ok, i found the bug: just forgot to set one argument - damn me.

I've got another question: As you can see, i request the filetye from the DataHandler.getName() using String.substring(String.lastindexof(".")). When i test the POJO-Class locally, i get the correct extension. When i use it as the mentioned serviceclass i get a "ByteArrayDataSource"
as file-extension, which is completely useless.

How do i extract the correct file-extension out of my DataHandler?

Thanks alot!

Reply via email to