You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Adam Ratcliffe <ad...@mrigitech.com> on 2004/09/21 04:20:47 UTC
Calling Web Services from Flow
Hi,
I've put together an implementation of Luke Hubbard's RT on calling web
services from the flow layer.
The code is available from
http://wiki.apache.org/cocoon/FlowAndWebServices if you're interested in
taking
a look.
The impetus for getting this going came from an application I was
working on where I needed to direct the
flow of control based upon the response from a remote service, something
not easily done using the SOAP
logicsheet or WebServiceProxyGenerator.
The code probably needs a bit of a tidy up, I'm not hugely familiar with
the Avalon component lifecycle. I also
lifted the CompilingClassLoader code directly from the FOM javascript
interpreter - I'm sure it could be better
optimized for this purpose.
Cheers
Adam
Re: Calling Web Services from Flow
Posted by Reinhard Poetz <re...@apache.org>.
Adam Ratcliffe wrote:
>Hi,
>
>I've put together an implementation of Luke Hubbard's RT on calling web
>services from the flow layer.
>The code is available from
>http://wiki.apache.org/cocoon/FlowAndWebServices if you're interested in
>taking
>a look.
>
>The impetus for getting this going came from an application I was
>working on where I needed to direct the
>flow of control based upon the response from a remote service, something
>not easily done using the SOAP
>logicsheet or WebServiceProxyGenerator.
>
>The code probably needs a bit of a tidy up, I'm not hugely familiar with
>the Avalon component lifecycle. I also
>lifted the CompilingClassLoader code directly from the FOM javascript
>interpreter - I'm sure it could be better
>optimized for this purpose.
>
>Cheers
>Adam
>
>
>
>
Adam,
Wow, this looks really promising! Pls, could you file a Bugzilla report
and add the ZIP file there.
Many thanks!
Best,
Reinhard