I have an example of integration with axis,

basicaly...
I joined axis web.xml
and tapestry web.xml

then inside a stub class looked for the service..

to make service available, I overriden tapestry filter
and put the service into servletContext

        ServletContext context = getServletContext();
        context.setAttribute(BusinessLogic.SERVICE_NAME, registry.getService
(BusinessLogic.class));


then in skeleton class

            HttpServlet axisServlet = (HttpServlet)
AxisServer.getCurrentMessageContext().getProperty("transport.http.servlet");
            businessLogic = (BusinessLogic) axisServlet.getServletContext
().getAttribute(BusinessLogic.SERVICE_NAME);


if you have more than one service, just put registry there
and fetch a service from registry later.

this is what I've made to get it running without contemplating
too much about it, any suggestion to make it better is welcom :)

no matter what lib you use for web services, the easiest integration is to
put it in the same context, and share reference via servletContext...


Davor Hrg






On Dec 5, 2007 9:48 AM, Peter Stavrinides < [EMAIL PROTECTED]>
wrote:

> Hi all,
>
> Is there any info/examples available on this subject, I would like to
> convert a Tapestry service into a webservice.
>
> Thanks
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to