Interface MessageEndpoint
- All Known Implementing Classes:
AbstractFaultCreatingValidatingMarshallingPayloadEndpoint,AbstractMarshallingPayloadEndpoint,AbstractStaxEventPayloadEndpoint,AbstractStaxStreamPayloadEndpoint,AbstractValidatingMarshallingPayloadEndpoint
public interface MessageEndpoint
Defines the basic contract for Web Services interested in the entire message payload.
The main entrypoint is invoke(MessageContext), which gets invoked with the message context. This context
contains the request, and can be used to create a response.
- Since:
- 1.0.0
- Author:
- Arjen Poutsma
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidinvoke(MessageContext messageContext) Invokes an operation.
-
Method Details
-
invoke
Invokes an operation.The given
messageContextcan be used to create a response.- Parameters:
messageContext- the message context- Throws:
Exception- if an exception occurs
-