3 posts, 2 voices
, Tagged: webservice
|
|
I’m new to Bug Labs and Java and I’m trying to find out how to expose a web service like the one exposed when putting the GPS modules for example @ http://localhost:8082/service.html (on the simulator) from a custom app. I looked through the 2.0 wiki, did a search on “web service” in the forums but nothing interesting came up. Any pointers/directions guys? Thanks |
|
|
Hi livercool, The primary client interface that needs to be implemented and registered with the OSGi service registry is PublicWSProvider. Here is an example app on BUGnet that demonstrates how to implement it: http://www.buglabs.net/applications/ExampleWS Another tip is the code search feature on bugnet, it’s a nice way of finding examples. Here was my search for PublicWSProvider: http://www.buglabs.net/codesearch?query=PublicWSProvider thx ken |
|
|
Awesome, Thanks kgilmer |