Exchange Web Services in 2007
HI,
Can any one tell me how to check Exchange Web Service working or not in Exchange Server 2007 ?
Ruban.c
January 9th, 2013 7:47am
You can use the cmdlet Test-WebServicesConnectivity to check that.
PS. Questions about previous versions (like Exchange 2007) should be asked
here
Martina Miskovic
Free Windows Admin Tool Kit Click here and download it now
January 9th, 2013 3:59pm
Hi,
You can use a EWS Editor tool to check the EWS is working or not.
Is there any client impact due to EWS?
Regards,
Prashanna
January 10th, 2013 3:29am
Hi Prasana,
Due to this EWS issue users who all are connecting to particular CAS servers not able access there Mailbox via customized OWA. if i point to another CAS server they can able to login.
So that i want to check EWS is working fine or not...
Ruban.C
Free Windows Admin Tool Kit Click here and download it now
January 10th, 2013 8:49am
I don't think EWS is related to OWA in the way you think it is. EWS is a programming API and is so named because it allows a programmer to access mailbox data using XML formatted requests sent via HTTP ports. So, I think you just want to check whether
IIS is working or not.
What happens if you go to the default web site on the affected CAS server, instead of OWA. I.e. what is displayed if you go to
https://yourCASservername instead of
https://yourCASServername/owa ? Do you see the default IIS landing page? Or just an error message?Mobile OWA For Smartphone
www.leederbyshire.com
email a@t leederbyshire d.0.t c.0.m
January 10th, 2013 10:44am
HI Ruban,
As lee mentioned EWS is not responsible for OWA logon process.
Customized OWA, you mean to say customized forms-based authentication logon page for OWA?
Regards,
Prashanna
Free Windows Admin Tool Kit Click here and download it now
January 10th, 2013 8:33pm
Dear Prashana,
Yes, We have Customized OWA page for logon process. while accessing https://www.mail.xxxxx.in/owa user can able to logon and access their mailbox. But while accessing customized OWA page https://www.mail.xxxxx.in user mailbox not able to access
January 11th, 2013 3:52am
It sounds like you have configured the server to redirect the default web site
https://www.mail.xxxxx.in
to
https://www.mail.xxxxx.in/owa
if the customised page works when you go to https://www.mail.xxxxx.in/owa , then maybe it is the redirection that is broken, not the logon page.
So, what is displayed when you go to https://www.mail.xxxxx.in ? You say that the mailbox isn't displayed, but is there some kind of error message? Or just a blank page?
Mobile OWA For Smartphone
www.leederbyshire.com
email a@t leederbyshire d.0.t c.0.m
Free Windows Admin Tool Kit Click here and download it now
January 11th, 2013 8:56am
Well, as Martina suggested in an earlier message, you can use the Test-WebServicesConnectivity cmdlet to test your EWS:
http://technet.microsoft.com/en-us/library/aa998328(v=exchg.80).aspx
But EWS is not OWA. EWS is a programming API. Without seeing the code for your customized page, we can't tell if it even uses EWS (for example, it might use WebDAV).
If your customized page is a page that is meant to show your mailbox contents, and doesn't have anything to do with OWA, and you are sure that it uses EWS to access mailbox data, then yes - maybe your EWS isn't working. But the best way to test it is to
try Test-WebServicesConnectivity .
There is an example here:
http://www.msexchange.org/articles-tutorials/exchange-server-2007/monitoring-operations/testing-exchange-2007-powershell-part2.html
but note that instead of typing NGH\administrator, you will need to supply a domain name and username of your own, like this: YOURDOMAIN\YOURUSERNAME .Mobile OWA For Smartphone
www.leederbyshire.com
email a@t leederbyshire d.0.t c.0.m
January 16th, 2013 9:29am
Dear Lee,
nothing redirection of default web page !
IN my customer site we have two Web access page for accessing mailbox.
1) https://www.mail.xxxxx.in ( Customized Page) --> in this page user can login
only via their Emp Code no character are accepted eg : ruban.hcl@xxxx.in will not accept only 446656@xxxx.in accept
2) https://www.mail.xxxxx.in/owa
( MS Exchange Default OWA PAge) -- > both emp code & character will accept in this page..
Problem is user trying to access their mailbox via https://www.mail.xxxxx.in
customized page appear after given credential mailbox not opening !! but while access https://www.mail.xxxxx.in/owa
user able to view their mailboxes without any issue !!
My question was is there any problem in EWS ???
Free Windows Admin Tool Kit Click here and download it now
January 17th, 2013 5:42am
Dear Lee,
after running the Test-WebServicesConnectivity command on my CAS servers im getting the below same error .
can you please help me ..
January 17th, 2013 6:52am
First this:
>Due to this EWS issue users who all are connecting to particular CAS servers not able access there Mailbox via >customized OWA. if i point to another CAS server they can able to login.
If the customized OWA works with the other CAS, look at the configuration in IIS and configure the other CAS (one that does not work) the same way.
You have...
www.mail.xxxxx.in
yet you say: no redirection of default web page???
Usuually, the virtual directory is designated after "/" when their is no redirection.
There may be a way to make it work but without more details on your customization, it will be hard to say.
***
As for the Test-WebServicesConenctvity error, it does not necessarily indicate a problem with EWS but rather a problem with your certificate. See this discussion:
http://social.technet.microsoft.com/Forums/en-US/exchangesvrgenerallegacy/thread/c0623494-1faa-4817-88d9-476375d9729c
In paticular, try the command with this switch after: -TrustAnySSLCertificate
If it passes then, that should rule out any EWS configuration problem for you.
By the way, as I mention in my discussion above (link), OWA works just fine for me despite that error (though I have no customization).Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.
Free Windows Admin Tool Kit Click here and download it now
January 17th, 2013 7:10am
HI,
after i tried the command -TrustAnySSLCertificate below error occurs !!
[System.Net.webExecption]:the under lying connection was closed:An unexpected error occured on a send.inner
error [system.IO.IOexception]: unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
January 17th, 2013 7:50am
You used NGH\Administrator in the command line? That is just an example account name in the MS web page:
http://technet.microsoft.com/en-us/library/aa998328(v=exchg.80).aspx
Use your own domain and account name instead. And include the -TrustAnySSLCertificate parameter, too. Something like this (although I can't see all the parameters you already used in your attached screen shot)
Test-WebServicesConnectivity -ClientAccessServer e2k7 -MailboxCredential (Get-Credential YOURDOMAIN\YOURUSERNAME) -TrustAnySSLCertificateMobile OWA For Smartphone
www.leederbyshire.com
email a@t leederbyshire d.0.t c.0.m
Free Windows Admin Tool Kit Click here and download it now
January 18th, 2013 10:53am
Dear Lee,
i used below command for test the web service
Test-WebServicesConnectivity -ClientAccessServer e2k7 -MailboxCredential (Get-Credential xxx\username)
-TrustAnySSLCertificate.
Getting below error !!
[System.Net.webExecption]:the
under lying connection was closed:An unexpected error occured on a send.inner error [system.IO.IOexception]: unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
January 19th, 2013 2:37am
Are you running this on the CAS itself? Looking at some online sources, it looks like that error could be due to ports not being open. Or possibly a DNS problem. That error can occur for other systems than Exchange (SQL, etc.) so it's difficult to
see what, exactly, could be causing this to happen in Exchange.
Could you do me a favor? Run the ExBPA (Best Practices Analyser) in the Exchange EMC, under "Tools". If you look at the resulting options, it should be toward the top.
Does ExBPA indicate you have any problems with your configuration?Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.
Free Windows Admin Tool Kit Click here and download it now
January 19th, 2013 2:53pm
Test-OutlookWebServices
SE.Mohammed
January 20th, 2013 2:55am
Check the AutoDiscover and Dns Records (_autodiscover,_tcp,port number)
and Check if you make the certificate from CA Web and not self signed SE.Mohammed
Free Windows Admin Tool Kit Click here and download it now
January 20th, 2013 3:04am
Hi,
i used below command for test the web service on CAS server ..
Test-WebServicesConnectivity
Error :
Underlying connection was closed : An unexcepted error occured on the send,unable to read the data from transport connection. An existing connection was forcibly closed by the remote host..
But if run the same command on another site CAS Server its working fine !!
Can any one suggest to solve the this issue !!
Ruban.C
January 23rd, 2013 8:25am