Code Monkey home page Code Monkey logo

packageews365's Introduction

Scrutinizer Code Quality Latest Stable Version StyleCI Total Downloads SensioLabsInsight

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 [email protected].

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 [email protected].

packageews365's People

Contributors

mikaelcom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

packageews365's Issues

Is this production-ready?

This project looks quite interesting, and takes a clever approach. I'm currently using php-ews, but it's been in a state of disarray and massive forking lately, and the maintainer doesn't seem interested in keeping it up-to-date.

Is this project production-ready? Does it implement 100% of the EWS API? Is it only meant for certain versions of Exchange? Are there any "gotchas" to keep in mind before using it?

Thanks!

do you know how to download others' manifest files?

Hi there,

Thanks for the great project. This is Yiyang, from Okta. For some reasons, I am developing a web app to install/upload office add-ons, do you know how to download or fetch the manifests files. I tried the EWS operation called getappmanifests (MSDN) on a user with many add-ons installed, but I could get Salesforce, Bing Maps and other 3 default apps' manifests. I can't get other great projects like Zendesk, Uber, Evernote and etc. Do you know the reasons, and do you know a site where I could download their manifests? Thanks very much.

Yiyang

Mind if I use the wsdl files?

Hi

I'm looking to update my library to the latest schemas, but can't seem to find out how to grab them from Office365, and don't have my own 2013 server. Can I use the wsdl files that you have?

Thanks,
Gareth

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.