• Post Reply Bookmark Topic Watch Topic
  • New Topic

receive a zip file

 
mark smith
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

with soap and java 1.6, i need to create a web service who will receive a zip file (around 1 meg)
some action will be done on this zip file and send a code to the client (success or some code error)

what is the best way to do that?
i searched on google, they don't have a lot of information about web service and file

thanks
 
Joachim Rohde
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't know what you googled for, but if I'm trying to search fo "java webservice receive file" the first three links will answer your question: encode your file with Base64.
 
mark smith
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joachim Rohde wrote:Don't know what you googled for, but if I'm trying to search fo "java webservice receive file" the first three links will answer your question: encode your file with Base64.


so so these solution need axis
 
Joachim Rohde
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, Base64 encoding is not Axis specific. It should work with all webservice frameworks.
 
mark smith
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joachim Rohde wrote:No, Base64 encoding is not Axis specific. It should work with all webservice frameworks.


encoding file will not upload file magically
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!