apache > cocoon

- Home

# Axis RPC Reader in Cocoon

## AxisRPCReader

NAME | template
WHAT | The `AxisRPCReader` allows to serve SOAP requests from your Cocoon application.
TYPE | Reader, Sitemap Component
BLOCK | Axis
CLASS | org.apache.cocoon.reading.AxisRPCReader
SINCE | Cocoon 2.1
CACHEABLE | no

## Description

A general description of AxisRPCReader

## Usage

A usage scenario of AxisRPCReader

### Sitemap pipeline examples

    <map:match pattern="rpcrouter">
      <map:read type="soap-rpc" mime-type="text/xml"/>
    </map:match>

### Sitemap component configuration example

    <map:readers...
      <map:reader name="soap-rpc"
        src="org.apache.cocoon.reading.AxisRPCReader"
        logger="sitemap.reader.soap-rpc"
        >
        <!-- optional reader configuration -->
        ...
      </map:readers>
    ...

### Configuration

Explain the sitemap reader configuration, options when declaring template reader

### Setup

Explain the sitemap reader setup, ie options when using template reader

### Effect on Object Model and Sitemap Parameters

## Bugs/Caveats

As a prerequisite for AxisRPCReader to work properly, the Avalon component SoapServer has to be configured in the `cocoon.xconf` file.

## History

12-25-02: initial creation by Bernhard Huber

## See also

Links to related components pages.

Errors and Improvements? If you see any errors or potential improvements in this document please help us: View, Edit or comment on the latest development version (registration required).