BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }Ah
my bad, looks like Jersey client has an OSGI Activator class. My OSGI
newbism is showing through here, just gotta work out how to activate
it know ;)
 Tom
 On Mon 20/09/10  5:24 PM , [email protected] sent:
   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] [1] 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] [email protected] [2]


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

Reply via email to