Package org.apache.axis.handlers
Class JWSHandler
java.lang.Object
org.apache.axis.handlers.BasicHandler
org.apache.axis.handlers.JWSHandler
- All Implemented Interfaces:
Serializable,Handler
A
JWSHandler sets the target service and JWS filename
in the context depending on the JWS configuration and the target URL.- Author:
- Glen Daniels (gdaniels@allaire.com), Doug Davis (dug@us.ibm.com), Sam Ruby (rubys@us.ibm.com)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Stringprotected static org.apache.commons.logging.Logfinal Stringprotected static HashMapFields inherited from class org.apache.axis.handlers.BasicHandler
makeLockable, name, options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateWSDL(MessageContext msgContext) Obtain WSDL information.voidinvoke(MessageContext msgContext) Just set up the service, the inner service will do the rest...protected voidsetupService(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.Methods inherited from class org.apache.axis.handlers.BasicHandler
canHandleBlock, cleanup, getDeploymentData, getName, getOption, getOptions, getUnderstoodHeaders, init, initHashtable, onFault, setName, setOption, setOptionDefault, setOptions, setOptionsLockable
-
Field Details
-
log
protected static org.apache.commons.logging.Log log -
OPTION_JWS_FILE_EXTENSION
- See Also:
-
DEFAULT_JWS_FILE_EXTENSION
- See Also:
-
soapServices
-
-
Constructor Details
-
JWSHandler
public JWSHandler()
-
-
Method Details
-
invoke
Just set up the service, the inner service will do the rest...- Parameters:
msgContext- theMessageContextto process with thisHandler.- Throws:
AxisFault- if the handler encounters an error
-
setupService
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.- Throws:
Exception
-
generateWSDL
Description copied from interface:HandlerObtain WSDL information. Some Handlers will implement this by merely setting properties in the MessageContext, others (providers) will take responsibility for doing the "real work" of generating WSDL for a given service.- Specified by:
generateWSDLin interfaceHandler- Overrides:
generateWSDLin classBasicHandler- Parameters:
msgContext- theMessageContextto generate the WSDL to- Throws:
AxisFault- if there was a problem generating the WSDL
-