What's frustrating is that when I do unit test via "BaseResourceTest",
everything works. But when I run it in jboss, MarshalException was thrown.
Here's sample resource:
@Path("/api/id")
public class MyIdentityService {
@GET
@Path("info/{ids}")
@Produces("application/xml")
@Wrapped(element =
Probably because you don't have the correct providers in your classpath
on the client.
On 9/13/11 11:57 AM, kwground kwground wrote:
> What's frustrating is that when I do unit test via "BaseResourceTest",
> everything works. But when I run it in jboss, MarshalException was thrown.
> Here's sampl
Problem solved. Just to share my experiences, looks like when I provide my
custom MessageBodyReader or MessageBodyWriter, I also need to make sure that
JaxbCollection is also in the same context that I use for marshalling the
object.
Thanks,
kw
On Tue, Sep 13, 2011 at 11:57 AM, kwground kwground