Thanks a lot for your help. It took me a while to figure it out how I can use 
the tunneling and the extension this way I want to. It is working for the GET 
requests as expected. But I got some other questions/ issues.

I just enabled the tunnel for my JaxRsApplication class and added the mime 
types to the resource methodes within the @Produces annotation. But now I 
discovered that it is not possible to do a POST request using the mime type 
extension (json, xml...) I guess this is because POST is not intentend to send 
data back to the client only http status codes. So I commented out the 
@Produces for the POST and it was working. 

The problem is that the jax-rs application will be included in a spring project 
that only allows requests with certain extensions like json, xml... So is there 
a way to get around this? 

The other thing is that I would like to send response data back to the client 
with the POST (DELETE, PUT) request to save resources on the (mobile) client 
side. Is there a way to do this?


Thanks in advance for the help.

Is also searched this mailing list but did not found anything hope I did not 
missed it somehow.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2662359

Reply via email to