The WaveID and WaveletID should be forwarded within the POST request of the upload formular.
There should be a possibilty to send waveID and waveletID to the upload form, which then are intergrated into the POST request.
For example by integrating hidden textfields with the ID's.