Results 1 to 2 of 2

Thread: SOAP with JAVA

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Posts
    17
    Rep Power
    9

    Default SOAP with JAVA

    this is my partial code

    LmcSearchRequest sReq = new LmcSearchRequest();
    sReq.setOffset("0");
    sReq.setLimit("30");
    sReq.setQuery("date:-0week");
    sReq.setTypes("appointment");
    sReq.setSession(session);
    LmcSearchResponse sResp = (LmcSearchResponse) sReq.invoke(serverURL);


    i get this error:

    com.zimbra.cs.client.soap.LmcSoapClientException: Unexpected element type appt
    at com.zimbra.cs.client.soap.LmcSearchRequest.parseRe sponse(LmcSearchRequest.java:138)
    at com.zimbra.cs.client.soap.LmcSearchRequest.parseRe sponseXML(LmcSearchRequest.java:152)
    at com.zimbra.cs.client.soap.LmcSoapRequest.invoke(Lm cSoapRequest.java:164)


    Why?

    Thanks

    Best Regards

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

    Default

    LmcSearchRequest may no longer be supported. Please use ZMailbox.java instead.
    Bugzilla - Wiki - Downloads - Before posting... Search!

Similar Threads

  1. Zimbra SOAP Access from Java
    By 3RiversTechAdmin in forum Developers
    Replies: 8
    Last Post: 09-03-2008, 07:24 AM
  2. [SOLVED] Get EMAIL details with SOAP in JAVA
    By rkmorgan in forum Developers
    Replies: 5
    Last Post: 10-11-2007, 09:05 AM
  3. How to consume zimbra SOAP API in my java application
    By Hemant Shrivastava in forum Developers
    Replies: 34
    Last Post: 12-24-2006, 12:24 AM
  4. Java 1.5 crashing on PPC Mac 10.4.8
    By bradn in forum Installation
    Replies: 1
    Last Post: 12-08-2006, 05:27 PM
  5. Replies: 0
    Last Post: 12-04-2006, 08:48 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
  •