{"id":18427123,"url":"https://github.com/nowisesys/uup-ews","last_synced_at":"2025-04-13T19:38:44.966Z","repository":{"id":57028821,"uuid":"167263224","full_name":"nowisesys/uup-ews","owner":"nowisesys","description":"Microsoft Exchange Web Service (EWS) Library","archived":false,"fork":false,"pushed_at":"2019-10-15T02:58:50.000Z","size":248,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T08:27:33.169Z","etag":null,"topics":["ews","exchange","exchange-web-services"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nowisesys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-23T22:21:22.000Z","updated_at":"2019-10-15T02:58:52.000Z","dependencies_parsed_at":"2022-08-23T16:20:41.055Z","dependency_job_id":null,"html_url":"https://github.com/nowisesys/uup-ews","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowisesys%2Fuup-ews","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowisesys%2Fuup-ews/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowisesys%2Fuup-ews/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nowisesys%2Fuup-ews/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nowisesys","download_url":"https://codeload.github.com/nowisesys/uup-ews/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248769398,"owners_count":21158810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ews","exchange","exchange-web-services"],"created_at":"2024-11-06T05:09:43.660Z","updated_at":"2025-04-13T19:38:44.941Z","avatar_url":"https://github.com/nowisesys.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## UUP-EWS - Microsoft Exchange Web Service (EWS) Library\n\nSOAP client library for communication with the EWS. Most code is auto-generated\nfrom the WSDL/XSD downloaded from the Excahnge server. \n\nThis project is not really maintained (missing usecase) and has only been tested\nagains Exchange 2013, but made available in hope of being useful for someone!\n\n### Notice: \n\nThe WSDL and XSD-files bundled in config directory might need to be replaced to \nmatch the exchange server running in your organization. When updating WSDL, remember \nto also re-generate the PHP classes in source/UUP/Exchange/Types\n\n### Update WSDL/XSD files:\n\nDownload service, message and types definitions from the exchange server by running:\n\n```bash\nfor f in services.wsdl messages.xsd types.xsd; do \\\n  curl -v --ntlm --user user@example.com \\\n      https://server.example.com/ews/$f \u003e config/$f\ndone\n```\n\nAppend service definition at end of config/services.wsdl. Replace server.example.com\nwith the actual exchange server to provide default host:\n\n```xml\n\u003cwsdl:service name=\"ExchangeServices\"\u003e\n  \u003cwsdl:port name=\"ExchangeServicePort\" binding=\"tns:ExchangeServiceBinding\"\u003e\n    \u003csoap:address location=\"https://server.example.com/ews/exchange.asmx\" /\u003e\n  \u003c/wsdl:port\u003e\n\u003c/wsdl:service\u003e \n```\n\n### Update PHP classes:\n\n1. Use the bundled script to generate PHP classes from WSDL. Requires suggested \n   composer package wsdl2phpgenerator to be installed first:\n\n```bash\ncomposer require wsdl2phpgenerator/wsdl2phpgenerator\nphp bin/generate.php\n```\n\n2. Download the CLI version of wsdl2phpgenerator, then generate the PHP classes\n   from the WSDL file in the config directory:\n\n```bash\nphp ~/wsdl2phpgenerator.phar -i config/services.wsdl \\\n    -o source/UUP/Exchange/Types -n \"UUP\\\\Exchange\\\\Types\" \\\n    --noIncludes --constructorNull --createAccessors\n```\n\nSee documentation of wsdl2phpgenerator for more information:\n\n* https://github.com/wsdl2phpgenerator/wsdl2phpgenerator\n* https://github.com/wsdl2phpgenerator/wsdl2phpgenerator-cli\n\n### Test:\n\nA simple PHP script for testing connection and basic CRUD operations for calendar\nevents can be found in the bin directory:\n\n```bash\nphp bin/client.php --user=user@example.com --pass=secret \\\n                   --host=exchange.example.com \\\n                   --find --start=\"2015-11-25\" --end=\"2015-12-01\"\n```\n\n```bash\nphp bin/client.php --user=user@example.com --pass=secret \\\n                   --host=exchange.example.com \\\n                   --add --start=\"2015-11-25\" --end=\"2015-12-01\" \\\n                   --title=\"TEST\" --body=\"Some text...\"\n```\n\n```bash\nphp bin/client.php --user=user@example.com --pass=secret \\\n                   --host=exchange.example.com \\\n                   --delete --id=\"AABCurZhAAA=\"\n```\n\n### Reference:\n\nHow to: [Create appointments and meetings by using EWS in Exchange 2013](https://msdn.microsoft.com/EN-US/library/office/dn495611%28v=exchg.150%29.aspx)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnowisesys%2Fuup-ews","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnowisesys%2Fuup-ews","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnowisesys%2Fuup-ews/lists"}