Hi, Yep we can switch to 1.1 :) As for mimicking the functionality of the file upload, what we do is copying the uploaded file in to the service directory. Axis2 service does not know whether it is uploaded or just copied to the service folder, it just picks up whatever is new. So you can have another webapp do the same thing (take the uploaded file and copy it to the right place, then things should work as expected :)
Ajith On 8/30/06, Brecht Yperman <[EMAIL PROTECTED]> wrote:
>> is it possible to send an aar to the web server, mimicking the >> behavior of the form at >> >> http://localhost:8080/axis2/axis2-admin/upload >> >> Or is there a better way to deploy a service dynamically (when not >> having access to the filesystem)? >> >That is the only way if you dont have access to the file system. After a very long search why this didn't work, I finally found it. Apparently Commons-Fileupload 1.0 contains a bug, and quoted stuff in the Content-Type header (e.g.: boundary) is not handled correctly. This is fixed in 1.1. Ofcourse I can workaround this by using FileUpload 1.0 as well, instead of the nSoftware WebUpload component I was using. But why doesn't Axis2 use Fileupload 1.1? Thanks, Brecht --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Ajith Ranabahu --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
