You can try setting the content-type in the service class and getting the
same in the client side using SwA. Enabling MTOM and SwA means MTOM is
getting preference over SwA.

Chinmoy

On Wed, Jun 24, 2009 at 11:18 PM, Moritz Mädler <[email protected]>wrote:

> 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