Class MustUnderstandValidationDispatcher
- java.lang.Object
-
- org.apache.axis2.handlers.AbstractHandler
-
- org.apache.axis2.engine.AbstractDispatcher
-
- org.apache.axis2.jaxws.dispatchers.MustUnderstandValidationDispatcher
-
- All Implemented Interfaces:
org.apache.axis2.engine.Handler
public class MustUnderstandValidationDispatcher extends org.apache.axis2.engine.AbstractDispatcher
Do JAXWS MustUnderstand header processing per the JAXWS 2.0 specification. This checks for a specific compliance situation where a non-existant operation with mustUnderstood headers that are not understood must throw a mustUnderstandFault rather than an invalid EPR exception. Note that this handler should be inserted in the inbound dispather chains so that the Dispatcher checkPostConditions does not throw the invalid EPR fault if the operation is null.
-
-
Constructor Summary
Constructors Constructor Description MustUnderstandValidationDispatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.axis2.description.AxisOperation
findOperation(org.apache.axis2.description.AxisService service, org.apache.axis2.context.MessageContext messageContext)
org.apache.axis2.description.AxisService
findService(org.apache.axis2.context.MessageContext messageContext)
void
initDispatcher()
org.apache.axis2.engine.Handler.InvocationResponse
invoke(org.apache.axis2.context.MessageContext msgctx)
-
-
-
Method Detail
-
findOperation
public org.apache.axis2.description.AxisOperation findOperation(org.apache.axis2.description.AxisService service, org.apache.axis2.context.MessageContext messageContext) throws org.apache.axis2.AxisFault
- Specified by:
findOperation
in classorg.apache.axis2.engine.AbstractDispatcher
- Throws:
org.apache.axis2.AxisFault
-
findService
public org.apache.axis2.description.AxisService findService(org.apache.axis2.context.MessageContext messageContext) throws org.apache.axis2.AxisFault
- Specified by:
findService
in classorg.apache.axis2.engine.AbstractDispatcher
- Throws:
org.apache.axis2.AxisFault
-
initDispatcher
public void initDispatcher()
- Specified by:
initDispatcher
in classorg.apache.axis2.engine.AbstractDispatcher
-
invoke
public org.apache.axis2.engine.Handler.InvocationResponse invoke(org.apache.axis2.context.MessageContext msgctx) throws org.apache.axis2.AxisFault
- Specified by:
invoke
in interfaceorg.apache.axis2.engine.Handler
- Overrides:
invoke
in classorg.apache.axis2.engine.AbstractDispatcher
- Throws:
org.apache.axis2.AxisFault
-
-