Results 1 to 3 of 3

Thread: Cancel And Modify Appointments SOAP Question

  1. #1
    Join Date
    Jan 2008
    Location
    Nashville, TN
    Posts
    2
    Rep Power
    7

    Exclamation Cancel And Modify Appointments SOAP Question

    Hi,
    I am a developer using SOAP and VB.NET to communicate with Zimbra (4.5 I think).
    I am attempting to cancel and modify appointments and am getting the
    following error returned:
    The remote server returned an error: (500) Internal Server Error.

    Here is a sample of the cancel request that is getting sent following the
    auth request:

    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <soap:Header>
    <context xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:zimbra">
    <authToken>AUTH_TOKEN_RETURNED</authToken>
    <sessionId>###</sessionId>
    </context>
    </soap:Header>
    <soap:Body>
    <CancelAppointmentRequest
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" id="###" comp="###-###" xmlns="urn:zimbraMail">
    <m>
    <e t="o" p="Personal Name" a="myuser@mydomain.com" d="Friendly Name" />
    <su>Canceling Appointment</su>
    <mp ct="text/plain">
    <content>Canceling This Appointment</content>
    </mp>
    </m>
    </CancelAppointmentRequest>
    </soap:Body>
    </soap:Envelope>

    Here is the Modify Request:

    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <soap:Header>
    <context xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:zimbra">
    <authToken>AUTH_TOKEN_RETURNED</authToken>
    <sessionId>###</sessionId>
    </context>
    </soap:Header>
    <soap:Body>
    <ModifyAppointmentRequest
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" id="###" comp="###-###"
    xmlns="urn:zimbraMail">
    <m l="10">
    <inv>
    <tz id="Central Standard Time" stdoff="-300" />
    <comp status="TENT" loc="Changed Hospital Name" fb="O" fba="B"
    name="Procedure Name">
    <s d="00010101T060000Z" />
    <e d="00010101T060000Z" />
    <desc>Something goes here</desc>
    <or a="user@mydomain.com" d="Friendly Name"
    sentBy="user@mydomain.com" lang="en-US" />
    <at a="myuser@mydomain.com" d="Friendly Name"
    sentBy="user@mydomain.com" lang="en-US" role="NON" ptst="NE" />
    </comp>
    </inv>
    <mp ct="multipart/alternative" />
    </m>
    </ModifyAppointmentRequest>
    </soap:Body>
    </soap:Envelope>

    My CreateAppointmentRequest is working wonderfully.
    Is there something I am missing or have incorrect?

  2. #2
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default

    Is there an error in the Zimbra server's mailbox.log when you try these SOAP requests?
    Bugzilla - Wiki - Downloads - Before posting... Search!

  3. #3
    Join Date
    Jan 2008
    Location
    Nashville, TN
    Posts
    2
    Rep Power
    7

    Default Re: Cancel And Modify Appointments SOAP Question

    I do not know, I did not set up the server.
    I will try to find out.
    Thank you
    Noleman

Posting Permissions

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