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 Type
    Method
    Description
    void
    invoke(MessageContext messageContext)
    Invokes an operation.
  • Method Details

    • invoke

      void invoke(MessageContext messageContext) throws Exception
      Invokes an operation.

      The given messageContext can be used to create a response.

      Parameters:
      messageContext - the message context
      Throws:
      Exception - if an exception occurs