Connection Class

Used to encapsulate raw connection information

Constructors

public Connection( String host, String username, String password )

Methods

execute( String soap ) returns org.w3c.dom.Document
Used to send a SOAP message to the Exchange Web Services and parse the response. Returns an return an org.w3c.dom.Document.
soapRaw SOAP message
execute( String soap, java.util.HashMap headers ) returns org.w3c.dom.Document
execute( String soap, java.util.HashMap headers, boolean parseResponse ) returns Object
Used to send a SOAP message to the Exchange Web Services.
soapRaw SOAP message
headers
parseResponseBoolean indicating whether to parse the response. If true, will return an org.w3c.dom.Document. If false, returns an javaxt.http.Response.
getHost( ) returns String
Returns the URL to the Exchange Web Services (EWS) endpoint.
getUserName( ) returns String
Returns the username used to bind the Exchange Web Services.
toString( ) returns String
Returns the host, username, and password.