Re: Unable to get upload results from FileUpload

2010-05-31 Thread Fahim
Hi Manuel, I am not using GWTUpload library. You are right, It is text/xml issue. It works fine with text/html or text/plain. I already requested server side team to change it for me. Thanks for your help. Fahim On May 29, 11:06 am, Manuel Carrasco Moñino man...@apache.org wrote: Note that in

Re: Unable to get upload results from FileUpload

2010-05-28 Thread Manuel Carrasco Moñino
The problem is in the response, you have to take care of two issues in order to have event.getResults() working: 1.- You can not read the response if the server is not the same of your application (cross domain). 2.- The content type must be text/html or text/plain. If you had the control of the

Re: Unable to get upload results from FileUpload

2010-05-28 Thread Fahim
Hi Jeff, I think there isn't any response.getText() when you are using FileUpload widget. Is there? Thanks, Fahim On May 28, 2:25 am, Jeff Chimene jchim...@gmail.com wrote: On 05/27/2010 01:17 PM, Fahim wrote: Hi Jeff, Thanks for your response. Actually server is not in my control.

Re: Unable to get upload results from FileUpload

2010-05-28 Thread Jeff Chimene
Hi Faim: Sorry, yes, you're right. Here is a working example: private final IUploader.OnFinishUploaderHandler onFinishUploaderHandler = new IUploader.OnFinishUploaderHandler() { public void onFinish(IUploader uploader) { if (uploader.getStatus() == Status.SUCCESS) { STUFF

Unable to get upload results from FileUpload

2010-05-27 Thread Fahim
Hi All, I am using FileUpload widget to upload a file. Either file is being uploaded successfully or failed I am not able to get the results using event.getResults() in onSubmitComplete event because it is always null. The response type of the service which I am calling to upload is text/xml.

Re: Unable to get upload results from FileUpload

2010-05-27 Thread Jeff Chimene
Hi Fahim: Check your server error log. On Thu, May 27, 2010 at 1:05 AM, Fahim fahimr...@gmail.com wrote: Hi All, I am using FileUpload widget to upload a file. Either file is being uploaded successfully or failed I am not able to get the results using event.getResults() in onSubmitComplete

Re: Unable to get upload results from FileUpload

2010-05-27 Thread Fahim
Hi Jeff, Thanks for your response. Actually server is not in my control. Though I can send request for log file but it will take some time. And I don't think that there is any issue on server side. We use the same service call for file upload in our silverlight client, which we are porting to

Re: Unable to get upload results from FileUpload

2010-05-27 Thread Jeff Chimene
On 05/27/2010 01:17 PM, Fahim wrote: Hi Jeff, Thanks for your response. Actually server is not in my control. Though I can send request for log file but it will take some time. You don't have any access to the server? Even via a web management interface? How did you install the

Re: Unable to get upload results from FileUpload

2010-05-27 Thread Jeff Chimene
On 05/27/2010 01:17 PM, Fahim wrote: Hi Jeff, Thanks for your response. Actually server is not in my control. Though I can send request for log file but it will take some time. And I don't think that there is any issue on server side. We use the same service call for file upload in our