axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Moritz M├Ądler <m...@moritz-maedler.de>
Subject Re: Error while uploading File using DataHandler
Date Wed, 24 Jun 2009 17:48:16 GMT
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!


Mime
View raw message