This content has been marked as final.
Show 2 replies
-
1. Re: Resteasy + Seam = 403 Forbidden, any idea why?
csherstan Apr 9, 2010 5:20 PM (in response to magiccreative)Hey I'm having the same problem with JSON and XML. Did you get this figured out?
Thanks,
Craig
-
2. Re: Resteasy + Seam = 403 Forbidden, any idea why?
gwozdziu Jan 3, 2011 2:19 PM (in response to magiccreative)Please try putting all your code in the method into try -catch clause:
@Path("/myPath")
@Produces("application/xml")
public MyClass myFunction(){
try{
//your code
}catch(Exception e){
e.printstackTrace();
}
}
RESTEasy swollows lot of exceptions and creates response with various HTTP error headers. Using method described above you will now what might have gone wrong.