users@jersey.java.net

[Jersey] Question about error when apis accessed externally.

From: ketong su <ketongsu_at_gmail.com>
Date: Sat, 18 Aug 2012 16:32:02 +0100

Hi guys

 

I developed some REST interfaces using jersey, and I am calling them using
ajax calls. Everything works perfectly locally. But when I try to access
them externally, for a method that returns a jaxb element, I got no
response. And for a method that returns string, I got INFO: Couldn't find
JAX-B element for class java.lang.String. I tried both tomcat and glassfish,
I got the error. I'm new to jersey, I mean I guess it is just something
simple, like edit the web config or something. Please help. No joy googling.


 

Thank you very much.

 

Many thanks

ketong