org.jboss.net.axis.server
Class FlashAxisServiceServlet
java.lang.Object
HttpServlet
org.jboss.axis.transport.http.AxisServletBase (src)
org.jboss.axis.transport.http.AxisServlet (src)
org.jboss.net.axis.server.AxisServiceServlet (src)
org.jboss.net.axis.server.FlashAxisServiceServlet
- public class FlashAxisServiceServlet
- extends AxisServiceServlet (src)
A AxisServlet that allows the Flash player/plugin to interact with the
Axis SOAP engine despite the inability to generate the SOAPAction HTTP
header. It spoofs the header by looking at the request parameters and
generating a derived HttpServletRequestWrapper class to appear to migrate
those that should actually be HTTP headers into the header. This class
then just calls its base class's implementation of doPost().
For example, if you were invoking the Hello World SOAP example, you would
append:
?SOAPAction=\"Hello\"
to the service context:
/axisflash/flashservices/Hello
Change History
- jung, 02.05.2002: Outsourced the strings.
- See Also:
- Serialized Form
Field Summary |
protected Logger (src) |
log
The instance logger for the service. |
Method Summary |
void |
doPost(HttpServletRequest req,
HttpServletResponse res)
This method sits on top of the AxisService.doPost() acting as a filter
by first creating a FilterHttpServletRequest and passing it to the base
class implementation. |
Methods inherited from class org.jboss.axis.transport.http.AxisServlet (src) |
createMessageContext, doGet, getDefaultJWSClassDir, getHttpServletResponseStatus, getJWSClassDir, getProtocolVersion, getServiceName, init, invokeEndpointFromGet, logException, processAxisFault, processMethodRequest, processWsdlRequest, reportCantGetAxisService, reportCantGetJWSService, reportNoWSDL, reportServiceInfo, reportTrouble, setupHTMLResponseHeader |
Methods inherited from class org.jboss.axis.transport.http.AxisServletBase (src) |
decLockCounter, destroy, getEngine, getEngineEnvironment, getHomeDir, getLoadCounter, getOption, getServletContext, getWebappBase, getWebInfPath, incLockCounter, isDevelopment, service |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected Logger (src) log
- The instance logger for the service. Not using a class logger
because we want to dynamically obtain the logger name from
concrete sub-classes.
FlashAxisServiceServlet
public FlashAxisServiceServlet()
- Creates new AxisServlet
doPost
public void doPost(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
java.io.IOException
- This method sits on top of the AxisService.doPost() acting as a filter
by first creating a FilterHttpServletRequest and passing it to the base
class implementation.
- Overrides:
doPost
in class AxisServlet (src)
- Parameters:
req
- - an HttpServletRequest object that contains the request the
client has made of the servletres
- respose
- Throws:
java.io.IOException
- if an input or output error is detected when the
servlet handles the request
ServletException
- if the request for the POST could not be
handled