Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
  #1 (permalink)  
Old 05-19-2008, 07:07 AM
CristinaB CristinaB is offline
Junior Member
 
Join Date: Apr 2008
Posts: 3
CristinaB is on a distinguished road
Default upload file via Soap

Hi,

Could you, please, tell me how to compose the Soap message for uploading/downloading a file to Zimbra?
I have seen something about FileUploadServlet, but I don't know how to use it..
Help me, please..

Thank you,
Cris.
Reply With Quote
  #2 (permalink)  
Old 05-19-2008, 07:13 AM
BallaK BallaK is offline
Junior Member
 
Join Date: Apr 2008
Posts: 4
BallaK is on a distinguished road
Default

I need it too, please help. How to use the FileUploadServlet. An example would be perfect.
Reply With Quote
  #3 (permalink)  
Old 05-19-2008, 05:08 PM
dkarp dkarp is offline
Zimbra Employee
 
Join Date: Aug 2005
Posts: 1,312
dkarp is on a distinguished road
Default

Please look at ZimbraServer/docs/file-upload.txt in the source distribution and let us know if that's not good enough.

You can also do a GET or PUT to the REST interface to fetch or add a file.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #4 (permalink)  
Old 05-20-2008, 01:59 AM
CristinaB CristinaB is offline
Junior Member
 
Join Date: Apr 2008
Posts: 3
CristinaB is on a distinguished road
Default

OK. Thank you for your response. After a few tests we got an example running, but another problem appeared : the response doesn't seem to be correct. Here it is :
Code:
<html><head><script language='javascript'>
function doit() { window.parent._uploadManager.loaded(200,'null','fa1b5e73-e543-4887-afd5-a17308b8cd2b:93e39b4e-4b98-4305-ab58-d624366e7d29'); }
</script></head><body onload='doit()'></body></html>
And the SAVE_DOCUMENT_REQUEST replies Cannot create (SoapFaultException).
Reply With Quote
  #5 (permalink)  
Old 05-20-2008, 04:01 AM
BallaK BallaK is offline
Junior Member
 
Join Date: Apr 2008
Posts: 4
BallaK is on a distinguished road
Default

We managed to do the upload part.
Any suggestions from where to start in order to download ?

Last edited by BallaK : 05-20-2008 at 04:10 AM.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
speed up the net mcesari Administrators 10 04-25-2008 11:24 AM
centos 5 zimbra 4.5.6 no statistics rutman286 Installation 9 08-14-2007 09:30 AM
Opensource backup Question. nfear24 Administrators 3 03-31-2007 11:47 PM
Traslation SVN tree status meikka I18N/L10N - Translations 7 02-13-2007 10:13 AM
M3 problem with shares titangears Users 4 01-12-2006 12:01 PM


freshmeat.net sourceforge.net The best Java IDE



 

Search Engine Optimization by vBSEO 3.0.0