Results 1 to 5 of 5

Thread: GetICalRequest

  1. #1
    Join Date
    Jan 2007
    Location
    Fort Lauderdale, FL
    Posts
    151
    Rep Power
    8

    Default GetICalRequest

    How does GetICalRequest work?

    I'm getting an error, I sent in this:

    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <soap:Header>
    <context xmlns="urn:zimbra">
    <authToken>$authToken</authToken>
    <sessionId id="$sessionId">$sessionId</sessionId>
    </context>
    </soap:Header>
    <soap:Body>
    <GetICalRequest id="$uid"/>
    </soap:Body>
    </soap:Envelope>

    and got this:

    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><context xmlns="urn:zimbra"><sessionId type="admin" id="1">1</sessionId><change token="1"/></context></soap:Header><soap:Body><soap:Fault id="myid"><soap:Code><soap:Value>soap:Sender</soap:Value></soap:Code><soap:Reason><soap:Text>unknown document: GetICalRequest</soap:Text></soap:Reason><soapetail><Error xmlns="urn:zimbra"><Code>service.UNKNOWN_DOCUMENT</Code><Trace>com.zimbra.common.service.ServiceExcep tion: unknown document: GetICalRequest at com.zimbra.common.service.ServiceException.UNKNOWN _DOCUMENT(ServiceException.java:189) at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:224) at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:168) at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:90) at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:223) at javax.servlet.http.HttpServlet.service(HttpServlet .java:709) at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:162) at javax.servlet.http.HttpServlet.service(HttpServlet .java:802) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107) at org.apache.catalina.valves.AccessLogValve.invoke(A ccessLogValve.java:541) at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:667) at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) </Trace></Error></soapetail></soap:Fault></soap:Body></soap:Envelope>

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

    Default

    service.UNKNOWN_DOCUMENT means that the server isn't recognizing your SOAP method. In this case, it's because you're not specifying a namepsace. Try <GetICalRequest xmlns="urn:zimbraMail"> instead.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  3. #3
    Join Date
    Jan 2007
    Location
    Fort Lauderdale, FL
    Posts
    151
    Rep Power
    8

    Default

    dkarp, thanks for the response.

    I added in what you suggested, and now I'm getting:

    invalid request: malformed item ID:

    I pass in a UID in my original ical object, and I just want to use that same UID to pull it out, and see if the time has changed, from them dragging and dropping the appointment in zimbra. My other post is here.

    Thoughts?

    http://www.zimbra.com/forums/develop...html#post59641

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

    Default

    GetICalRequest takes a Zimbra item ID as its parameter, not the iCal UID. If you'd like to see it extended to accept an iCal UID as an alternatice, please file an enhancement request in bugzilla.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  5. #5
    Join Date
    Jan 2007
    Location
    Fort Lauderdale, FL
    Posts
    151
    Rep Power
    8

    Default

    So then my request is still out there. If I send in an ical invite for the user to zimbra. How do I then check it and pull it back out to see if it has been changed?

    The only link to it that I know of is through the UID? I will file a bug request ASAP. But meanwhile, how do I integrate this with a third party app?

    Any ideas or thoughts?

Posting Permissions

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