|
Novell exteNd Web Services SDK API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.sssw.jbroker.web.portable.SAAJSkeleton
The SAAJSkeleton
is a special, generic servlet, which doesn't
break down the XML instance on the wire into individual parameters. Instead,
the wire data is converted to a SOAPMessage
, which the application
code can process. After successfull processing, the application code must
create and return another SOAPMessage
object.
Nested Class Summary | |
static interface |
SAAJSkeleton.SAAJSkeletonDelegate
The base class delegates various methods to this interface. |
Method Summary | |
List |
_getHandlerChain()
Get the handler chain set on this servlet skeleton |
Object |
_getProperty(String propName)
Get a property |
void |
_setHandlerChain(List handlerList)
Set the handler chain on this servlet skeleton. |
Object |
_setProperty(String propName,
Object propValue)
Set a property |
void |
doGet(HttpServletRequest req,
HttpServletResponse res)
The HTTP servlet doGet
The GET support can only be called for ?wsdl parameter. |
void |
doPost(HttpServletRequest req,
HttpServletResponse res)
The HTTP servlet doPost extracts the
SOAPMessage from the servlet request and passes it down
to the invoke method. |
abstract SOAPMessage |
invoke(SOAPMessage message)
Abstract invocation method, which must be provided by the sub class. |
Methods inherited from class javax.servlet.http.HttpServlet |
service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
doGet
The GET support can only be called for ?wsdl parameter.
For all other requests it will throw ServletException.
req
- the servlet requestres
- the servlet response
ServletException
- if processing failed
IOException
- if an I/O exception occurredpublic void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
doPost
extracts the
SOAPMessage
from the servlet request and passes it down
to the invoke
method. The SOAPMessage
returned
by the invoke
method is written into the servlet response.
req
- the servlet requestres
- the servlet response
ServletException
- if processing failed
IOException
- if an I/O exception occurredpublic abstract SOAPMessage invoke(SOAPMessage message)
message
- the incoming SOAPMessage
object
SOAPMessage
that will be written
into the servlet response.public void _setHandlerChain(List handlerList)
public List _getHandlerChain()
public Object _setProperty(String propName, Object propValue)
propName
- the property namepropValue
- the property value
public Object _getProperty(String propName)
propName
- the property name
|
Novell exteNd Web Services SDK API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |