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,
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.
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,
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
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
5 matches
Mail list logo