Sebastien Arbogast wrote:
Hi,
I'm looking for a way to use Axis in combination with Cocoon. I
already managed to parse SOAP messages with a higher-level approach
using Axis API's [1] but I still need to automate a few things.
I found a SoapServer interface [2] and a SoapServerImpl [3] class in
Cocoon API documentation, and I found out it was configured in
cocoon.xconf, making it available as an Avalon component but I still
can't figure out how to use it, especially as most of the
implementations I found use XSP and are a bit outdated (as [4] for
example).
I'm not quite sure of the use case I want to implement yet because I
need to know what is possible to achieve with that component first. So
I really could use any sample using that component to serve SOAP
requests through Cocoon. I already sent an e-mail to Marcus Crafter,
the author of that class but as could really use as much experience as
possible because I only have a few days to figure out a solution to
that problem.
I sincerely thank you for any help in advance.
Best regards.
I have not used the axis block, but from a short look at it, it seem
like it mainly embeds Axis as a Cocoon component. So you should probably
read the Axis users guide to learn the basic concepts
(http://ws.apache.org/axis/). The actual implementation is in
o.a.c.components.axis package with a Avalon wrapper in the provider sub
package. The it is used from the AxisRPCReader. In the o.a.c.webservices
you have an example of some Avalon based services, that are used from
the samples. The only use of XSP in the example is for a _client_ that
calls the SOAP server. But the actual server doesn't use XSP at all. It
is just the reader and the SOAP server component and the aactual
services that you implement and descibe in WSDD, and point to in the
configuration file.
/Daniel