exchangefreaks.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Communication with Exchange Server via SOAP and PHP

 
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange Development
Author Message
mario



Joined: 23 Jan 2008
Posts: 3

PostPosted: Wed Jan 23, 2008 2:41 pm    Post subject: Communication with Exchange Server via SOAP and PHP Reply with quote

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

Archived from group: microsoft>public>exchange>development
Back to top
View user's profile Send private message
Glen Scales [MVP]



Joined: 05 Aug 2007
Posts: 92

PostPosted: Thu Jan 24, 2008 3:57 pm    Post subject: Re: Communication with Exchange Server via SOAP and PHP Reply with quote

Exchange Web Services was introduced with Exchange 2007 this will allow you
to access and comunicate with the Store using SOAP messages. The Exchange
2007 SDK has documentation and examples of the formats you need to use to
make this work. If your using a version Exchange other then Exchange 2007
SOAP wont work you'll need to look into something like WebDAV.

(as for PHP samples for 2007 can't say i've seen any)

Cheers
Glen

"mario" wrote in message @e4g2000hsg.googlegroups.com...
> 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
Back to top
View user's profile Send private message
mario



Joined: 23 Jan 2008
Posts: 3

PostPosted: Thu Jan 24, 2008 4:15 am    Post subject: Re: Communication with Exchange Server via SOAP and PHP Reply with quote

Thank you for your reply. Are you really sure that there is no way to
do it without WebDAV in Exchange Server 2003 (cause this is the
version I have to use)? It is bad for me. My search for the solution
goes on...

On 24 Led, 00:57, "Glen Scales [MVP]"
wrote:
> Exchange Web Services was introduced with Exchange 2007 this will allow you
> to access and comunicate with the Store using SOAP messages. The Exchange
> 2007 SDK has documentation and examples of the formats you need to use to
> make this work. If your using a version Exchange other then Exchange 2007
> SOAP wont work you'll need to look into something like WebDAV.
>
> (as for PHP samples for 2007 can't say i've seen any)
>
> Cheers
> Glen
>
> "mario" wrote in message
>
> @e4g2000hsg.googlegroups.com...
>
> > 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
Back to top
View user's profile Send private message
Henning Krause [MVP - Exc



Joined: 05 Aug 2007
Posts: 142

PostPosted: Thu Jan 24, 2008 1:43 pm    Post subject: Re: Communication with Exchange Server via SOAP and PHP Reply with quote

Hi,

Glen's right. Exchange 2003 offers only WebDAV...

Kind regards,
Henning Krause

"mario" wrote in message @k2g2000hse.googlegroups.com...
> Thank you for your reply. Are you really sure that there is no way to
> do it without WebDAV in Exchange Server 2003 (cause this is the
> version I have to use)? It is bad for me. My search for the solution
> goes on...
>
> On 24 Led, 00:57, "Glen Scales [MVP]"
> wrote:
>> Exchange Web Services was introduced with Exchange 2007 this will allow
>> you
>> to access and comunicate with the Store using SOAP messages. The Exchange
>> 2007 SDK has documentation and examples of the formats you need to use to
>> make this work. If your using a version Exchange other then Exchange 2007
>> SOAP wont work you'll need to look into something like WebDAV.
>>
>> (as for PHP samples for 2007 can't say i've seen any)
>>
>> Cheers
>> Glen
>>
>> "mario" wrote in message
>>
>> @e4g2000hsg.googlegroups.com...
>>
>> > 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
Back to top
View user's profile Send private message
mario



Joined: 23 Jan 2008
Posts: 3

PostPosted: Thu Jan 24, 2008 6:00 am    Post subject: Re: Communication with Exchange Server via SOAP and PHP Reply with quote

OK, I found out that there is possibility to use Exchange 2007. But I
am still unsuccessful in building PHP SOAP request. The connection to
server is established but I'm unable for example to create calendar
item because of I cannot set DistinguishedFolderId to 'calendar' (I
set it in PHP code but in request it isn't set) although I'm able to
set FolderId in the same element SavedItemFolderId. In documentation
(MSDN Library) I found example of XML without FolderId (it has only
DistinguishedFolderId) but when I tried it I got an error
ErrorSchemaValidation (The required attribute 'Id' is missing) as
response. I have no idea about solution. But maybe these problems
should be solved in other place, not in exchange group.

On 24 Led, 08:43, "Henning Krause [MVP - Exchange]"
wrote:
> Hi,
>
> Glen's right. Exchange 2003 offers only WebDAV...
>
> Kind regards,
> Henning Krause
>
> "mario" wrote in message
>
> @k2g2000hse.googlegroups.com...
>
> > Thank you for your reply. Are you really sure that there is no way to
> > do it without WebDAV in Exchange Server 2003 (cause this is the
> > version I have to use)? It is bad for me. My search for the solution
> > goes on...
>
> > On 24 Led, 00:57, "Glen Scales [MVP]"
> > wrote:
> >> Exchange Web Services was introduced with Exchange 2007 this will allow
> >> you
> >> to access and comunicate with the Store using SOAP messages. The Exchange
> >> 2007 SDK has documentation and examples of the formats you need to use to
> >> make this work. If your using a version Exchange other then Exchange 2007
> >> SOAP wont work you'll need to look into something like WebDAV.
>
> >> (as for PHP samples for 2007 can't say i've seen any)
>
> >> Cheers
> >> Glen
>
> >> "mario" wrote in message
>
> >>@e4g2000hsg.googlegroups.com...
>
> >> > 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

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
WebDav FBA SOAP and 440 Login timeout Information Only - Maybe this tidbit is useful to someone..... I am the IT manager for a small company with 25 employees. I have SBS 2003. Problem: Need to create a web service to get a public calendar into an XML document for publishing to the web. Not

Get Exchange Server Status Hi All, We have a requirement where a windows service needs to be written to poll the exchange server and look for the status of it. Exchange Server Version 2000. We tried using MAPI by passing the exchange server name. But it returne

Error connecting to exchange server 2003 from .net Hi Guys, I am trying to access the inbox on Exchange Server 2003 by writting a following code in Visual Studio 2005 on windows vista business edition. oCn = new oRs = new ADODB.Fields

event registrations in Exchange Server 2007 Hi everybody. I have 2 Exchange 2007 servers working, but when I use RegEvent.vbs to enumerate the event registrations for mailbox folders distinct to inbox (contacts, calendar, tasks), I receive the following error in one of them: "Error Executing Query

Exchange server - Incremental backup using Volume Shadow Cop Hi Folks, I am doing activity of Exchange using Volume Shadow Copy Services. I am done with full Now I want to take incremental backup. It requires backup-stamp. I am trying get it using which
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group