The client is running inside EAP 6.1? On 8/28/2013 3:33 PM, John D. Ament wrote: > Hi all > > I'm using RestEasy 2.3.6 (as a part of EAP 6.1). I am using the > client APIs and was wondering how to add a custom message body > reader/writer? The other REST server is using Jackson and has many > bindings that are jackson specific. I can't seem to add the > JacksonJaxbJsonProvider to REST EASY, as a result the JSON's getting > skewed. > > This is what I tried: > > ResteasyProviderFactory.getInstance().addMessageBodyWriter(JacksonJaxbJsonProvider.class); > RegisterBuiltin.register(ResteasyProviderFactory.getInstance()); > > Thanks, > > John > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk > _______________________________________________ > Resteasy-users mailing list > Resteasy-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/resteasy-users >
-- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users