Package generated from /var/www/wsdl/services.updated.wsdl using wsdltophp/packagegenerator
The complete list of operations is available at the Office Dev Center.
- Generating again the package
- How to use the generated package?
- Need support or having a question?
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.
$ 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
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.
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 firstname.lastname@example.org.
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
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**" />.
Sample scripts are available under the samples folder:
We can help you understand how to use it and how to customize it. Feel free to contact us at email@example.com.