Init doc test page refresh
authorNiels Erik G. Nielsen <nielserik@indexdata.com>
Mon, 25 Mar 2013 14:16:33 +0000 (10:16 -0400)
committerNiels Erik G. Nielsen <nielserik@indexdata.com>
Mon, 25 Mar 2013 14:16:33 +0000 (10:16 -0400)
src/main/java/com/indexdata/pz2utils4jsf/pazpar2/sp/ServiceProxySession.java

index 27d7908..e6c2a45 100644 (file)
@@ -50,6 +50,7 @@ public class ServiceProxySession extends Pz2Session implements ServiceProxyInter
     String initDocPath = client().getInitDocPaths()[0];\r
     logger.info("Paths: " + client().getInitDocPaths());\r
     logger.info("Path: " + initDocPath);\r
+    this.resetDataObjects();\r
     byte[] response = client().postInitDoc(initDocPath + getInitFileName());\r
     initDocResponse = new String(response,"UTF-8");\r
     return initDocResponse;\r