Package org.opensaml.soap.client
Interface SOAPClient
-
- All Known Implementing Classes:
AbstractPipelineHttpSOAPClient,HttpSOAPClient,PipelineFactoryHttpSOAPClient
@ThreadSafe public interface SOAPClientAn interface for a very basic SOAP client. Implementations of this interface do NOT attempt to do intelligent things like figure out when and how to attach WS-Security headers. It is strictly meant to open sockets, shuttle messages over it, and return a response.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSOAPClient.SOAPRequestParametersMarker interface for binding/transport request parameters.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsend(String endpoint, org.opensaml.messaging.context.InOutOperationContext context)Sends a message and waits for a response.
-
-
-
Method Detail
-
send
void send(@Nonnull @NotEmpty String endpoint, @Nonnull org.opensaml.messaging.context.InOutOperationContext context) throws SOAPException, org.opensaml.security.SecurityExceptionSends a message and waits for a response.- Parameters:
endpoint- the endpoint to which to send the messagecontext- the operation context containing the outbound SOAP message- Throws:
SOAPException- thrown if there is a problem sending the message or receiving the response or if the response is a SOAP faultorg.opensaml.security.SecurityException- thrown if the response does not meet any security policy associated with the message context
-
-