I don't know much about oracle, but from what I can gather from your question you want to expose a webservice from oracle?
In that case I'd check the Oracle documentation. I did a quick google search and came up with a couple of links:
Hope that helps. Otherwise, I recommend Stackoverflow for more general questions (such as Oracle specific material)