We are creating a ejb which will be exposed as webservice. One of the method of ejb will return the image from image archive. So we need to use soap with attachment for this. I learned that if any data is returned using DataHandler it will be automatically passed as soap with attachment. As DataHandler is not implemented java.io.serializable , I can not use this as the return type of the ejb. I am new to webservice and axis. So any body can guide me what to do in this case..
Your help will be appreciated. Thanks, Subhendu