org.apache.axis2.handlers.addressing
Class AddressingOutHandler
java.lang.Object
org.apache.axis2.handlers.AbstractHandler
org.apache.axis2.handlers.addressing.AddressingHandler
org.apache.axis2.handlers.addressing.AddressingOutHandler
- All Implemented Interfaces:
- AddressingConstants, Handler, Serializable
- public class AddressingOutHandler
- extends AddressingHandler
- See Also:
- Serialized Form
Fields inherited from interface org.apache.axis2.addressing.AddressingConstants |
EPR_ADDRESS, EPR_REFERENCE_PARAMETERS, EPR_SERVICE_NAME, IS_ADDR_INFO_ALREADY_PROCESSED, PARAM_SERVICE_GROUP_CONTEXT_ID, WS_ADDRESSING_VERSION, WSA_ACTION, WSA_DEFAULT_PREFIX, WSA_FAULT_TO, WSA_FROM, WSA_MESSAGE_ID, WSA_RELATES_TO, WSA_RELATES_TO_RELATIONSHIP_TYPE, WSA_REPLY_TO, WSA_TO |
AddressingOutHandler
public AddressingOutHandler()
invoke
public void invoke(MessageContext msgContext)
throws AxisFault
- Description copied from interface:
Handler
- Invoke is called to do the actual work of the Handler object.
If there is a fault during the processing of this method it is
invoke's job to catch the exception and undo any partial work
that has been completed. Once we leave 'invoke' if a fault
is thrown, this class's 'onFault' method will be called.
Invoke should rethrow any exceptions it catches, wrapped in
an AxisFault.
- Parameters:
msgContext
- the MessageContext
to process with this
Handler
.
- Throws:
AxisFault
- if the handler encounters an error
addToSOAPHeader
protected void addToSOAPHeader(EndpointReference epr,
String type,
org.apache.axiom.soap.SOAPEnvelope envelope,
org.apache.axiom.om.OMNamespace addressingNamespaceObject,
String namespace)