Interface PayloadEndpoint

All Known Implementing Classes:
AbstractDom4jPayloadEndpoint, AbstractDomPayloadEndpoint, AbstractJDomPayloadEndpoint, AbstractSaxPayloadEndpoint, AbstractXomPayloadEndpoint

public interface PayloadEndpoint
Defines the basic contract for Web Services interested in just the message payload.

The main entrypoint is invoke(Source), which gets invoked with the contents of the requesting message.

Since:
1.0.0
Author:
Arjen Poutsma
  • Method Summary

    Modifier and Type
    Method
    Description
    invoke(Source request)
    Invokes the endpoint with the given request payload, and possibly returns a response.
  • Method Details

    • invoke

      Source invoke(Source request) throws Exception
      Invokes the endpoint with the given request payload, and possibly returns a response.
      Parameters:
      request - the payload of the request message, may be null
      Returns:
      the payload of the response message, may be null to indicate no response
      Throws:
      Exception - if an exception occurs