Hello Ketong,
you'll have to provide more details about your service and calls. It is
highly unlikely that Jersey resource has been invoked and you have
received no response - there should be something, at least a http status
code. What does it mean that it works fine locally? From my point of
view it looks like container configuration issue - it is possible that
it by default listens only on localhost..
Pavel
On 8/18/12 5:32 PM, ketong su wrote:
>
> 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
>