Module: Viewpoint::EWS::SOAP

Included in:
ExchangeAvailability, ExchangeDataServices, ExchangeNotification, ExchangeSynchronization, ExchangeTimeZones, ExchangeUserConfiguration, ExchangeWebService
Defined in:
lib/ews/soap/ews_response.rb,
lib/ews/soap.rb,
lib/ews/soap/response_message.rb,
lib/ews/soap/ews_soap_response.rb,
lib/ews/soap/parsers/ews_parser.rb,
lib/ews/soap/exchange_time_zones.rb,
lib/ews/soap/builders/ews_builder.rb,
lib/ews/soap/exchange_web_service.rb,
lib/ews/soap/exchange_availability.rb,
lib/ews/soap/exchange_notification.rb,
lib/ews/soap/ews_soap_room_response.rb,
lib/ews/soap/exchange_data_services.rb,
lib/ews/soap/exchange_synchronization.rb,
lib/ews/soap/parsers/ews_sax_document.rb,
lib/ews/soap/ews_soap_roomlist_response.rb,
lib/ews/soap/ews_soap_free_busy_response.rb,
lib/ews/soap/exchange_user_configuration.rb,
lib/ews/soap/ews_soap_availability_response.rb,
lib/ews/soap/responses/find_item_response_message.rb,
lib/ews/soap/responses/subscribe_response_message.rb,
lib/ews/soap/responses/get_events_response_message.rb,
lib/ews/soap/responses/create_item_response_message.rb,
lib/ews/soap/responses/create_attachment_response_message.rb,
lib/ews/soap/responses/send_notification_response_message.rb,
lib/ews/soap/responses/sync_folder_items_response_message.rb,
lib/ews/soap/responses/sync_folder_hierarchy_response_message.rb

Overview

This file is part of Viewpoint; the Ruby library for Microsoft Exchange Web Services.

Copyright © 2011 Dan Wanek <[email protected]>

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Defined Under Namespace

Modules: ExchangeAvailability, ExchangeDataServices, ExchangeNotification, ExchangeSynchronization, ExchangeTimeZones, ExchangeUserConfiguration Classes: CreateAttachmentResponseMessage, CreateItemResponseMessage, EwsBuilder, EwsParser, EwsResponse, EwsSaxDocument, EwsSoapAvailabilityResponse, EwsSoapFreeBusyResponse, EwsSoapResponse, EwsSoapRoomResponse, EwsSoapRoomlistResponse, ExchangeWebService, FindItemResponseMessage, GetEventsResponseMessage, ResponseMessage, RootFolder, SendNotificationResponseMessage, SubscribeResponseMessage, SyncFolderHierarchyResponseMessage, SyncFolderItemsResponseMessage

Constant Summary collapse

NS_SOAP =

CONSTANTS

'soap'.freeze
NS_EWS_TYPES =
't'.freeze
NS_EWS_MESSAGES =
'm'.freeze
NAMESPACES =
{
  "xmlns:#{NS_SOAP}"         => 'http://schemas.xmlsoap.org/soap/envelope/',
  "xmlns:#{NS_EWS_TYPES}"    => 'http://schemas.microsoft.com/exchange/services/2006/types',
  "xmlns:#{NS_EWS_MESSAGES}" => 'http://schemas.microsoft.com/exchange/services/2006/messages',
}.freeze
ActiveDirectory =

used in ResolveNames to determine where names are resolved

'ActiveDirectory'
ActiveDirectoryContacts =
'ActiveDirectoryContacts'
Contacts =
'Contacts'
ContactsActiveDirectory =
'ContactsActiveDirectory'
VERSION_2007 =

Target specific Exchange Server versions

'Exchange2007'
VERSION_2007_SP1 =
'Exchange2007_SP1'
VERSION_2010 =
'Exchange2010'
VERSION_2010_SP1 =
'Exchange2010_SP1'
VERSION_2010_SP2 =
'Exchange2010_SP2'
VERSION_2013 =
'Exchange2013'
VERSION_2013_SP1 =
'Exchange2013_SP1'
VERSION_NONE =
'none'
HARD_DELETE =
'HardDelete'
SOFT_DELETE =
'SoftDelete'
MOVE_TO_DELETED_ITEMS =
'MoveToDeletedItems'

Instance Method Summary collapse

Instance Method Details

#initializeObject



57
58
59
60
# File 'lib/ews/soap.rb', line 57

def initialize
  @log = Logging.logger[self.class.name.to_s.to_sym]
  @default_ns = NAMESPACES["xmlns:#{NS_EWS_MESSAGES}"]
end