Hi,

I have a web application which basically uploads a image and stores it in a
database. Now i want to make it a webservice, I already created Spring POJO
webservice which does other operations, Now i want to add a operation to
upload a photo ( Client sends a photo (multi-part) as a request). Can you
please suggest me the best approach to write an interface to accept the
multipart request.

Can I have this operation:- String upload(String name, FileInputStream fis){ 
/* DOA's and stuff to store the photo in the DB *?

}

And i will have Axis with attachments to send the multipart request. Or is
there any better approach to get this done easily. 

Please  provide your valuable suggestion.

Thanks
Kris
-- 
View this message in context: 
http://www.nabble.com/Need-help-in-designing-POJO-webservice-tp23175517p23175517.html
Sent from the Axis - User mailing list archive at Nabble.com.

Reply via email to