Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th July 2009, 09:38
Mars90 Mars90 is offline
Junior Member
 
Join Date: Jul 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy (PHP / SOAP / Exchange )Talking SOAP with Exchange

Hello!

I've got a problem with the FindItems reqest, described on the HOWTO-Page:
http://www.howtoforge.com/talking-soap-with-exchange

In my PHP-File I would like to get all calendar appointments which aren't cancelled. But I couldn't figure out how to form a working restriction.

I tried it this way:
PHP Code:
$FindItem->IsEqualTo->FieldURI->FieldURI="calendar:IsCancelled";
$FindItem->IsEqualTo->FieldURIOrConstant->Value=1
But it didn't work...

Does anybody know how to form a restriction?

(Sorry for the bad english)
Thanks for the replies.
Reply With Quote
Sponsored Links
  #2  
Old 27th August 2009, 19:38
JimmyJam JimmyJam is offline
Junior Member
 
Join Date: Aug 2009
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default

I believe that what you are trying to accomplish would be done with the following:
PHP Code:
$FindItem->Restriction->IsEqualTo->FieldURI->FieldURI="calendar:IsCancelled";
$FindItem->Restriction->IsEqualTo->FieldURIOrConstant->Value=1
However, when I do this I get the following Exception:
Quote:
The request failed schema validation: The element 'http://schemas.microsoft.com/exchange/services/2006/types:SearchExpression' is abstract or its type is abstract.
The code above should create the proper XML according to the XSD, but it appears that PHP has trouble forming the XML due to the use of abstract types within the XSD. If anybody has a solution to this I would love to hear it.
Reply With Quote
  #3  
Old 27th August 2009, 21:21
JimmyJam JimmyJam is offline
Junior Member
 
Join Date: Aug 2009
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default

I was able to solve this issue on my own. See http://stackoverflow.com/questions/1...343250#1343250 for the solution.
Reply With Quote
The Following User Says Thank You to JimmyJam For This Useful Post:
falko (28th August 2009)
  #4  
Old 12th October 2010, 12:41
feuxx feuxx is offline
Junior Member
 
Join Date: Oct 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Scan inbox

Hello,

I come to you because I have a small problem that is becoming urgent, for one of my projects at work.

I'm stuck and it becomes very urgent, I seek the way to list all emails from my inbox from a primary Exchange server and read its contents and headers ,....

I use the EWS class with a LDAP connection, I can send emails, in listing of Calendar event, to enter the Inbox (or so I think :-)).

Could you please help me,it's very urgent
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 08:20
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06
ispconfig php 5 errors itamarjp Installation/Configuration 8 25th April 2008 10:20
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18


All times are GMT +2. The time now is 09:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.