org.opensaml.ws.soap.client
Interface SOAPClient
- All Known Implementing Classes:
- HttpSOAPClient
@ThreadSafe
public interface SOAPClient
An 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.
send
void send(String endpoint,
SOAPMessageContext messageContext)
throws SOAPException,
org.opensaml.xml.security.SecurityException
- Sends a message and waits for a response.
- Parameters:
endpoint
- the endpoint to which to send the messagemessageContext
- the message context containing the outbound SOAP message
- Throws:
SOAPClientException
- thrown if there is a problem sending the message or receiving the response or if the
response is a SOAP fault
org.opensaml.xml.security.SecurityException
- thrown if the response does not meet any security policy associated with the message
context
SOAPException
Copyright © 2006-2013 Internet2. All Rights Reserved.