Communication with Exchange Server via SOAP and PHP

Communication with Exchange Server via SOAP and PHP

am 23.01.2008 18:41:05 von Mario

Hello,
do anybody have some experience with communicating with Exchange
Server via SOAP and PHP please? It isn't problem for me to connect
SOAP client to server but I don't know how to get for example root
folder ID when I'd like to list the content of this folder, or how to
set ID of item that I'm just creating (how to make it unique in
Exchange Store?). I'm trying to find some examples or solutions for me
on the web (forums, discussions, etc.) but with no success.
So if you have some advice for me I'll be happy...
Thanks

Re: Communication with Exchange Server via SOAP and PHP

am 24.01.2008 10:09:30 von Rob

On Jan 23, 5:41=A0pm, mario wrote:
> Hello,
> do anybody have some experience with communicating with Exchange
> Server via SOAP and PHP please? It isn't problem for me to connect
> SOAP client to server but I don't know how to get for example root
> folder ID when I'd like to list the content of this folder, or how to
> set ID of item that I'm just creating (how to make it unique in
> Exchange Store?). I'm trying to find some examples or solutions for me
> on the web (forums, discussions, etc.) but with no success.
> So if you have some advice for me I'll be happy...
> Thanks

Mario - what are you trying to do with Exchange?

If you're looking to manipulate email messages, then you don't need to
use SOAP, just an IMAP client.

I have an application that logs onto Exchange, downloads unread
emails, and then extracts the content out of them into an SQL
database. It uses phpclasses.org IMAP and MIME classes to do the bulk
of the work.

If this is any good to you let me know and I'll send over the code.

Rob.

Re: Communication with Exchange Server via SOAP and PHP

am 24.01.2008 10:18:34 von Mario

Thanks for your reaction, I am trying to communicate with calendar (to
create/delete/read meetings, to get/set availability of user, ...) so
the only way to do it is via SOAP I think (I haven't found any other
solution so far).

Mario

Re: Communication with Exchange Server via SOAP and PHP

am 24.01.2008 15:00:29 von Rob

On Jan 24, 9:18=A0am, mario wrote:
> Thanks for your reaction, I am trying to communicate with calendar (to
> create/delete/read meetings, to get/set availability of user, ...) so
> the only way to do it is via SOAP I think (I haven't found any other
> solution so far).
>
> Mario

The IMAP class will allow you to do all of that, as it allows you to
select the folder (inbox, calendar, etc) you wish to use, and then
issue commands on that folder.

As long as Exchange supports full IMAP commands for all of it's folder
types, you should be able to do it without SOAP.

Rob.

Re: Communication with Exchange Server via SOAP and PHP

am 25.01.2008 15:43:52 von Mario

On 24 Led, 15:00, Rob wrote:

> The IMAP class will allow you to do all of that, as it allows you to
> select the folder (inbox, calendar, etc) you wish to use, and then
> issue commands on that folder.
>
> As long as Exchange supports full IMAP commands for all of it's folder
> types, you should be able to do it without SOAP.
>
> Rob.


Thank you very much. Today I have no time to try your solution or
search for how it works but if you're right it's good news for me.
Could you write exactly which classes from phpclass.org you wrote
about or post some samples of your code?

Re: Communication with Exchange Server via SOAP and PHP

am 28.01.2008 10:34:11 von Rob

On Jan 25, 2:43=A0pm, mario wrote:
> On 24 Led, 15:00, Rob wrote:
>
> > The IMAP class will allow you to do all of that, as it allows you to
> > select the folder (inbox, calendar, etc) you wish to use, and then
> > issue commands on that folder.
>
> > As long as Exchange supports full IMAP commands for all of it's folder
> > types, you should be able to do it without SOAP.
>
> > Rob.
>
> Thank you very much. Today I have no time to try your solution or
> search for how it works but if you're right it's good news for me.
> Could you write exactly which classes from phpclass.org you wrote
> about or post some samples of your code?

Email me at ratkinson at tbs hypen ltd dot co dot uk, and I'll send
something over.

Rob.