|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.ws.soap.client.SOAPClient
public class SOAPClient
A client for sending and receiving SOAP messages.
When a client sends a message it will create a Transport
instance, based on the endpoint's scheme, marshall
and bind the message to the transport, receive, decode, and umarshall the response, evaluate the message security
policy, and finally return the response. After this process is complete the response message and transport will be
added to the message context.
Constructor Summary | |
---|---|
SOAPClient()
Constructor. |
Method Summary | |
---|---|
Map<String,ClientTransportFactory> |
getRegisteredTransports()
Gets the transports registered with this client. |
void |
send(URI endpointURI,
MessageContext messageContext)
Sends a SOAP message to the given endpoint. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SOAPClient()
Method Detail |
---|
public Map<String,ClientTransportFactory> getRegisteredTransports()
public void send(URI endpointURI, MessageContext messageContext) throws TransportException, MessageDecodingException, SecurityPolicyException
endpointURI
- endpoint to send the SOAP message tomessageContext
- context of the message to send
TransportException
- thrown if there is a problem creating or using the Transport
MessageDecodingException
- thrown if there is a problem decoding the response
SecurityPolicyException
- thrown if there is a problem evaluating the decoder's security policy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |