I tried searching, almost 90 % of the examples shows file upload..i.e sending attachments from client to webservice...but i need an example for file download!
After publishing the webservice using java 6 lightweight sever and when i used the wsimport to generate the classes for client program the datahandler object was represented as byte array.
I used wsimport to generate class files for client program, but this time DataHandler object was represented as DataHandler and not byte array.
So maximum size limit is 5MB
When the above request is sent, the SOAPHeader is null. Please help me in this regard.