Interface SoapRequest

All Superinterfaces:
SoapMessage, WithContentType
All Known Implementing Classes:
DefaultSoapRequest

public interface SoapRequest extends SoapMessage
Represents a request that aims to be sent to a Soap Web Service.
Since:
1.0
  • Method Details

    • getOperation

      String getOperation()
      Returns:
      The name of the operation that is requested.
    • isUseXMLInitialDeclaration

      boolean isUseXMLInitialDeclaration()
      Returns:
      True if the XML initial declaration must be appended to the request's body, otherwise returns False.
    • getAddressingProperties

      default Optional<AddressingProperties> getAddressingProperties()
      Returns:
      the AddressingProperties that describes the WS-A properties of the request.
      Since:
      1.6
    • getReliableMessagingProperties

      default Optional<ReliableMessagingProperties> getReliableMessagingProperties()
      Returns:
      the ReliableMessagingProperties that describes the WS-A properties of the request.
      Since:
      1.6
    • builder

      static SoapRequestBuilder builder()
      Returns:
      a SoapRequestBuilder instance to create a new SoapRequest.
    • empty

      static SoapRequest empty(String operation)
      Parameters:
      operation - the operation that is going to be executed.
      Returns:
      an empty Soap Request with no content for the requested operation.