public class JWSHandler extends BasicHandler
JWSHandler
sets the target service and JWS filename
in the context depending on the JWS configuration and the target URL.Modifier and Type | Field and Description |
---|---|
String |
DEFAULT_JWS_FILE_EXTENSION |
protected static org.apache.commons.logging.Log |
log |
String |
OPTION_JWS_FILE_EXTENSION |
makeLockable, name, options
Constructor and Description |
---|
JWSHandler() |
Modifier and Type | Method and Description |
---|---|
void |
generateWSDL(MessageContext msgContext)
Obtain WSDL information.
|
void |
invoke(MessageContext msgContext)
Just set up the service, the inner service will do the rest...
|
protected void |
setupService(MessageContext msgContext)
If our path ends in the right file extension (*.jws), handle all the
work necessary to compile the source file if it needs it, and set
up the "proxy" RPC service surrounding it as the MessageContext's
active service.
|
canHandleBlock, cleanup, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable
protected static org.apache.commons.logging.Log log
public final String OPTION_JWS_FILE_EXTENSION
public final String DEFAULT_JWS_FILE_EXTENSION
public void invoke(MessageContext msgContext) throws AxisFault
msgContext
- the MessageContext
to process with this
Handler
.AxisFault
- if the handler encounters an errorprotected void setupService(MessageContext msgContext) throws Exception
Exception
public void generateWSDL(MessageContext msgContext) throws AxisFault
Handler
generateWSDL
in interface Handler
generateWSDL
in class BasicHandler
msgContext
- the MessageContext
to generate the WSDL
toAxisFault
- if there was a problem generating the WSDLCopyright © The Apache Software Foundation. All Rights Reserved.