LibrePlan Forum
web-service based import does not work - Printable Version

+- LibrePlan Forum (http://ask.libreplan.org)
+-- Forum: My Category (http://ask.libreplan.org/forumdisplay.php?fid=1)
+--- Forum: Questions (http://ask.libreplan.org/forumdisplay.php?fid=2)
+--- Thread: web-service based import does not work (/showthread.php?tid=10)



web-service based import does not work - duoxilian - 03-26-2016

The web service import does not seem to work, at least not using the provided examples. I enabled the wswriter and wsreader users, of course.

When I, e.g., enter (in scripts/rest-clients directory)
     ./import-resources.sh resource-sample.xml
I get an exception org.xml.sax.SAXParseException; the result is shown below.

I tried a number of examples, all with similar results.

I tried this also against the demo installation at http://rest.ws.libreplan.org, with the same results:

<internal-error xmlns="http://rest.ws.libreplan.org"><stack-trace>javax.ws.rs.WebApplicationException at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:125) at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:65) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
(remainder omitted)