From: Niels Erik G. Nielsen Date: Mon, 25 Mar 2013 14:16:33 +0000 (-0400) Subject: Init doc test page refresh X-Git-Tag: v0.0.7~196 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=bed9ccb2aedfeef98f9041d45407ead70cfc407d;p=mkjsf-moved-to-github.git Init doc test page refresh --- diff --git a/src/main/java/com/indexdata/pz2utils4jsf/pazpar2/sp/ServiceProxySession.java b/src/main/java/com/indexdata/pz2utils4jsf/pazpar2/sp/ServiceProxySession.java index 27d7908..e6c2a45 100644 --- a/src/main/java/com/indexdata/pz2utils4jsf/pazpar2/sp/ServiceProxySession.java +++ b/src/main/java/com/indexdata/pz2utils4jsf/pazpar2/sp/ServiceProxySession.java @@ -50,6 +50,7 @@ public class ServiceProxySession extends Pz2Session implements ServiceProxyInter String initDocPath = client().getInitDocPaths()[0]; logger.info("Paths: " + client().getInitDocPaths()); logger.info("Path: " + initDocPath); + this.resetDataObjects(); byte[] response = client().postInitDoc(initDocPath + getInitFileName()); initDocResponse = new String(response,"UTF-8"); return initDocResponse;