|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.xml.rpc.handler.GenericHandler org.apache.ws.resource.handler.ResourceHandler
Base class for platform-specific providers; also is a JAX-RPC Handler to make it easier to port to different SOAP platforms.
Field Summary | |
static java.lang.String |
HANDLER_OPT_VALIDATE_REQUEST_XML
DOCUMENT_ME |
static org.apache.ws.util.i18n.Messages |
MSG
DOCUMENT_ME |
static java.lang.String |
SERVICE_OPT_SERVICE_CLASS_NAME
DOCUMENT_ME |
static java.lang.String |
SERVICE_OPT_WSDL_TARGET_NAMESPACE
DOCUMENT_ME |
static java.lang.String |
WSRF_RESPONSE_XMLOBJECT_LIST
DOCUMENT_ME |
Constructor Summary | |
ResourceHandler()
|
Method Summary | |
protected void |
addSOAPBodyElements(org.apache.xmlbeans.XmlObject responseDocXBean,
javax.xml.soap.SOAPBody soapBody)
DOCUMENT_ME |
javax.xml.namespace.QName[] |
getHeaders()
This handler acts as the pivot and does not process any SOAP header elements. |
protected javax.xml.soap.SOAPEnvelope |
getResponseEnvelope(javax.xml.rpc.handler.soap.SOAPMessageContext soapMsgContext)
DOCUMENT_ME |
protected javax.xml.soap.SOAPMessage |
getResponseMessage(javax.xml.rpc.handler.soap.SOAPMessageContext soapMsgContext)
|
protected java.lang.Class |
getServiceClassName(ResourceContext resourceContext)
DOCUMENT_ME |
protected java.lang.String |
getServiceOption(ResourceContext resourceContext,
java.lang.String key)
|
boolean |
handleRequest(javax.xml.rpc.handler.MessageContext msgContext)
Deserializes the incoming SOAP request to an XMLBean and dispatches it to the appropriate service. |
boolean |
handleResponse(javax.xml.rpc.handler.MessageContext msgContext)
DOCUMENT_ME |
void |
init(javax.xml.rpc.handler.HandlerInfo handlerInfo)
DOCUMENT_ME |
Methods inherited from class javax.xml.rpc.handler.GenericHandler |
destroy, handleFault |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final org.apache.ws.util.i18n.Messages MSG
public static final java.lang.String WSRF_RESPONSE_XMLOBJECT_LIST
public static final java.lang.String SERVICE_OPT_WSDL_TARGET_NAMESPACE
public static final java.lang.String SERVICE_OPT_SERVICE_CLASS_NAME
public static final java.lang.String HANDLER_OPT_VALIDATE_REQUEST_XML
Constructor Detail |
public ResourceHandler()
Method Detail |
public javax.xml.namespace.QName[] getHeaders()
public boolean handleRequest(javax.xml.rpc.handler.MessageContext msgContext)
public boolean handleResponse(javax.xml.rpc.handler.MessageContext msgContext)
msgContext
- DOCUMENT_ME
public void init(javax.xml.rpc.handler.HandlerInfo handlerInfo)
handlerInfo
- DOCUMENT_MEprotected java.lang.Class getServiceClassName(ResourceContext resourceContext) throws ResourceContextException, java.lang.ClassNotFoundException
resourceContext
- DOCUMENT_ME
ResourceContextException
java.lang.ClassNotFoundException
protected final java.lang.String getServiceOption(ResourceContext resourceContext, java.lang.String key)
resourceContext
- key
-
protected javax.xml.soap.SOAPEnvelope getResponseEnvelope(javax.xml.rpc.handler.soap.SOAPMessageContext soapMsgContext)
soapMsgContext
- DOCUMENT_ME
protected javax.xml.soap.SOAPMessage getResponseMessage(javax.xml.rpc.handler.soap.SOAPMessageContext soapMsgContext)
soapMsgContext
- the response's JAX-RPC message context
protected void addSOAPBodyElements(org.apache.xmlbeans.XmlObject responseDocXBean, javax.xml.soap.SOAPBody soapBody)
responseDocXBean
- DOCUMENT_MEsoapBody
- DOCUMENT_ME
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |