I am using OSGI in liberty profile. Is OSGI HttpService is available in OSGI Runtime?
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
5 replies Latest Post - 2012-10-31T15:33:38Z by Graham_Charters
Pinned topic OSGI HttpService
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Re: OSGI HttpService2012-10-25T19:16:10Z in response to SystemAdminHi Ravi,
I'm afraid the OSGi HTTP service is not available in the liberty profile.
Re: OSGI HttpService2012-10-29T06:56:34Z in response to SystemAdminHi Alex,
Thanks for your reply, is it available in Websphere application server? or is it not available only in liberty profile?
Currently I am using httpservice as specified below
Any inputs or comments ?
Re: OSGI HttpService2012-10-29T13:14:33Z in response to SystemAdminWebSphere Application Server does not provide an implementation of the HTTPService specification in either the full profile or the liberty profile.
Re: OSGI HttpService2012-10-30T11:02:40Z in response to SystemAdminIs there any way to get HttpService reference ?
Graham_Charters 100000UY5C14 PostsACCEPTED ANSWER
Re: OSGI HttpService2012-10-31T15:33:38Z in response to SystemAdminHi Ravi, I'm not sure what you mean by "get HttpService reference". Could you please elaborate.
I'm aware of Ralf's blog on how to get the equinox http service implementation working in WAS. I've not tried this approach on the Liberty Profile. As others have stated, we don't support the HttpService, but Ralf's blog enables it as part of the application, so that's really up to you if you want to go that route. The HttpService is pretty popular, and personally I like what others have done to extend it with whiteboard pattern support for servlet registration. If you'd like us to consider adding HttpService support, could you please raise a request for enhancement (http://www.ibm.com/developerworks/rfe/). Many thanks.