Spring Web Services Framework

org.springframework.ws.server.endpoint
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
 Source invoke(Source request)
          Invokes the endpoint with the given request payload, and possibly returns a response.
 

Method Detail

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

Spring Web Services Framework

Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.