Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-19-2007, 03:13 PM
Special Member
 
Posts: 151
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>
Reply With Quote
  #2 (permalink)  
Old 09-20-2007, 11:58 AM
Zimbra Employee
 
Posts: 1,434
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!
Reply With Quote
  #3 (permalink)  
Old 09-20-2007, 02:24 PM
Special Member
 
Posts: 151
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?

ical post item then retreive
Reply With Quote
  #4 (permalink)  
Old 09-21-2007, 09:40 AM
Zimbra Employee
 
Posts: 1,434
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!
Reply With Quote
  #5 (permalink)  
Old 09-21-2007, 09:46 AM
Special Member
 
Posts: 151
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?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.