|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.axis.SoapServerImpl
public class SoapServerImpl
SOAP Server Implementation
This server 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.
AxisServlet authors:, Steve Loughran, Doug Davis| Field Summary | |
|---|---|
static String |
DEFAULT_SERVER_CONFIG
Constant describing the default location of the server configuration file |
| Fields inherited from interface org.apache.cocoon.components.axis.SoapServer |
|---|
LOGGER, ROLE |
| Constructor Summary | |
|---|---|
SoapServerImpl()
|
|
| Method Summary | |
|---|---|
void |
compose(ComponentManager manager)
|
void |
configure(Configuration config)
Configures this server. |
void |
contextualize(Context context)
|
org.apache.axis.server.AxisServer |
createEngine()
This is a uniform method of initializing AxisServer in a servlet context. |
org.apache.axis.MessageContext |
createMessageContext(HttpServletRequest req,
HttpServletResponse res,
ServletContext con)
Place the Request message in the MessagContext object - notice that we just leave it as a 'ServletRequest' object and let the Message processing routine convert it - we don't do it since we don't know how it's going to be used - perhaps it might not even need to be parsed. |
protected Map |
getEngineEnvironment()
|
void |
initialize()
|
void |
invoke(org.apache.axis.MessageContext message)
Invoke a particular message context on this server. |
void |
setServerConfig(Configuration config)
Helper method to set the axis server configuration. |
void |
start()
Starts this server. |
void |
stop()
Stops this reader. |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
|---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_SERVER_CONFIG
| Constructor Detail |
|---|
public SoapServerImpl()
| Method Detail |
|---|
public void contextualize(Context context)
throws ContextException
contextualize in interface ContextualizableContextException
public void compose(ComponentManager manager)
throws ComponentException
compose in interface ComposableComponentException
public void configure(Configuration config)
throws ConfigurationException
Sets the following optional configuration settings:
The following format is used:
<soap-server>
<server-wsdd src="..."/>
<attachment-dir src="..."/>
<jws-dir src="..."/>
<security-provider enabled="..."/>
<transport name="..."/>
<managed-services>
<descriptor src="..."/>
<descriptor src="..."/>
</managed-services>
</soap-server>
configure in interface Configurableconfig - a Configuration instance
ConfigurationException - if an error occurs
public void setServerConfig(Configuration config)
throws Exception
config - a Configuration instance
Exception - if an error occurs
public void initialize()
throws Exception
initialize in interface InitializableException
public void start()
throws Exception
start in interface StartableException - if an error occurs
public void stop()
throws Exception
stop in interface StartableException - if an error occurs
public void invoke(org.apache.axis.MessageContext message)
throws Exception
SoapServer
invoke in interface SoapServermessage - a MessageContext instance
Exception - if an error occurs
public org.apache.axis.MessageContext createMessageContext(HttpServletRequest req,
HttpServletResponse res,
ServletContext con)
createMessageContext in interface SoapServerreq - a HttpServletRequest instanceres - a HttpServletResponse instancecon - a ServletContext instance
MessageContext instance
public org.apache.axis.server.AxisServer createEngine()
throws Exception
Exception
protected Map getEngineEnvironment()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||