Connection Class

Used to encapsulate raw connection information

Constructors

Connection( String host, String username, String password )

Public Methods

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.
execute( String soap, java.util.HashMap<String, String> 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.
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<String, String> headers ) returns org.w3c.dom.Document
toString( ) returns String
Returns the host, username, and password.