Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: PHP SOAP create appointment example

  1. #11
    Join Date
    Jan 2008
    Rep Power

    Default Real Close

    Here's the code I'm using. What happens is it creates the appointment on my calendar, but doesn't on the others on the list. It also doesn't send them an email asking them to Accept the appointment. But when I delete or modify the appointment the others get an email.

    So I need it to show up on other's calendar and send them an email.

    What I'd like to do is run the debugger as Admin, but I'm not an admin. The docs give me some hints, but not enough to solve the problem.

    Thanks much for your help.


    $options = array('uri' => "urn:zimbraMail");
    $params = array(

    new SoapVar('<m d="1148883681781">
    <e t="f" a="email1" />
    <e t="t" a="email2" />
    <e t="f" a="email3"/>
    <e t="t" a="email4"/>
    <inv method="REQUEST" type="event" fb="B" transp="O" status="CONF" allDay="0" name="Test">
    <s d="20080131T020000"/>
    <e d="20080131T023000"/>
    <at a="email2" role="REQ" ptst="AC" rsvp="1"/>
    <at a="email3" role="REQ" ptst="TE" rsvp="1"/>
    <or a="email1"/>

    <mp ct="multipart/alternative"><mp ct="text/plain"><content/></mp><mp ct="text/html"><content/></mp></mp>
    <su>Test </su>
    </m>', XSD_ANYXML)

    try {
    echo "creating header<br>";
    $soapHeader = new SoapHeader(
    new SoapVar('<ns2:context><authToken>' . $authToken . '</authToken></ns2:context>', XSD_ANYXML)

    echo "trying<br>";
    $result = $soapClient->__soapCall(
    echo "executed<br>";

  2. #12
    Join Date
    Jun 2009
    Rep Power

    Default hi

    hi kinihepu,

    did you success in your aim ?
    Do you manage to create a appointement using php ?

    Shall you post a very simply example ?


  3. #13
    Join Date
    Jun 2009
    Rep Power

    Question how t odo that ?

    Quote Originally Posted by dkarp View Post
    Easiest thing to do is turn on the SOAP trace debug window and create an appointment from the AJAX client. Then use the PHP SOAP package of your choice to generate XML like that...
    how to do that ? which tool ? which software ?

    Can i do it under Win32 plateform ?

  4. #14
    Join Date
    Apr 2010
    Rep Power


    post deleted by me
    Last edited by bulletxt; 11-02-2010 at 01:47 PM.

Similar Threads

  1. [SOLVED] Simple SOAP Admin Example In PHP
    By mikes2277 in forum Developers
    Replies: 11
    Last Post: 07-23-2011, 01:00 AM
  2. PHP SOAP vs Zimbra
    By Corey Scott in forum Developers
    Replies: 14
    Last Post: 02-05-2011, 03:41 AM
  3. How to handle SOAP body response in PHP
    By ferdinant in forum Developers
    Replies: 1
    Last Post: 07-03-2007, 01:21 PM
  4. php CreateAccountRequest via SOAP
    By bookatechie in forum Developers
    Replies: 2
    Last Post: 05-02-2007, 11:28 AM
  5. PHP create context header
    By bookatechie in forum Developers
    Replies: 1
    Last Post: 05-01-2007, 08:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts