Re: Empty Response From HTTP Request

2011-05-13 Thread Nick Apperley
All web services were returning json but not in a way that is treated as jsonp for the GWT client. Once that was fixed no more timeouts occurred for future requests. However there is now a bizarre issue where the ArrayList that was populated in the defined onSuccess method (for the AsyncCallback

Re: Empty Response From HTTP Request

2011-05-13 Thread Nick Apperley
As it turns out AsyncCallback doesn't have a way to inform that it is finished. Therefore anything that needs the proper results from the request would need to be done in the AsyncCallback's onSuccess method. On May 13, 6:12 pm, Nick Apperley napper...@gmail.com wrote: All web services were

Re: Empty Response From HTTP Request

2011-05-12 Thread A. Stevko
Hi Nick, Are you saying that the server response is empty or that RequestBuilder does not recognize the response? If its the former, the server is not recognizing something in the request like the browser code headers. If its the latter, then I would compare the content-type and formatting of the

Re: Empty Response From HTTP Request

2011-05-12 Thread Nick Apperley
Every time a request is made with RequestBuilder an empty response is returned from the server. If the request is made using just the web browser in an empty tab a non empty response is returned from the server that is displayed directly (in Firefox). With the latter the expected response is

Re: Empty Response From HTTP Request

2011-05-12 Thread Nick Apperley
What is really weird is that the timeouts are occurring with making a request via JsonRequestBuilder yet the Glassfish server has received the request successfully. I have been digging through the Glassfish server logs and found an identical set of entries for 2 requests that were made (one from

Re: Empty Response From HTTP Request

2011-05-12 Thread A. Stevko
Can you at least see the size of the response like in an apache log file? Try using FireBug's Net Panel to see the request/response size/duration. On Thu, May 12, 2011 at 4:25 PM, Nick Apperley napper...@gmail.com wrote: What is really weird is that the timeouts are occurring with making a

Empty Response From HTTP Request

2011-05-11 Thread Nick Apperley
Using RequestBuilder I can successfully make a request to the Glassfish 3.1 server I have setup. The server delivers REST web services that involve HTTP GET and POST. Currently I am testing to see if I can establish communication between the server and the GWT client. What isn't working is getting