According to the release notes, if you do not specify the details Exchange 2007 is the default.
There are two ways to specify what version of exchange to use.
1. In the CFApplication tag in your application.cfc you can specify exchangeServerVersion="2010"
2. At the tag level in any of the cfexchange tags you can add serverVersion="2010"
Try that and let us know if it works!
I had already specified the server version. This is the code I am using for my test:
<cfexchangeConnection connection = "monitoringBackups" server = "fqdn.server.net" serverVersion = "2010" protocol = "https" action = "open" username = "username" password = "password" /> <cfexchangeMail connection ="monitoringBackups" action = "get" folder = "Inbox" name = "allMessages" /> <cfexchangeConnection connection = "monitoringBackups" action = "close" /> <cfoutput> <cfdump var="#allMessages#"> </cfoutput>
This is the error I receive:
Could not connect to the exchange server with the credentials. Exchange Server doesn't support the requested version.
I have verified that I can log into the OWA with the credentials used in <cfexchangeConnection>, at the fqdn address, and using https.
Could you try accessing the EWS wsdl in the browser?
Provide the username and password in the pop up box and share me the wsdl. I will check it.
I can't provide you with a username and password, but I believe I can share the <wsdl>
I've saved a copy of it here.
Please let me know if that was a poor decision to post. I didn't see anything sensitive in there.
Thank you all for your time and assistance.
I dont need the username/password.
This is the EWS WSDL. This will be available with all the exchange servers. There are no sensitive informations in it. This contains the details about the operations that you can do on exchange server using EWS. These details are already publically available in MSDN library.
Also if you could get me the exception stack traces from the exception.log, it would be more helpful.