I'm using JAX-WS web service which stands on tomcat6 server. I want to upload and download files through the web service. Since 2 weeks I saw many examples, I have read alot of posts and nothing worked. I think that the best way to send those files would be MTOM, but I don't know how to implement it. I tihnk that I have read almost everything but maybe somebody knows where is good example how to do this? It can use soap attachments or mtom or anything else, but it should be able to transfer various files as pdf, doc, images.
subject: Sending files from desktop web client to JAX-WS web service