Sebastien, the second approach described by you in the wiki may work
well. However, I think you are doing alot of the stuff that would
already be handled by the Axis Servlet and Axis Server. If you just
have to integrate the axis rpc call result into your pipeline (as
suggested by the adapt() function) you could propably use the Web
Service Proxy Generator and a "classic" axis service (theres also
spring support for that..).

On 6/29/05, Sebastien Arbogast <[EMAIL PROTECTED]> wrote:
> 2005/6/29, Stefan Podkowinski <[EMAIL PROTECTED]>:
> > Hi Cocoon Users
> >
> > Could someone answer me some questions on the axis block who has
> > probably some experience with it?
> >
> > I had a closer look on it as I needed to implement some web services
> > to be served by my cocoon app.
> >
> > The block has very little documentation so I had to study the source
> > directly. But even after thinking about it over and over again I could
> > gasp the concept of this block. "Why is it there?"
> >
> > * Whats the point in using the RPC Reader from the Axis block instead
> > of using the Axis Servlet directly
> > * Does a reader that does also send a direct response to the peer fit
> > into the cocoon concept of cocoons component pipelines?
> > * How can I deploy my services using the axis block? Do I need to
> > configure it in cocoon.xconf?
> >
> > Another problem that stroke me with the axis block was that apparently
> > it is not possible to bind a services to a url endpoint. The samples
> > did only specify "rpcrouter" as the endpoint which leaves the question
> > open how the "router" would recognize which service I intend to
> > consume. I found out that the router will get this information from
> > the http header. So I checked the specs and found out that this is
> > only optional (and http transport specific) and services are supposed
> > to be found by their url endpoint. So I'm even more confused..
> 
> Apparently the WebServiceServer feature begins to be a source of
> interest. Maybe it will trigger a new move to improve and specify
> that. Have a look at http://wiki.apache.org/cocoon/WebServiceServer ,
> it's likely to answer your questions.
> From what I was told before trying to make that, the Axis block just
> provides a WebService proxy for Cocoon to consume WebServices.
> In the wiki page, I've tried to integrate Axis possibiliities as much
> as I could but I'm sure it could be improved by using Axis handlers.
> The problem is that I don't know how to do that.
> But for now that code works and I think it's generic enough to fit
> most of the situations.
> 
> --
> Sébastien Arbogast
> 
> WebCV : http://www.sebastien-arbogast.com
> The Epseelon Project : http://www.epseelon.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to