Hi BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px;
}Hi Bertrand,
 Thanks for the reply, I looked through your code, but could not find
anything obvious. Because our Sling server is not running the server
side code, we aren't having any problems there, and I can find no
reference anywhere about anything in the jersey client needing
intializing. So I'm very confused to say the least ;)
 I'll let you know if I make any progress.
 Thanks
 Tom
 On Mon 20/09/10 12:02 PM , Bertrand Delacretaz
[email protected] sent:
 Hi Tom,
 On Mon, Sep 20, 2010 at 8:19 AM, Tom Barber  wrote:
 > ...I'm clutching at straws here cause the jersey ml is pretty
quiet and I can't find any useful information
 > on google. Anyone tried creating a restful client bundle with the
Jersey client libs?...
 I haven't tried on Sling directly, but in the IKS FISE project we
did
 get the Jersey stuff working under OSGi using the Sling launcher.
The
 pom and code of the "jersey" module [1] there should help, and maybe
 have a look at the classes in the
 ./src/main/java/eu/iksproject/fise/jersey package there.
 >
 > ...I ask only because I keep getting a null pointer when my client
calls MediaType.valueOf() because
 > delegate is null, which looks like an initialisation problem...
 I don't remember seeing that particular problem in FISE.
 Please let us know if you get this working in Sling, having an
example
 would be good.
 -Bertrand
 [1] https://iks-project.googlecode.com/svn/sandbox/fise/trunk/jersey


Links:
------
[1] mailto:[email protected]

Reply via email to