Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
implemented in the legacy Exchange web service client: Exchange 2007 client and
Exchange 2010 client.
The referral to the Exchange CAS 2007 will be implemented by using the Exchange
CAS 2007 URL address that is based on the legacy namespace.
Note in the current article we will be based upon a scenario in which the
Exchange CAS 2007 legacy namespace is: legacy.mail.o365info.com
In the following diagram, we can see an example of the Exchange web services flow
in Exchange 2013/2007 coexistence environment.
Phase 1 in this phase the Exchange 2007 client is related to the Exchange 2013
CAS as an Autodiscover Endpoint. Exchange 2007 client address Exchange 2013 CAS
and ask for Autodiscover information.
Phase 2 Exchange 2013 CAS provides the required Autodiscover information that
includes the URL address of the Exchange 2007 legacy namespace Exchange web
services.
In our scenario, the URL address that Exchange 2013 CAS provides is:
https://legacy.mail.o365info.com/EWS/Exchange.asmx
Phase 3 when the Exchange 2007 client needs to get a specific Exchange web
service such as: Availability Service (Free/Busy time) he will use the Autodiscover
information that he got in the former phase. In our scenario, the Exchange web
service URL address is: https://legacy.mail.o365info.com/EWS/Exchange.asmx
The Exchange 2007 client will look for the IP address of the host named:
legacy.mail.o365info.com and address this host (the Exchange CAS 2007) request the
specific Exchange web service.
In the following diagram, we can see that the journey start when the External
Exchange 2007 client addresses the Public Autodiscover
Endpoint: autodiscover.o365info.com
The answer includes URL address which contain the host
name: legacy.mail.o365info.com
When the External Exchange 2007 client needs a specific Exchange web service, he
will try to get the IP address of the host name: legacy.mail.o365info.com and address
him.
The host name: legacy.mail.o365info.com, should be published as a public name and
have a public IP address.
As we know, the Exchange web service is based in two phases. The first phase is
could be described as the: Autodiscover phase.
1. Exchange 2010 client address the Exchange CAS 2013 as his: Autodiscover
Endpoint and asking for an Autodiscover information.
2. When the Exchange CAS 2013 gets the request for Autodiscover information, he
queries the Active Directory about the user and finds that the Exchange client is:
Exchange 2010 client. Because Exchange CAS 2013 doesnt provide by himself
Autodiscover services and, because the client is an Exchange 2010 client,
Exchange CAS 2013 will Proxy the request to Exchange CAS 2010.
3. Exchange CAS 2010 generates the required Autodiscover information which
includes the URL address of the Exchange web
service: https://mail.o365info.com/EWS/Exchange.asmx
4. Exchange CAS 2013 deliver the Autodiscover information to the Exchange 2010
client.
Pay attention to the fact that the conversation or the communication channel
between the Exchange CAS 2013 and the Exchange CAS 2010 is implemented by
using the internal or the real host names. For example, when the Exchange CAS
2013 address the Exchange CAS 2010 he looks for a host
named: EXCAS2010.o365info.com and, when the Exchange CAS 2010 sends his
answer, he will refer to the Exchange CAS 2013 as: EXCAS2013.o365info.com
In the second phase of the Exchange web service client protocol connectivity flow.
The Exchange 2010 client address the URL address that he got from the former
phase of the Autodiscover response.
In our scenario, the Exchange web service URL address that the Exchange 2010
client has is: https://mail.o365info.com/EWS/Exchange.asmx
Now, the Exchange 2010 client will need to resolve the host
name: mail.o365info.com to an IP address and address the specific host for
requesting the required Exchange web service.
1. Exchange 2010 client address the host name: mail.o365info.com which is
mapped to the Exchange CAS 2013 server.
2. When the Exchange CAS 2013 gets the request for Autodiscover information, he
queries the Active Directory about the user and finds that the Exchange client is:
Exchange 2010 client. Because Exchange CAS 2013 is not provided by himself
Exchange web service and because the client is an Exchange 2010 client,
Exchange CAS 2013 will Proxy the request to Exchange CAS 2010.
3. Exchange 2010 client accepts the request, generate the required information
and send it back to the Exchange CAS 2013
4. Exchange CAS 2013 provides the required information to the Exchange 2010
client.
Note that from the Exchange 2010 client point of view the element that provides
the required information is the Exchange CAS 2013. The Exchange 2010 client is not
aware of the process that was implemented behind the scenes
In the logic layer we use the primary namespace for representing the host name
of the Exchange CAS 2013. Exchange CAS 2010 will refer this host name as the
element that can provide the required Exchange web service.
In our scenario, the Exchange web client will address the Exchange CAS 2013 using
the name: mail.o365info.com
In reality, the Exchange CAS 2013 not really provide the Exchange web service but
serve as a messenger or an Intermediary between the Exchange 2010 client and
the Exchange CAS 2010 that is generating and managing the Exchange web service.
When the Exchange CAS 2013 address the Exchange CAS 2010, Exchange CAS 2013
will use the real name of the Exchange CAS 2010. In our
scenario: EXCAS2010.o365info.com
When the Exchange CAS 2010 reply to the Exchange CAS 2013 request, he will
address the Exchange CAS 2013 server using the name: EXCAS2013.o365info.com
This is the physical layer that is used for the process of the CAS to CAS
communication (the communication between Exchange CAS 2013 and the
Exchange CAS 2010).
The Exchange 2010 clients are not aware of this infrastructure, and we can refer to
this infrastructure as a behind-the-scenes infrastructure.
Internal Exchange 2010 client will query the local Active Directory for the name of
available Autodiscover Endpoint\s and external 2010 client will query DNS server
for the public IP address of the host: autodiscover.o365info.com
The Autodiscover information that is sent to the external and internal Exchange
2010 clients, will include the URL address of the Exchange web services such as:
https://mail.o365info.com/EWS/Exchange.asmx
When the Exchange 2010 client (external or internal) needs to get a specific web
service, the Exchange 2010 client will use the URL that was provided in the
Autodiscover information.
The URL address includes the host name: mail.o365info.com
When the Exchange 2007 client (external or internal) needs to get a specific web
service, the Exchange 2007 client will use the URL that was provided in the
Autodiscover information.
The URL address includes the host name: legacy.mail.o365info.com
When the external Exchange 2007 client looks for the host
name: legacy.mail.o365info.com, the name will be resolved to the public IP
address of the Public facing Exchange 2007 CAS server.
Note that the Exchange CAS 2007 in addition to the need for implementing public
available for the Exchange 2007 scenario is special because in this environment,
we will need to implement a configuration of two Public facing Exchange CAS
servers and publish the legacy namespace of the Exchange CAS 2007.
When the internal Exchange 2010 client looks for the host
name: legacy.mail.o365info.com, the name will be resolved to the private IP
address of the Exchange 2007 CAS.