RE: Error form HttpConverter

2009-04-29 Thread webpost
We where able to finally narrow down the issue to firewall rules that can causing some part of the code to fail. However the last question, should we remove the following code? esponseHeaders.add(​Cache-Control, no-cache); responseHeaders.add(Pragma, no-cache); responseHeaders.add(Expires,

Re: Error form HttpConverter

2009-04-29 Thread Thierry Boileau
Hello Vinoo, at least, you must remove responseHeaders.add(Expires, 0); because it's forbidden and replace it by a call to Representation#setExpirationDate() as pointed by Jerome. Having said that, I think you can remove the code, or let it and set the expiration date with the current date.

RE: Error form HttpConverter

2009-04-27 Thread vinoo
Hi Jerome, I have attached 3 files that I thought may be relevant for you to identify our issue. Also trimmed the code to level that you can easily understand. Guess the ERRORs are related to the following code. responseHeaders.add(Cache-Control, no-cache); responseHeaders.add(Pragma,

Error form HttpConverter

2009-04-25 Thread vinoo
My team is running into a very strange issues with our REST services. We are in a hosted environment. We have our application deployed to a JBoss server running on port 8087. We have a service as follows http://xxx.xxx.xx.xx:8087/productcatalog/catalog/products/507?response_format=TEXT_HTML And

RE: Error form HttpConverter

2009-04-25 Thread Jerome Louvel
form HttpConverter My team is running into a very strange issues with our REST services. We are in a hosted environment. We have our application deployed to a JBoss server running on port 8087. We have a service as follows http://xxx.xxx.xx.xx:8087/productcatalog/catalog/products/507?response_forma