You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.
I'm trying to make use of this api from within a Lucee application but making slow progress.
I have...
<cfset
userName = "abcde"><cfset
password = "12345"><cfset
domain = "xyz"><cfset
serverAddress = "https://ourserver/EWS/Exchange.asmx"><cfset
javaPath = "D:\pathToJarFiles"><cfset
exchangeVersion = createObject("java","microsoft.exchange.webservices.data.core.enumeration.misc.ExchangeVersion",javaPath).Exchange2010_SP2><cfset
exchangeService = createObject("java","microsoft.exchange.webservices.data.core.ExchangeService",javaPath).init(exchangeVersion)><cfset
webCredentials = createObject("java","microsoft.exchange.webservices.data.credential.WebCredentials",javaPath).init(userName,password,domain)><cfset
exchangeService.setCredentials(webCredentials)><cfset
uri = createObject("java","java.net.URI",javaPath)><cfset
serverUri = uri.create(serverAddress)><cfset
exchangeService.setUrl(serverUri)><cfset
wellKnownFolderName = createObject("java","microsoft.exchange.webservices.data.core.enumeration.property.WellKnownFolderName",javaPath)><cfset
folderClass = createObject("java","microsoft.exchange.webservices.data.core.service.folder.Folder",javaPath).init(exchangeService)><cfset
inbox = folderClass.bind(exchangeService,wellKnownFolderName.Inbox)>But at the final point, of setting a variable to the inbox, I'm getting an error of 'javax/xml/ws/http/HTTPException' - any ideas?
The text was updated successfully, but these errors were encountered: