wsdltophp/package-ews365
Composer 安装命令:
composer require wsdltophp/package-ews365
包简介
Package generated from /var/www/wsdl/services.updated.wsdl using wsdltophp/packagegenerator
README 文档
README
PackageEws365
This package has been generated from the Office 365 Exchange Web Services WSDL using the PackageGenerator project.
The complete list of operations is available at the Office Dev Center.
Summary
Generating again the package
You can generate again the package's sources using the generate.sh script:
$ git clone https://github.com/WsdlToPhp/PackageEws365.git package-ews365 $ cd package-ews365 $ docker-compose up -d $ docker exec -it package_ews365 generate.sh
To learn how to customize the generated package, please read the PackageGenerator's README.
How to use the generated package?
Install the project
$ git clone https://github.com/WsdlToPhp/PackageEws365.git package-ews365 $ cd package-ews365 $ docker exec -it package_ews365 php-7.3 /usr/bin/composer update
Learn from the tutorial
Start looking into the auto-generated tutorial.php file. This file contains the starting code to use this package. In addition it contains all the operations provided by the Exchange Web Services and the way to call them.
Determine your Office 365 endpoint action location
Determining the Office 365 endpoint action location can be tricky so below is indicated 2 ways to do it. This location must be defined in the setLocation call into the sample files.
The default location has been defined so it might work fine with you too. If not, you should try determining it. If you don't understand, don't hesitate to contact me at contact@wsdltophp.com.
Manually from the endpoint itself
You should be able to get the endpoint action location from the services.wsdl by opening your browser and browsing to outlook.office365.com/EWS/Exchange.asmx.
You must enter your Office 365 credentials then it should display a page where it indicates something such as svcutil.exe https://**.outlook.com/EWS/Services.wsdl.
This is in the https://**.outlook.com/EWS/Services.wsdl that you can find at the end the endpoint action location such as <soap:address location="**https://outlook.office365.com/EWS/Exchange.asmx**" />.
From your Office 365 account
Following this Tech Blog article, I simply used the endpoint location action indicated in the article as https://pod51036.outlook.com/ews/services.wsdl and it worked :).
Start from the samples
Sample scripts are available under the samples folder:
Need support or having a question?
We can help you understand how to use it and how to customize it. Feel free to contact us at contact@wsdltophp.com.
wsdltophp/package-ews365 适用场景与选型建议
wsdltophp/package-ews365 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4.62k 次下载、GitHub Stars 达 15, 最近一次更新时间为 2015 年 09 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 wsdltophp/package-ews365 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 wsdltophp/package-ews365 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 4.62k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 16
- 点击次数: 24
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-09-04