(PHP / SOAP / Exchange )Talking SOAP with Exchange

Discussion in 'HOWTO-Related Questions' started by Mars90, Jul 30, 2009.

  1. Mars90

    Mars90 New Member

    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:
    $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.
     
  2. JimmyJam

    JimmyJam New Member

    I believe that what you are trying to accomplish would be done with the following:
    PHP:
    $FindItem->Restriction->IsEqualTo->FieldURI->FieldURI="calendar:IsCancelled";
    $FindItem->Restriction->IsEqualTo->FieldURIOrConstant->Value=1;
    However, when I do this I get the following Exception:
    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.:D
     
  3. JimmyJam

    JimmyJam New Member

  4. feuxx

    feuxx New Member

    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
     

Share This Page