How to create appointments via soap. I am trying to migrate calendars from another mail program to zimbra. I can't find any help other than soap.txt. To figure out what attributes are needed and what they are to make a appointment I used zmmailbox getAppointmentSummaries to get an id of an appointment that I made in a test mailbox. I then took this ID and put into my soap request for an appointment which looks as far as I can tell just like the vague example in soap.txt. Unfortunately I am getting back an error in the soap response saying unknown_document. If anyone can point me in the right direction it would be much appreciated.
Here is my Soap Request and Soap Response.
-----SoapRequest at 5/22/2008 3:32:56 PM
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><context xmlns="urn:zimbraAccount"><authToken>0_7898748a576 ffa744d136ede95b06dd351a00375_69643d33363a63656638 343339332d396162332d346261302d623432662d6465626431 623535303861303b6578703d31333a31323131363634363935 3430333b747970653d363a7a696d6272613b6d61696c686f73 743d31363a3136362e37302e3135362e39333a38303b</authToken></context></soap:Header><soap:Body><GetAppointmentRequest id="258" sync="1" includeContect="1" xmlns="urn:zimbraAccount" /></soap:Body></soap:Envelope>
-----SoapResponse at 5/22/2008 3:32:57 PM
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><context xmlns="urn:zimbra"/></soap:Header><soap:Body><soap:Fault><soap:faultcode >soap:Client</soap:faultcode><soap:faultstring>unknown document: GetAppointmentRequest</soap:faultstring><soap:detail><Error xmlns="urn:zimbra"><Code>service.UNKNOWN_DOCUMENT</Code><Trace>btpool0-15:1211491897569:0f65fdbb547d570d</Trace></Error></soap:detail></soap:Fault></soap:Body></soap:Envelope>
Thanks........................... |