Results 1 to 2 of 2

Thread: Can not run sample soap testing file —Tester.java

  1. #1
    Join Date
    Apr 2011
    Posts
    15
    Rep Power
    4

    Default Can not run sample soap testing file —Tester.java

    Everything seems ok, both the web interface and the Zimbra Desktop work well.

    But I didn't successfully use java client to access the server via soap. I download this file:
    http://zimbra.svn.sourceforge.net/vi...a?revision=576

    and run it in my eclipse with the following dependencies which are copied from the zimbra server's installation directory:
    zimbra-native.jar
    zimbracommon.jar
    zimbrasoap.jar
    zimbrastore.jar

    However, I will always get the following error:

    connecting to http://server/service/soap/ as admin with password 123456
    com.zimbra.common.soap.SoapFaultException: unknown document: PingRequest
    ExceptionId:com.zimbra.common.service.ServiceExcep tion: unknown document: PingRequest
    ExceptionId:btpool0-0://server/service/soap/PingRequest:1303635890711:7c57c89c6bf314e2
    Code:service.UNKNOWN_DOCUMENT
    at com.zimbra.common.service.ServiceException.UNKNOWN _DOCUMENT(ServiceException.java:262)
    at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEng ine.java:343)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:287)
    at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.jav a:158)
    at com.zimbra.soap.SoapServlet.doWork(SoapServlet.jav a:294)
    at com.zimbra.soap.SoapServlet.doPost(SoapServlet.jav a:215)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:725)
    at com.zimbra.cs.servlet.ZimbraServlet.service(Zimbra Servlet.java:208)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:814)
    at org.mortbay.jetty.servlet.ServletHolder.handle(Ser vletHolder.java:511)
    at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1166)
    at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(Set HeaderFilter.java:79)
    at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1157)
    at org.mortbay.servlet.UserAgentFilter.doFilter(UserA gentFilter.java:81)
    at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter .java:155)
    at org.mortbay.jetty.servlet.ServletHandler$CachedCha in.doFilter(ServletHandler.java:1157)
    at org.mortbay.jetty.servlet.ServletHandler.handle(Se rvletHandler.java:388)
    at org.mortbay.jetty.security.SecurityHandler.handle( SecurityHandler.java:218)
    at org.mortbay.jetty.servlet.SessionHandler.handle(Se ssionHandler.java:182)
    at org.mortbay.jetty.handler.ContextHandler.handle(Co ntextHandler.java:765)
    at org.mortbay.jetty.webapp.WebAppContext.handle(WebA ppContext.java:422)
    at org.mortbay.jetty.handler.ContextHandlerCollection .handle(ContextHandlerCollection.java:230)
    at org.mortbay.jetty.handler.HandlerCollection.handle (HandlerCollection.java:114)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
    at org.mortbay.jetty.handler.rewrite.RewriteHandler.h andle(RewriteHandler.java:230)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
    at org.mortbay.jetty.handler.DebugHandler.handle(Debu gHandler.java:77)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(Ha ndlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:326)
    at org.mortbay.jetty.HttpConnection.handleRequest(Htt pConnection.java:543)
    at org.mortbay.jetty.HttpConnection$RequestHandler.co ntent(HttpConnection.java:946)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser. java:756)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpPa rser.java:218)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnec tion.java:405)
    at org.mortbay.io.nio.SelectChannelEndPoint.run(Selec tChannelEndPoint.java:410)
    at org.mortbay.thread.BoundedThreadPool$PoolThread.ru n(BoundedThreadPool.java:451)

    Please help.

  2. #2
    Join Date
    Apr 2011
    Posts
    15
    Rep Power
    4

    Default

    I think the Java file is correct. But how to solve the unknown-document issue?

Similar Threads

  1. XSD/WSDL Files for the SOAP Server?
    By photoadrian in forum Developers
    Replies: 5
    Last Post: 12-23-2012, 01:32 AM
  2. Attach a file via SOAP API
    By mannes in forum Developers
    Replies: 2
    Last Post: 10-20-2009, 01:31 PM
  3. Jar For Soap Client
    By wcameron in forum Developers
    Replies: 19
    Last Post: 06-03-2009, 02:04 PM
  4. [SOLVED] Attached wav file causes SOAP Fault
    By dstoliker in forum Administrators
    Replies: 5
    Last Post: 12-04-2007, 08:08 AM
  5. Sample SOAP provisioning Script
    By netjunkie in forum Developers
    Replies: 4
    Last Post: 03-29-2007, 11:11 AM

Posting Permissions

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