Changes for page ERGroupware
Last modified by Pascal Robert on 2012/10/08 09:15
From version 39.1
edited by Pascal Robert
on 2012/09/17 05:53
on 2012/09/17 05:53
Change comment:
There is no comment for this version
To version 32.1
edited by Pascal Robert
on 2012/09/16 18:53
on 2012/09/16 18:53
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,83 +1,34 @@ 1 -= Store attributes =1 += Actions = 2 2 3 -|= CalDAV/CardDAV |= MS Exchange |= Zimbra (SOAP) 4 -|((( 5 -* ProductID (default will be **~/~/Project Wonder/ERGroupware**) 6 -* http/https 7 -* hostname 8 -* username 9 -* password 10 -* port 11 -)))|((( 12 -* NTML domain 13 -* hostname 14 -* username 15 -* password 16 -* URL to WSDL 17 -* country+language (default will be **en-US**) 18 -* timezone (default will be **Eastern Standard Time**) 19 -* ExchangeImpersonationType (**email**) 20 -)))|((( 21 -* http/https 22 -* hostname 23 -* username 24 -* password 25 -))) 26 - 27 -= Calendar/tasks collection attributes = 28 - 29 -|= CalDAV |= MS Exchange |= Zimbra (SOAP) 30 -|((( 31 -* acl 32 -* creationDate 33 -* currentUserPrincipal 34 -* currentUserPrivilegeSet 35 -* displayName 36 -* eTag 37 -* lastModified 38 -* owner 39 -* quotaAvailableBytes 40 -* quotaUsedBytes 41 -* resourceType (must have **calendar**) 42 -* supportedPrivilegeSet 43 -* supportedReportSet 44 -* order 45 -* color 46 -* syncToken 47 -* allowedSharingModes 48 -* cTag 49 -* maxResources 50 -* sharedUrl 51 -* calendarTimezone (VTimezone) 52 -* max-attendees-per-instance 53 -* max-instances 54 -* max-resource-size 55 -* schedule-calendar-transp (opaque/transp) 56 -* supported-calendar-component-set (VEVENT/VTODO) 57 -* supported-calendar-data 58 -)))| | 59 - 60 -= Address Book collection attributes = 61 - 62 -|= CalDAV |= MS Exchange |= Zimbra (SOAP) 63 -|((( 64 -* acl 65 -* creationdate 66 -* current-user-principal 67 -* current-user-privilege-set 68 -* displayname 69 -* getetag 70 -* getlastmodified 71 -* owner 72 -* quota-available-bytes 73 -* quota-used-bytes 74 -* resourcetype (must have **addressbook**) 75 -* supported-privilege-set 76 -* supported-report-set 77 -* sync-token 78 -* allowed-sharing-modes 79 -* getctag 80 -* max-resources 81 -* max-resource-size 82 -* supported-address-data 83 -)))| | 3 +|= Action name |= CalDAV |= MS Exchange |= Zimbra (SOAP) 4 +| Connecting to the store | | ExchangeAuthenticator authenticator = new ExchangeAuthenticator("**DOMAIN 5 +\\ 6 +\\probert//aircourriel//**//", "**Migration12**".toCharArray()); 7 +\\Authenticator.setDefault(authenticator); 8 +\\ExchangeWebService service = new ExchangeWebService(new java.net.URL("[[file:/Users/probert/Documents/OACIQ/Services.wsdl.xml>>file:UsersprobertDocumentsOACIQServices.wsdl.xml*]]"), new QName("http:~/~/schemas.microsoft.com/exchange/services/2006/messages", "ExchangeWebService")); 9 +\\ExchangeServicePortType port = service.getExchangeWebPort(); 10 +\\((BindingProvider)port).getRequestContext().put(BindingProvider.USERNAME//PROPERTY, "**probert//aircourriel//**//"); 11 +\\((BindingProvider)port).getRequestContext().put(BindingProvider.PASSWORD//PROPERTY, "**Migration12**"); 12 +\\MailboxCultureType culture = new MailboxCultureType(); 13 +\\culture.setValue("en-US"); 14 +\\RequestServerVersion serverVersion = new RequestServerVersion(); 15 +\\serverVersion.setVersion(ExchangeVersionType.EXCHANGE//2010//SP//1); 16 +\\TimeZoneDefinitionType tzType = new TimeZoneDefinitionType(); 17 +\\tzType.setId("**Eastern Standard Time**"); 18 +\\TimeZoneContextType tzContext = new TimeZoneContextType(); 19 +\\tzContext.setTimeZoneDefinition(tzType); 20 +\\Holder<CreateItemResponseType> responseHolder = new Holder<CreateItemResponseType>(new CreateItemResponseType()); 21 +\\ExchangeImpersonationType impersonation = new ExchangeImpersonationType(); 22 +\\ConnectingSIDType sid = new ConnectingSIDType(); 23 +\\sid.setPrimarySmtpAddress("**probert@aircourriel.com**"); 24 +\\impersonation.setConnectingSID(sid); // 25 +| URL url = new URL("**http**", "**192.168.3.10**", **1**, "/"); 26 +\\ZMailbox.Options options = new ZMailbox.Options(); 27 +\\options.setAccount("**admin**"); 28 +\\options.setAccountBy(AccountBy.name); 29 +\\options.setPassword("**conatus**"); 30 +\\options.setUri(resolveUrl(url.getProtocol() + ":~/~/" + url.getHost(), false)); 31 +\\ZMailbox utils = ZMailbox.getMailbox(options); 32 +\\HttpState initialState = new HttpState(); 33 +\\Cookie mycookie = new Cookie(url.getHost(), "ZM//AUTH//TOKEN", utils.getAuthToken().getValue(), "/", null, false); 34 +\\initialState.addCookie(mycookie);