This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Subject: Java Web Service Consumer Keeps Caching Results Problem
Feedback Type: Problem
Product Area: Notes Client
Technical Area: Application Development
Platform: Windows
Release: 8.5.2
Reproducible: -Reproducibility-
Hi guys,
I create a java web service consumer.
Web Service Consumers -> New Web Service Consumer... -> Type: Java
Then, created a Java Agent Calling This web service.
Agents -> New Agent... -> Type: Java
Then imported the Java Web Service Consumer.
Import -> Web Service Consumer
In the java agent I call the web service method like so.
LotusNotesHandlerLocator locator = new LotusNotesHandlerLocator();
LotusNotesHandlerSoap handlerSoap = locator.getLotusNotesHandlerSoap();
Calendar cal = Calendar.getInstance();
cal.setTimeInMillis(Long.parseLong(doc.getItemValueString("TimeInMilliseconds").trim()));
Sample sample = handlerSoap.getResult(cal);
// code for updating timestamp added here
Here's a sample result of the number of data retrieved from the web service.
Finished processing 3 document(s).
The web service method only returns the said documents based from the time stamp. I expect that from the next web service call it will only return 1 document. But it also includes the documents previously retrieved by the java agent.
Here's a sample result of the number of data retrieved from the web service.
// should only be 1
Finished processing 4 document(s).
It works as expected in soapUI. I tried using Apache Axis2 and JAX-WS, and they work as expected.
Any reason why notes does caching of results?
Is there a way to disable caching if it exists?
Regards,
Philip
Lotus Notes 8.5.2
JVM 1.6.0
Feedback number WEBB8MR7RF created by ~Tate Desfreekonyings on 10/18/2011
Status: Open
Comments: