| org.apache.cocoon.reading.AbstractReader org.apache.cocoon.reading.ServiceableReader org.apache.cocoon.reading.AxisRPCReader
AxisRPCReader | public class AxisRPCReader extends ServiceableReader implements Configurable,Disposable(Code) | | SOAP Reader
This reader accepts a SOAP Request, and generates the resultant
response as output. Essentially, this reader allows you to serve SOAP
requests from your Cocoon application.
Code originates from the Apache
AXIS project,
org.apache.axis.http.transport.AxisServlet .
Ported to Cocoon by:
author: Marcus Crafter author: Original AxisServlet authors: author: Steve Loughran author: Doug Davis version: CVS $Id: AxisRPCReader.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
public void | configure(Configuration config) | public void | dispose() Dispose this reader. | public void | generate() Axis RPC Router generate method. | protected int | getHttpServletResponseStatus(AxisFault af) Extract information from AxisFault and map it to a HTTP Status code. | protected void | processAxisFault(AxisFault fault) routine called whenever an axis fault is caught; where they
are logged and any other business. | public void | service(ServiceManager manager) | public void | setup(SourceResolver resolver, Map objectModel, String src, Parameters parameters) Axis RPC Router setup method.
This method sets the reader up for use. |
configure | public void configure(Configuration config) throws ConfigurationException(Code) | | |
dispose | public void dispose()(Code) | | Dispose this reader. Release all held resources.
|
getHttpServletResponseStatus | protected int getHttpServletResponseStatus(AxisFault af)(Code) | | Extract information from AxisFault and map it to a HTTP Status code.
Parameters: af - Axis Fault HTTP Status code. |
processAxisFault | protected void processAxisFault(AxisFault fault)(Code) | | routine called whenever an axis fault is caught; where they
are logged and any other business. The method may modify the fault
in the process
Parameters: fault - what went wrong. |
service | public void service(ServiceManager manager) throws ServiceException(Code) | | |
setup | public void setup(SourceResolver resolver, Map objectModel, String src, Parameters parameters) throws ProcessingException, IOException, SAXException(Code) | | Axis RPC Router setup method.
This method sets the reader up for use. Essentially it checks that
its been invoked in a HTTP-POST environment, reads some optional
configuration variables, and obtains several component references to
be used later.
Parameters: resolver - SourceResolver instance Parameters: objectModel - request/response/context data Parameters: src - source String instance Parameters: parameters - sitemap invocation time customization parameters exception: ProcessingException - if an error occurs exception: IOException - if an error occurs exception: SAXException - if an error occurs |
Fields inherited from org.apache.cocoon.reading.ServiceableReader | protected ServiceManager manager(Code)(Java Doc)
|
Methods inherited from org.apache.cocoon.reading.ServiceableReader | public void service(ServiceManager manager) throws ServiceException(Code)(Java Doc)
|
|
|