Incremental POST Uploads

Last post 10-13-2007 4:14 AM by BarryR. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 10-12-2007 8:58 PM

    • cmh
    • Top 50 Contributor
    • Joined on 09-24-2007
    • Posts 9

    Incremental POST Uploads

    Unfortunately, I am writing a client on a platform that would require me to send the data in chunks. Do you have, or will you have, a POST version that is similar to the web service in that I can create a file, appendFile, then close it when done?

  • 10-12-2007 11:44 PM In reply to

    • BarryR
    • Top 10 Contributor
    • Joined on 07-20-2007
    • San Diego
    • Posts 614

    Re: Incremental POST Uploads

    We are placing a high priority on getting this functionality into the product as soon as possible.  For now you can do an http post using a soap envelope to do the appendFile method.  This means you have to form the soap header and body and base64 encode the binary data in the body.

    What language are you using?  We may be able to give you a sample to help with this or offer another suggestion in the mean time.

    Regards,
        Barry R.

    IM Support (Feel free to add me)

    MSN: barryruffner@msn.com
    Gmail: barryruffner@gmail.com
    Filed under: , ,
  • 10-13-2007 12:04 AM In reply to

    • cmh
    • Top 50 Contributor
    • Joined on 09-24-2007
    • Posts 9

    Re: Incremental POST Uploads

    I'm using Java (J2ME). If you have an example - especially for constructing a soap envelope for post transmission - that would be great!

  • 10-13-2007 4:14 AM In reply to

    • BarryR
    • Top 10 Contributor
    • Joined on 07-20-2007
    • San Diego
    • Posts 614

    Re: Incremental POST Uploads

     I hate to cheat but there is a great library for constructing the SOAP envelopes, it would at least show you how to do it on your own if you don't want to use the full library (memory concerns.)

    http://www.ibm.com/developerworks/xml/library/x-soapcl/

    That is a sample using the library to construct a SOAP request and send it via http post. 

    Let me know if this helps,
        Barry R.
     

    IM Support (Feel free to add me)

    MSN: barryruffner@msn.com
    Gmail: barryruffner@gmail.com
    Filed under: , , ,
Page 1 of 1 (4 items)