org.opensaml.ws.soap.client
Class HTTPSOAPTransport

java.lang.Object
  extended by org.opensaml.ws.soap.client.HTTPSOAPTransport
All Implemented Interfaces:
ClientTransport

public class HTTPSOAPTransport
extends Object
implements ClientTransport

SOAP transport using HTTP.


Nested Class Summary
protected  class HTTPSOAPTransport.PostMethodHttpInTransport
          Adapts an Apache Commons HTTPClient PostMethod into an HTTPInTransport.
protected  class HTTPSOAPTransport.PostMethodHttpOutTransport
          Adapts an Apache Commons HTTPClient PostMethod into an HTTPOutTransport.
 
Constructor Summary
HTTPSOAPTransport(org.apache.commons.httpclient.HttpClient client, MessageEncoder encoder, MessageDecoder decoder)
          Constructor.
 
Method Summary
 void send(URI endpointURI, MessageContext messageContext)
          Sends the given SOAP message to the provided peer endpoint.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPSOAPTransport

public HTTPSOAPTransport(org.apache.commons.httpclient.HttpClient client,
                         MessageEncoder encoder,
                         MessageDecoder decoder)
Constructor.

Parameters:
client - client used to communicate with peer.
encoder - encoder used to encode messages onto the outgoing transport
decoder - decoder used to decode messages from inbound transport
Method Detail

send

public void send(URI endpointURI,
                 MessageContext messageContext)
          throws TransportException
Sends the given SOAP message to the provided peer endpoint.

Specified by:
send in interface ClientTransport
Parameters:
endpointURI - peer endpoint
messageContext - message context
Throws:
TransportException - thrown if there is a problem sending the message


Copyright © 2006-2008 Internet2. All Rights Reserved.